Delete files after user downloads them

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
領域
backend

調査の方向性

まず、app/static/data/archive/ にファイルを作成するダウンロードフローを追跡します。個々の提出物と提出物全体のダウンロードでアーカイブがどのように提供されるかを確認し、その後、生成された各ファイルが削除され、アーカイブフォルダーが通常は空になっていることを検証します。

索引モデルが issue の本文から書いたものです。

説明

Problem: Files are left on the server after the user downloads them. This is particularly problematic when they download the entire submission set. On the production server, the 2018 set reached 92% disk space, and it filled it once the user attempted to download them all. I will be increasing the disk space on production after this round is complete, but the app/static/data/archive/ folder need to be empty most of the time (i.e., after each download, delete the file that was created) to solve the root cause.

Solution: https://stackoverflow.com/questions/24612366/flask-deleting-uploads-after-they-have-been-downloaded

主要言語
CSS
スター
0
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

BCStudentSoftwareDevTeam/Ullman_Galleries のほかの issue

BCStudentSoftwareDevTeam/Ullman_Galleries の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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