Skip to content

fix(install): 默认切回 GitHub release,atomgit 镜像当前不可用 - #452

Merged
bigbrother666sh merged 1 commit into
TeamWiseFlow:masterfrom
bigbrother666sh:fix/install-default-github-atomgit-broken
Jul 21, 2026
Merged

fix(install): 默认切回 GitHub release,atomgit 镜像当前不可用#452
bigbrother666sh merged 1 commit into
TeamWiseFlow:masterfrom
bigbrother666sh:fix/install-default-github-atomgit-broken

Conversation

@bigbrother666sh

Copy link
Copy Markdown
Member

实测 atomgit 三处全坏

  • raw 文件接口(6 种格式全试)返回 gitcode SPA HTML(3576 字节),curl 拿不到脚本 → bash -c 跑 HTML
  • API /api/v1/repos/... 被 CloudWAF 拦 418(任何 UA)
  • v5.6.0 release 资产 404(只同步了 tag,没同步 140MB tarball;旧 v5.5.2 wiseflow-.zip 还在但新 xiaobei- 命名未同步)

GitHub 全通:raw=200/72KB 真脚本,release asset=200/147MB 真包。

修法

  • install.sh / install.ps1 默认 GitHub(mirror 空),--atomgit/-Atomgit 改 opt-in(待 atomgit infra 修复后重新作为国内默认),--github/-GitHub 保留向后兼容
  • README:GitHub 一行命令为唯一推荐(macOS/Linux bash + Windows PowerShell),升级段同步;atomgit 标注「修复中暂不可用」
  • install.sh 加 --atomgit flag + 用法帮助更新

验证

  • bash -n 通过;默认(无 flag)→ XIAOBEI_MIRROR 空(走 GitHub)✓;--atomgit → atomgit mirror ✓
  • GitHub raw 实拉 72423 字节 #!/bin/bash

实测 atomgit 三处全坏:
- raw 文件接口 (raw/branch/master/... 等 6 种格式) 全返回 gitcode SPA HTML
  (3576 字节 <!DOCTYPE html>), curl 拿不到脚本内容 → bash -c 跑 HTML
- API /api/v1/repos/... 被 CloudWAF 拦 418 (任何 UA)
- v5.6.0 release 资产 404 (只同步了 tag, 没同步 140MB tarball 资产)
  旧 v5.5.2 wiseflow-*.zip 还在, 但新 xiaobei-* 命名未同步

GitHub 全通: raw=200/72KB 真脚本, release asset=200/147MB 真包.

修法:
- install.sh / install.ps1 默认 GitHub (mirror 空), --atomgit/-Atomgit 改 opt-in
  (待 atomgit infra 修复后重新作为国内默认), --github/-GitHub 保留向后兼容
- README: GitHub 一行命令为唯一推荐 (macOS/Linux bash + Windows PowerShell),
  升级段同步; atomgit 标注 '修复中暂不可用'; 新增 Windows GitHub 变体
- install.sh 加 --atomgit flag + 用法帮助更新
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


codes-factory-of-bg seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@bigbrother666sh
bigbrother666sh merged commit 17c83ed into TeamWiseFlow:master Jul 21, 2026
2 of 3 checks passed
@bigbrother666sh
bigbrother666sh deleted the fix/install-default-github-atomgit-broken branch July 22, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants