Git Space Quota Usage

Đang mở
#28,280 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
git, go
Lĩnh vực
backend

Hướng nghiên cứu

Issue không nêu tên tệp mã nguồn, bài kiểm thử hay điểm vào nào. Hãy bắt đầu bằng cách tái hiện sự chênh lệch hạn ngạch với ứng dụng khách Keybase và git-sizer, sau đó lần theo cách mức sử dụng repository được báo cáo; công việc được xem là hoàn tất khi ứng dụng khách xác định mức sử dụng theo từng repository và phản ánh các repository đã bị xóa trong tổng hạn ngạch.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
9.3k
Fork
1.3k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
99

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của keybase/client

Tất cả issue của keybase/client

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.