Automatically clean up cached downloads

オープン
#368 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
7

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python/pymanager のほかの issue

python/pymanager の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。