Commit Graph

1811 Commits

Author SHA1 Message Date
Mikachu2333 bb2d3af1f3 增加相应的测试 2025-10-03 09:03:35 +08:00
Mikachu2333 128a9c2c8b 改进 chsrc_overwrite_file 函数 2025-10-03 09:03:35 +08:00
Mikachu2333 9aa000c3a6 为win实现chsrc_prepend_to_file 2025-10-03 09:03:35 +08:00
Mikachu2333 f92ebbee04 消歧义chsrc_make_tmpfile的参数 2025-10-03 09:03:35 +08:00
Mikachu2333 5ccd609dd6 chsrc_log_write 为覆写增加提示 2025-10-03 09:03:35 +08:00
Mikachu2333 7648b6b2f2 增加 xy_file_to_str 2025-10-01 18:54:44 +08:00
Mikachu2333 ebf0176245 add url tip 2025-10-01 14:34:53 +08:00
Mikachu2333 4bea910d4d fix 2025-10-01 14:34:53 +08:00
Mikachu2333 14be64fc1d update comments 2025-10-01 14:34:53 +08:00
Mikachu2333 e8d1890c81 fix error 2025-10-01 14:34:53 +08:00
Aoran Zeng 438e19a4d6
Fix Perl test 2025-09-27 18:06:13 +08:00
Aoran Zeng c1e3522303
podchecker 2025-09-27 12:23:38 +08:00
Aoran Zeng 143bc80870
更新Bug报告模版
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled
2025-09-19 12:14:30 +08:00
Aoran Zeng a04ea51ab5
改变版本时间的输出方式 2025-09-19 12:12:47 +08:00
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