| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Mature cjv beta toolchain management | 1 个月前 | |
feat(self-update): 实现 cjv self update 自更新功能 - self_update.rs:从 GitHub Releases API 查最新 tag(非 prerelease 优先),AtomGit 镜像回退 - 下载 cjv-{platform}.tar.gz + 可选 .sha256 校验,复用 dist::download_file/verify_checksum - 解压复用 toolchain::extract_archive_to,定位新二进制后原子替换当前 exe - Unix:rename 原子替换;路径不可写时回退到 ~/.cjv/bin/cjv - Windows:先 rename 旧版本为 .old,再写入新二进制 - cmd_update 的 auto-self-update=enable 分支改为真实调用,失败时降级为提示 - README 命令参考表 cjv self update 行从"暂未实现"改为已实现说明 - 新增 7 个单元测试:tag 前缀、URL 规范化、asset 查找、二进制定位 Closes #1 | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Initial commit: cjv - Cangjie Version Manager in Rust Implement full cjv feature set including: - CLI with 17+ commands (install, uninstall, update, show, run, exec, etc.) - Toolchain management with channel/version/target/custom resolution - Transparent proxy mode for SDK tools (cjc, cjpm, cjfmt, etc.) - Component management (stdx, docs, stdx-docs) - Directory-level overrides - Runtime environment (exec, envsetup) - Cross-compilation target system - Atomic file transactions (fstx) - Distribution manifest and nightly release tracking - Settings management with manifest_url support - Downloads cache management (purge) - Toolchain list-remote - Self-update and self-uninstall Signed-off-by: 坚果 <jianguo@nutpi.net> Co-Authored-By: AtomCode <jianguo@nutpi.net> | 2 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
fix(self-update): 跨文件系统 rename EXDEV 回退到复制+删除 bot 审查指出 P2:replace_current_binary 的 std::fs::rename 在 new_bin (/tmp)与 cur_path(/usr/local/bin)处于不同文件系统时返回 EXDEV, 回退路径 std::fs::rename(new_bin, &dest) 同样跨文件系统(/tmp → ~/.cjv/bin/)也会失败。 修复:抽 move_across 闭包,rename 返回 EXDEV(errno 18)时回退到 std::fs::copy + remove_file,跨文件系统安全。两处 rename 调用 (直接替换 + 回退路径)均改用 move_across。 refs #1 | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 | |
Mature cjv beta toolchain management | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 |