Commit Graph

279 Commits

Author SHA1 Message Date
Mikachu2333
c6b4049a36 重命名 rust_cargo_note_get_src_default,增加 pl_ 前缀避免冲突
删除了一处无用的赋值
2025-10-06 14:40:05 +08:00
Mikachu2333
e335d34eee 删除 rawstr4c 多余的rust常量 2025-10-06 14:40:05 +08:00
Mikachu2333
0ff604060d 修复cargo换源
原来使用了sed和grep导致在win上无法运行
现在直接手动解析str
2025-10-06 14:40:05 +08:00
Mikachu2333
dec55705c7 source: fix cargo 2025-10-06 14:40:05 +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
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
Aoran Zeng
7b01893dc8 尽量消除对 system() 的直接调用 2025-09-12 12:38:26 +08:00
Aoran Zeng
9d1a287f91 增加 chsrc_run_directly() 并修复 pipget 时在 Windows 上找不到路径的问题
[GitHub #286]
2025-09-12 12:30:03 +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 的官方镜像源
Signed-off-by: HeZongLun <hezonglun123456@outlook.com>
2025-08-27 10:56:36 +00:00
Aoran Zeng
0d6523eba1 补充 Java recipe 注释
[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
55865d6a7b 使用 xy. 2025-08-27 11:58:43 +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
曾奥然
844cd55cde 增强 Java recipe #278 from BingChunMoLi/dev 2025-08-27 10:28:13 +08:00
BingChunMoLi
b98a616bcd fix: 手机修改遗留变更 2025-08-26 19:37:23 +08:00
冰彦糖
49e15b1584 更新 Java.c
避免额外的函数定义
2025-08-26 11:01:08 +08:00
BingChunMoLi
7c9e351fc5 fix: 设置user_agent 支持阿里云 测速 2025-08-25 23:05:03 +08: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 更新贡献者信息 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
BingChunMoLi
6a89e41934 fix: user_agent 2025-08-23 13:14:28 +08:00
BingChunMoLi
f2a50d0963 feat: custom_user_agent 2025-08-23 12:58:23 +08:00
Aoran Zeng
fd21308870 Leader target 记录 follower target 贡献者 2025-08-22 18:39:58 +08:00
Aoran Zeng
2a3aa24995 更新维护者信息 2025-08-22 17:39:17 +08:00
HeZongLun
ad1e488b70 添加了Haskell、Juila、Lua 的官方镜像源 2025-08-22 09:35:53 +00:00
Aoran Zeng
25965b18d7 使用新宏 2025-08-22 17:15:11 +08:00
Aoran Zeng
e7aae2808d 修复 nvmls 问题 2025-08-22 16:05:53 +08:00
Aoran Zeng
64924a7ffc 重命名为 chsrc_use_this_source() 2025-08-22 14:40:25 +08:00
Aoran Zeng
c8818e4923 重命名为 chef_set_sauciers() 2025-08-22 14:36:55 +08:00
Aoran Zeng
8130f11cd1 修复 Python 和 JavaScript 组中 target 的 ls 问题 2025-08-22 13:38:41 +08:00
Aoran Zeng
106cb97e08 添加 chef_use_other_target_sources() 2025-08-22 13:11:45 +08:00
Aoran Zeng
adca7b3ea2 使用 chef_prep_this() 2025-08-22 13:08:27 +08:00
Aoran Zeng
16dff95df0 修复贡献者id 2025-08-21 20:12:05 +08:00
Aoran Zeng
a08ef58579 添加维护者信息 2025-08-21 18:47:33 +08:00
Aoran Zeng
4e9ea3ccc2 修复某位贡献者信息 2025-08-21 18:40:08 +08:00