feat: v1.8.0 - 全新进度条显示、大文件分片下载、断点续传等重大更新#26
Open
Potterluo wants to merge 15 commits intotopcss:mainfrom
Open
Conversation
- 添加断点续传支持,下载中断后可继续 - 增强失败重试机制(认证3次、清单3次、下载10次) - 添加SHA256校验,确保下载完整性 - 添加智能缓存管理(--list-cache, --clear-cache) - 不同镜像使用独立缓存目录 - 添加下载统计(平均速度、总耗时) - 支持 Ctrl+C 优雅退出并保存进度 - 优化代码结构,添加类型注解 - 更新 README 文档
- 新增 -o/--output 参数指定下载目录 - 默认输出到当前目录下的镜像名_tag_arch目录 - 多线程下载进度条分开展示,不再重叠 - 优化架构选择交互,显示可用架构列表 - 移除缓存到用户目录的功能,改为当前目录
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
这是一个重大功能更新版本,包含全新的进度条显示、大文件分片下载、断点续传等多项改进。
主要更新内容
🎨 全新进度条显示
📦 大文件分片下载
🔄 断点续传
🛡️ 高可用性增强
📁 输出目录优化
🔧 其他改进
进度条格式示例
\
⬇️ ( 1/15) sha256:b42c8 |████████████░░░░░░░░░░░░░░░░░░| 35.2% 21.5MB/61.3MB [3/7]
⬇️ ( 5/15) sha256:52823 |████░░░░░░░░░░░░░░░░░░░░░░░░░░| 12.5% 27.7MB/221.7MB [1/23] 🔄2
⬇️ (10/15) sha256:f6521 |██░░░░░░░░░░░░░░░░░░░░░░░░░░░░| 8.3% 14.1MB/170.2MB 📎
✅ (15/15) sha256:30a14 |██████████████████████████████| 100.0% 151.5MB/4.2GB
📊 速度: 5.2MB/s
\\
符号说明
测试
已在以下场景测试通过: