fix(install): 默认切回 GitHub release,atomgit 镜像当前不可用 - #452
Merged
bigbrother666sh merged 1 commit intoJul 21, 2026
Merged
Conversation
实测 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 + 用法帮助更新
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
实测 atomgit 三处全坏
bash -c跑 HTML/api/v1/repos/...被 CloudWAF 拦 418(任何 UA)GitHub 全通:raw=200/72KB 真脚本,release asset=200/147MB 真包。
修法
--atomgit/-Atomgit改 opt-in(待 atomgit infra 修复后重新作为国内默认),--github/-GitHub保留向后兼容--atomgitflag + 用法帮助更新验证
bash -n通过;默认(无 flag)→XIAOBEI_MIRROR空(走 GitHub)✓;--atomgit→ atomgit mirror ✓#!/bin/bash✓