Commit Graph

1881 Commits

Author SHA1 Message Date
Mikachu2333 9666b769a1 build(.gitignore): 添加 .res 文件到忽略列表 2025-10-15 14:55:12 +08:00
dependabot[bot] 730d18a8a9
Bump peter-evans/create-or-update-comment from 4 to 5 (#314)
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-15 13:00:57 +08:00
Mikachu2333 d6c2111868
更新 `Perl` recipe (#304) 2025-10-11 19:27:58 +08:00
dependabot[bot] 9dfffbb8f2 Bump peter-evans/create-or-update-comment from 4 to 5
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 09:42:49 +08:00
Aoran Zeng db2ba39763
Bump version to `v0.2.3`
Some checks failed
Publish 'chsrc-git' to AUR / publish (push) Has been cancelled
2025-10-06 18:35:14 +08:00
Aoran Zeng ec43c09caf
使用两种维护信息展示方式 2025-10-06 18:25:56 +08:00
Aoran Zeng cc85521a93
重命名部分 API 2025-10-06 17:40:48 +08:00
Mikachu2333 54dbb0ea68 调整 contributor 2025-10-06 14:40:05 +08:00
Mikachu2333 984186f376 重命名 `pl_write_rust_config`
增加前缀避免命名冲突
2025-10-06 14:40:05 +08:00
mikachu2333 1a791f2fd1 fix `rust_cargo_getsrc` unexcepted on linux 2025-10-06 14:40:05 +08:00
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 4e4b4731ee add test files 2025-10-06 14:40:05 +08:00
Mikachu2333 31c93f0844 改进 chsrc_prepend_to_file
1. 改进了获取新创建文件名的方式
2. 改进了内存泄漏问题
2025-10-06 13:56:54 +08:00
Mikachu2333 04da1243f5 修复 chsrc_make_tmpfile 在win上错误处理不完善的问题 2025-10-06 13:56:54 +08:00
Mikachu2333 0a49c7b2d9 移除点赞的步骤 2025-10-06 13:54:34 +08:00
Mikachu2333 da003f5fd1 增加 xy_str_take_until_newline 2025-10-03 09:04:24 +08:00
Mikachu2333 027c40c8e9 增加 xy_str_find 2025-10-03 09:04:24 +08:00
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