Git Space Quota Usage

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
git, go
領域
backend

調査の方向性

Issue には、ソースファイル、テスト、エントリポイントが何も指定されていません。まず Keybase クライアントと git-sizer を使ってクォータの不一致を再現し、次にリポジトリの使用量がどのように報告されているかを追跡します。クライアントがリポジトリごとの使用量を特定し、削除されたリポジトリを合計クォータに反映できれば完了です。

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

説明

Describe the bug
I've begun getting notices from the app that my Git usage is above 100GB. When I check the total of all my Keybase repositories (e.g., with git-sizer), however, I don't see that they're using more than perhaps 20–40GB. Consequently, it's difficult to tell whether (1) Keybase is simply reporting my quota usage erroneously or (2) there is indeed one or more repositories occupying more space than shown when I try to assess their sizes. I've totally deleted and restarted the largest repository, which looks like it should have freed about 25GB of Git storage quota. In the interim, none of the other repositories has grown by this amount, but I'm still getting the notice.

To Reproduce
Steps to reproduce the behavior:

  1. Use Keybase Git for a while, including with larger repositories.
  2. Get surprised when what looks like the amount of space the repositories are using isn't actually what the Keybase client reports.

Expected behavior
A clear account from the Keybase client of which repositories it thinks are using how much space, and clear reductions in total usage when larger repositories are eliminated to reclaim storage quota.

Screenshots
image

Additional numbers
The number 345567

主要言語
Go
スター
9.3k
フォーク
1.3k
平均マージ
1日 2時間
マージ済み PR(30日)
99

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

keybase/client のほかの issue

keybase/client の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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