Feature request: Ability to purge unused cache when building

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
haskell
領域
build-system, cli

調査の方向性

この issue では、ファイル、テスト、エントリーポイントのいずれも指定されていません。まず、Stack に既存するキャッシュ管理用の CLI コマンドを見つけ、キャッシュされたデータがどのように参照またはアクセスされるかを文書化してください。完了条件には、合意されたクリーンアップポリシー、手動で実行できる CLI トリガー、未使用のキャッシュの削除を対象とするテストを含める必要があります。

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

説明

Description:
It would be very helpful to have a feature or command to easily remove unused cache. Currently, there doesn't seem to be a straightforward way to clear cache that is no longer in use, which can lead to unnecessary storage consumption over time.

Suggestion:

  • A function in the CLI to clean up cache that hasn’t been accessed for a certain period or is no longer referenced.
  • An option to manually trigger the cleanup of unused cache.

Rationale:
This would help users keep their environments clean and avoid wasting storage space, especially in projects with large amounts of cached data.

主要言語
Haskell
スター
4.1k
フォーク
857
平均マージ
17時間 32分
マージ済み PR(30日)
5

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

commercialhaskell/stack のほかの issue

commercialhaskell/stack の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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