From c714c1b18eae84900bc8594557f1c1ee6d5d23fe Mon Sep 17 00:00:00 2001 From: n3t1zen Date: Thu, 16 Jul 2026 00:58:59 +0800 Subject: [PATCH] migrate to code plaza --- bin/apply | 2 +- bin/apply-ci | 2 +- bin/apply-ci.ps1 | 6 ++---- bin/apply.ps1 | 2 +- bin/update | 5 ++--- bin/update.ps1 | 2 +- 6 files changed, 8 insertions(+), 11 deletions(-) diff --git a/bin/apply b/bin/apply index b7ce712..b75f70c 100755 --- a/bin/apply +++ b/bin/apply @@ -9,7 +9,7 @@ OUTPUT="$ROOT/works/core" REV_FILE="$ROOT/works/rev" # defaults -REPO_URL="git@git.inker.bot:arknights/sing-box.git" +REPO_URL="https://git.sfclub.cc/icybear/sing-box.git" UPSTREAM_BRANCH="main" CONFIG="$ROOT/works/config" diff --git a/bin/apply-ci b/bin/apply-ci index a4bdfd1..8552fd5 100755 --- a/bin/apply-ci +++ b/bin/apply-ci @@ -9,7 +9,7 @@ OUTPUT="$ROOT/works/core" REV_FILE="$ROOT/works/rev" # defaults -REPO_URL="git@git.inker.bot:arknights/sing-box.git" +REPO_URL="https://git.sfclub.cc/icybear/sing-box.git" UPSTREAM_BRANCH="main" CONFIG="$ROOT/works/config" diff --git a/bin/apply-ci.ps1 b/bin/apply-ci.ps1 index 190ee43..f0d4673 100644 --- a/bin/apply-ci.ps1 +++ b/bin/apply-ci.ps1 @@ -8,14 +8,12 @@ $Output = Join-Path $Root 'works/core' $RevFile = Join-Path $Root 'works/rev' # defaults -$RepoUrl = 'git@git.inker.bot:arknights/sing-box.git' +$RepoUrl = 'https://git.sfclub.cc/icybear/sing-box.git' $UpstreamBranch = 'main' if ($env:CI_JOB_TOKEN) { git config --global user.name imabot - git config --global user.email ci@inker.bot - $insteadOf = "https://gitlab-ci-token:${env:CI_JOB_TOKEN}@git.inker.bot/" - git config --global url.$insteadOf.insteadOf "git@git.inker.bot:" + git config --global user.email icybear+ci@sab.ee } $ConfigFile = Join-Path $Root 'works/config' diff --git a/bin/apply.ps1 b/bin/apply.ps1 index c7d8017..49b6948 100644 --- a/bin/apply.ps1 +++ b/bin/apply.ps1 @@ -8,7 +8,7 @@ $Output = Join-Path $Root 'works/core' $RevFile = Join-Path $Root 'works/rev' # defaults -$RepoUrl = 'git@git.inker.bot:arknights/sing-box.git' +$RepoUrl = 'https://git.sfclub.cc/icybear/sing-box.git' $UpstreamBranch = 'main' $ConfigFile = Join-Path $Root 'works/config' diff --git a/bin/update b/bin/update index fd892e2..6198ca2 100755 --- a/bin/update +++ b/bin/update @@ -7,11 +7,10 @@ SING_BOX="$ROOT/works/sing-box" REV_FILE="$ROOT/works/rev" # defaults -REPO_URL="git@git.inker.bot:arknights/sing-box.git" +REPO_URL="https://git.sfclub.cc/icybear/sing-box.git" if [ ! -z "$DEPLOY_TOKEN" ]; then git config --global user.name imabot - git config --global user.email ci@inker.bot - git config --global url."https://${DEPLOY_TOKEN_USER}:${DEPLOY_TOKEN}@git.inker.bot/".insteadOf "git@git.inker.bot:" + git config --global user.email icybear+ci@sab.ee fi UPSTREAM_BRANCH="main" diff --git a/bin/update.ps1 b/bin/update.ps1 index 9f364ba..44b528f 100644 --- a/bin/update.ps1 +++ b/bin/update.ps1 @@ -6,7 +6,7 @@ $SingBox = Join-Path $Root 'works/sing-box' $RevFile = Join-Path $Root 'works/rev' # defaults -$RepoUrl = 'git@git.inker.bot:arknights/sing-box.git' +$RepoUrl = 'https://git.sfclub.cc/icybear/sing-box.git' $UpstreamBranch = 'main' $ConfigFile = Join-Path $Root 'works/config'