Automatically clean up cached downloads
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 344
- 派生
- 74
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 7
描述
Background
According to the documentation, the download_dir directory "is a temporary cache, and can be cleaned up from time to time."
Details
If the download_dir directory is a temporary cache, wouldn't it make sense for the default to be %TEMP%\Python (or something similar), rather than a subdirectory of the global_dir directory?
Why?
-
Files in
%TEMP%should be assumed to be temporary (hence the name), so wouldn't it make sense to put temporary downloads there? -
Files in
%TEMP%are, I believe, subject to the Windows automatic "clean up temporary files" feature, aren't they? In this way, old downloads would get cleaned up automatically, wouldn't they? (I'm not an expert on this feature, so I may be all wet here.)
I'm new to this project, so I'm sure others will set me straight if I'm way off here...
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪 download_dir 和 global_dir 的默认值在哪里定义和读取,并阅读链接的 Windows 管理配置文档。检查 Windows 临时文件清理如何应用于所提议的位置;只有在达成默认位置共识、记录行为,并对最终配置进行测试或验证后,才算完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- operating-systems
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 45/100