chore: remove .travis.yml and dependabot config, revert license notice formatting

This commit is contained in:
Aethersailor
2025-12-29 16:59:50 +08:00
parent 068595ab03
commit ea901233f9
3 changed files with 17 additions and 229 deletions

View File

@@ -1,46 +0,0 @@
version: 2
updates:
# GitHub Actions 依赖
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "02:00"
timezone: "Asia/Shanghai"
open-pull-requests-limit: 1
rebase-strategy: "auto"
labels: ["dependencies", "github-actions", "automerge"]
groups:
github-actions:
patterns: ["*"]
update-types: ["minor", "patch"]
# Docker 依赖
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
time: "03:00"
timezone: "Asia/Shanghai"
open-pull-requests-limit: 1
rebase-strategy: "auto"
labels: ["dependencies", "docker", "automerge"]
groups:
docker:
patterns: ["*"]
update-types: ["minor", "patch"]
# Go modules 依赖 (mihomo)
- package-ecosystem: "gomod"
directory: "/bridge"
schedule:
interval: "daily"
time: "04:00"
timezone: "Asia/Shanghai"
open-pull-requests-limit: 1
rebase-strategy: "auto"
labels: ["dependencies", "go", "automerge"]
groups:
go-dependencies:
patterns: ["*"]
update-types: ["minor", "patch"]

View File

