Keybase git repos not working

Đang mở
#28,373 1 bình luận 0 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
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
git, go
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện các lệnh git clone và keybase git delete đã được báo cáo cho các repository của team bị ảnh hưởng, sử dụng log id được cung cấp để kiểm tra lỗi. Xem xét các raw repository bên dưới /keybase/team/teamname/.kbfs_git/ và xác định hành vi nào cần được khôi phục; công việc được xem là hoàn tất khi có thể xử lý các repository mà không gặp các lỗi block-not-found và lỗi xóa đã được báo cáo.

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

Mô tả

Most of the git repos in one of my teams have not been working for several months.

I can't clone them ...

$ git clone keybase://team/teamname/obsidian-personal
Cloning into 'obsidian-personal'...
Initializing Keybase... done.
Syncing with Keybase... done.
git-remote-keybase error: (1) Server: block does not exist

$ git clone keybase://team/teamname/obsidian-work
Cloning into 'obsidian-work'...
Initializing Keybase... done.
Syncing with Keybase... done.
git-remote-keybase error: (1) Server: block does not exist

And I can't delete them ...

$ keybase git delete --team teamname obsidian-personal
Deletion is permanent. Are you sure you want to delete "obsidian-personal"? (type 'YES' to confirm): YES
▶ ERROR  (code 2704)
$ keybase git delete --team teamname obsidian-work
Deletion is permanent. Are you sure you want to delete "obsidian-work"? (type 'YES' to confirm): YES
▶ ERROR  (code 2704)

FWIW I was able to recover their contents by rsync'ing the raw files from the /keybase/team/teamname/.kbfs_git/ directory (I told one of the devs about this at the time), and I created the repos under a different team where they seem to be working okay, but it would be nice if these non-working repos could be deleted, especially where they can't be cloned anymore (I'm assuming "Server: block does not exist" means exactly what it sounds like, i.e. one or more of the S3 encrypted data storage blocks are just plain gone).

My log id: fc0e299da940ee6a52542f1c

And here's the number 345567, to make your bot happy.

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

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.