Automatically clean up cached downloads

未關閉
#368 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
python

研究方向

首先追蹤 download_dir 和 global_dir 的預設值在哪裡定義及讀取,並閱讀連結的 Windows 管理設定文件。檢查 Windows 暫存檔案清理如何套用至提議的位置;必須達成預設位置的共識、記錄行為,並對產生的設定進行測試或驗證,才算完成。

由索引模型根據 Issue 內容生成。

描述

enhancement

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?

  1. Files in %TEMP% should be assumed to be temporary (hence the name), so wouldn't it make sense to put temporary downloads there?

  2. 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...

主要語言
Python
星號
344
分支
74
平均合併
1 天 3 小時
30 天內合併 PR
7

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

python/pymanager 的其他 Issue

查看 python/pymanager 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。