@@ -1,151 +0,0 @@
language: cpp
os: linux
stages:
- name: deploy
if: branch = master
- name: before_script
if: branch = master
jobs:
include:
- name: "macOS Build"
os: osx
compiler: clang
osx_image: xcode11.3
script:
- bash scripts/build.macos.release.sh
before_deploy:
- tar czf subconverter_darwin64.tar.gz subconverter
deploy:
provider: releases
token: "$GITHUB_OAUTH_TOKEN"
file: "subconverter_darwin64.tar.gz"
skip_cleanup: true
draft: true
on:
tags: true
- name: "Linux x86 Build"
services: docker
script:
- docker run --rm -v $TRAVIS_BUILD_DIR:/root/workdir multiarch/alpine:x86-latest-stable /bin/sh -c "apk add bash git && cd /root/workdir && chmod +x scripts/build.alpine.release.sh && bash scripts/build.alpine.release.sh"
before_deploy:
- tar czf subconverter_linux32.tar.gz subconverter/
deploy:
provider: releases
token: "$GITHUB_OAUTH_TOKEN"
file: "subconverter_linux32.tar.gz"
skip_cleanup: true
draft: true
on:
tags: true
- name: "Linux x86_64 Build"
services: docker
script:
- docker run -v $TRAVIS_BUILD_DIR:/root/workdir multiarch/alpine:amd64-latest-stable /bin/sh -c "apk add bash git && cd /root/workdir && chmod +x scripts/build.alpine.release.sh && bash scripts/build.alpine.release.sh"
before_deploy:
- tar czf subconverter_linux64.tar.gz subconverter/
deploy:
provider: releases
token: "$GITHUB_OAUTH_TOKEN"
file: "subconverter_linux64.tar.gz"
skip_cleanup: true
draft: true
on:
tags: true
- name: "Linux ARMHF Build"
services: docker
arch: arm64
script:
- docker run --rm -v $TRAVIS_BUILD_DIR:/root/workdir multiarch/alpine:armhf-latest-stable /bin/sh -c "apk add bash git && cd /root/workdir && chmod +x scripts/build.alpine.release.sh && bash scripts/build.alpine.release.sh"
before_deploy:
- tar czf subconverter_armhf.tar.gz subconverter/
deploy:
provider: releases
token: "$GITHUB_OAUTH_TOKEN"
file: "subconverter_armhf.tar.gz"
skip_cleanup: true
draft: true
on:
tags: true
- name: "Linux ARM64 Build"
services: docker
arch: arm64
script:
- docker run -v $TRAVIS_BUILD_DIR:/root/workdir multiarch/alpine:aarch64-latest-stable /bin/sh -c "apk add bash git && cd /root/workdir && chmod +x scripts/build.alpine.release.sh && bash scripts/build.alpine.release.sh"
before_deploy:
- tar czf subconverter_aarch64.tar.gz subconverter/
deploy:
provider: releases
token: "$GITHUB_OAUTH_TOKEN"
file: "subconverter_aarch64.tar.gz"
skip_cleanup: true
draft: true
on:
tags: true
- name: "Windows x86_64 Build"
os: windows
before_install:
- |-
[[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
choco uninstall -y mingw
choco upgrade --no-progress -y msys2 nodejs
export msys2='cmd //C RefreshEnv.cmd '
export msys2+='& set MSYS=winsymlinks:nativestrict '
export msys2+='& C:\\tools\\msys64\\msys2_shell.cmd -defterm -no-start'
export mingw64="$msys2 -mingw64 -full-path -here -c "\"\$@"\" --"
export msys2+=" -msys2 -c "\"\$@"\" --"
$msys2 pacman --sync --noconfirm --needed base-devel git mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-libevent mingw-w64-x86_64-pcre2 patch
taskkill //IM gpg-agent.exe //F
export PATH=/C/tools/msys64/mingw64/bin:$PATH
export MAKE=make
before_cache:
- |-
$msys2 pacman --sync --clean --noconfirm
cache:
directories:
- $HOME/AppData/Local/Temp/chocolatey
script:
- $mingw64 bash scripts/build.windows.release.sh
before_deploy:
- 7z a subconverter_win64.7z subconverter/
deploy:
provider: releases
token: "$GITHUB_OAUTH_TOKEN"
file: "subconverter_win64.7z"
skip_cleanup: true
draft: true
on:
tags: true
- name: "Windows x86 Build"
os: windows
before_install:
- |-
[[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
choco uninstall -y mingw
choco upgrade --no-progress -y msys2 nodejs
export msys2='cmd //C RefreshEnv.cmd '
export msys2+='& set MSYS=winsymlinks:nativestrict '
export msys2+='& C:\\tools\\msys64\\msys2_shell.cmd -defterm -no-start'
export mingw32="$msys2 -mingw32 -full-path -here -c "\"\$@"\" --"
export msys2+=" -msys2 -c "\"\$@"\" --"
$msys2 pacman --sync --noconfirm --needed base-devel git mingw-w64-i686-gcc mingw-w64-i686-cmake mingw-w64-i686-libevent mingw-w64-i686-pcre2 patch
taskkill //IM gpg-agent.exe //F
export PATH=/C/tools/msys64/mingw64/bin:$PATH
export MAKE=make
before_cache:
- |-
$msys2 pacman --sync --clean --noconfirm
cache:
directories:
- $HOME/AppData/Local/Temp/chocolatey
script:
- $mingw32 bash scripts/build.windows.release.sh
before_deploy:
- 7z a subconverter_win32.7z subconverter/
deploy:
provider: releases
token: "$GITHUB_OAUTH_TOKEN"
file: "subconverter_win32.7z"
skip_cleanup: true
draft: true
on:
tags: true

47
LICENSE
View File

@@ -1,18 +1,3 @@
================================================================================
LICENSE NOTICE
================================================================================
This project is licensed under the GNU General Public License v3.0.
Some components are licensed under different terms:
- Mihomo parser module (bridge/): MIT License
Source: https://github.com/metacubex/mihomo
For the full text of the GPL-3.0 license, see below.
================================================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
@@ -166,7 +151,7 @@ Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
1. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
@@ -191,7 +176,7 @@ your copyrighted material outside their relationship with you.
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
1. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
@@ -207,7 +192,7 @@ modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
1. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
@@ -220,7 +205,7 @@ recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
1. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
@@ -257,7 +242,7 @@ beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
1. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
@@ -355,7 +340,7 @@ documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
1. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
@@ -419,7 +404,7 @@ where to find the applicable terms.
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
1. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
@@ -447,7 +432,7 @@ this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
1. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
@@ -458,7 +443,7 @@ modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
1. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
@@ -483,7 +468,7 @@ rights granted under this License, and you may not initiate litigation
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
1. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
@@ -552,7 +537,7 @@ or that patent license was granted, prior to 28 March 2007.
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
1. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
@@ -564,7 +549,7 @@ to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
1. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
@@ -575,7 +560,7 @@ but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
1. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
@@ -601,7 +586,7 @@ permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
1. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
@@ -612,7 +597,7 @@ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
1. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
@@ -624,7 +609,7 @@ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
1. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,