Commit Graph

1797 Commits

Author SHA1 Message Date
Aoran Zeng bceeaa8a21
停止告知用户有关精准测速与模糊测速的区别 2025-09-19 11:53:49 +08:00
Aoran Zeng d478be8431
调整时间打印位置 2025-09-19 11:44:04 +08:00
happygame d424ed2850 refactor(cargo): 优化配置文件解析和跨平台检查 2025-09-19 11:06:26 +08:00
happygame 6d5ab715e5 fix(cargo): 修复 cargo getsrc
1. 如果存在配置文件,则过滤出 mirror
2. 如果不存在配置文件或配置文件未定义 source.mirror 则显示默认源
2025-09-19 11:06:26 +08:00
happygame 885bb5103b feat(cargo): 实现cargo自动换源
参考 uv 换源实现

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 11:06:26 +08:00
Mikachu2333 d71ea423dd
Use yellow as error log color when use `RunOpt_Dont_Abort_On_Failure` 2025-09-13 11:26:27 +08:00
Aoran Zeng d1149d8d00
使用默认值 2025-09-12 20:55:59 +08:00
Aoran Zeng a7989d3131
使用默认值 2025-09-12 20:06:42 +08:00
Aoran Zeng f2228cb34d
尝试使用默认 token 2025-09-12 19:54:16 +08:00
Aoran Zeng 9758a79d25
Prerelease `v0.2.2.4`
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled
2025-09-12 12:43:00 +08:00
Aoran Zeng 2f11a11623
更新 `rawstr4c.h` 2025-09-12 12:42:12 +08:00
Aoran Zeng 7b01893dc8
尽量消除对 `system()` 的直接调用 2025-09-12 12:38:26 +08:00
Aoran Zeng 9d1a287f91
增加 `chsrc_run_directly()` 并修复 `pip` 在 `get` 时在 Windows 上找不到路径的问题
[GitHub #286]
2025-09-12 12:30:03 +08:00
happy-game c7e5c1fafb
Merge pull request #286 from happy-game/main
fix(pip): 修复 pip 的 getsrc
2025-09-10 15:12:21 +08:00
happy-game d3e8024553 fix(pip): 修复 pip 的 getsrc
使用  `python -m pip config get global.index-url 2>/dev/null`
获取源,失败时会退至显示默认源

Close: #272
2025-09-10 04:52:34 +00:00
HeZongLun 32feeaea1b 添加了 OCaml 的官方镜像源
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled
Signed-off-by: HeZongLun <hezonglun123456@outlook.com>
2025-08-27 10:56:36 +00:00
LY 95de30d62d 为 Arch Linux (及 CN) 添加上海交通大学的镜像源 2025-08-27 18:53:31 +08:00
Aoran Zeng 0d6523eba1
补充 Java recipe 注释
Some checks are pending
Publish 'chsrc-git' to AUR / publish (push) Waiting to run
[GitHub #278]
2025-08-27 15:23:35 +08:00
Aoran Zeng 9f52a4d2be
重命名为 `xy_quiet_cmd()` 2025-08-27 15:13:15 +08:00
Aoran Zeng cf07b13776
重命名为 `xy_run_get_stdout()` 2025-08-27 14:52:54 +08:00
Aoran Zeng afc4ba3d06
添加 `xy_run_get_status()` 2025-08-27 14:50:38 +08:00
HeZongLun 4cffe05711 添加了 `*BSD` 的官方镜像源 (Gitee !13 )
* 添加了 `OpenBSD` 的官方镜像源
* 添加了 `NetBSD` 的官方镜像源
* 添加了 `FreeBSD` 的官方镜像源
2025-08-27 06:19:52 +00:00
Aoran Zeng 7f1832b5fd
优化注释 2025-08-27 12:17:49 +08:00
Aoran Zeng 8e1f6a35f6
Bump `xy` version to `v0.2.0` 2025-08-27 12:05:33 +08:00
Aoran Zeng 55865d6a7b
使用 `xy.` 2025-08-27 11:58:43 +08:00
Aoran Zeng 28d913c58b
使用 `xy.os_devnull` 2025-08-27 11:54:53 +08:00
Aoran Zeng 90315917e9
使用 `xy.enable_color` 2025-08-27 11:53:08 +08:00
Aoran Zeng 60ad6c1fc6
简化 Java recipe 源信息填充方式
[GitHub #278]
2025-08-27 11:44:37 +08:00
Aoran Zeng bcc3206bdd
稍简化 Java recipe 实现 以及 格式化代码
[GitHub #278]
2025-08-27 11:32:06 +08:00
Aoran Zeng b309c46a4c
重命名为 `chef_set_user_agent()`
[GitHub #278]
2025-08-27 11:07:05 +08:00
Aoran Zeng 58ef09fadd
更新镜像站信息
[GitHub #278]
2025-08-27 10:57:30 +08:00
Aoran Zeng 5b8bf70407
更新贡献者信息
[GitHub #278]
2025-08-27 10:53:14 +08:00
Aoran Zeng 78ff7adf52
尝试解决不同IDE下editorconfig不同的表现 2025-08-27 10:42:30 +08:00
曾奥然 844cd55cde
增强 Java recipe #278 from BingChunMoLi/dev 2025-08-27 10:28:13 +08:00
Aoran Zeng 64b5df65b1
修复测试文件 `fw.c` 2025-08-27 10:06:37 +08:00
BingChunMoLi b98a616bcd
fix: 手机修改遗留变更 2025-08-26 19:37:23 +08:00
Aoran Zeng 7b18dfee7b
修改参数名称
Some checks are pending
Publish 'chsrc-git' to AUR / publish (push) Waiting to run
2025-08-26 17:50:16 +08:00
HeZongLun 56198df675
修改了错误 2025-08-26 07:42:28 +00:00
冰彦糖 49e15b1584
更新 Java.c
避免额外的函数定义
2025-08-26 11:01:08 +08:00
冰彦糖 8b4504fc07
更新 core.c
为user_agent设置正确的默认值
2025-08-26 10:59:27 +08:00
HeZongLun 99dd21f719
修复了代码样式问题 2025-08-26 02:12:11 +00:00
BingChunMoLi 7c9e351fc5
fix: 设置user_agent 支持阿里云 测速 2025-08-25 23:05:03 +08:00
HeZongLun 1cac4e8878
添加了 MSYS2 的官方镜像源 2025-08-25 12:57:52 +00:00
BingChunMoLi ac50bd24cb
fix: 错误的检测
更好的提示
2025-08-24 15:49:20 +08:00
BingChunMoLi 51863e7808
fix: error 2025-08-24 15:37:59 +08:00
Aoran Zeng f42088fa9e
更新贡献者信息
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled
2025-08-24 11:48:21 +08:00
HeZongLun d22a4e50bc 添加了 PHP 的官方镜像 2025-08-23 20:52:32 +08:00
BingChunMoLi c872c9122d
fix: 合并问题 2025-08-23 14:50:03 +08:00
冰彦糖 93088fe4b8
Merge branch 'dev' into dev 2025-08-23 13:58:54 +08:00
BingChunMoLi 645a3d6bf1
feat: 使用xy_run_capture 防止查找不到maven home 返回错误的结果 2025-08-23 13:28:11 +08:00