Poor error message when vindex/cmd/sumdbverify encounters a git repository with unexpected owner
Maintainer thường phản hồi trong vòng 1 ngày
@mhutchinson đang làm issue này rồi.
Từ ngày 29/7/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 50/100
Hướng nghiên cứu
Start at the vindex/cmd/sumdbverify command and reproduce the failure against a read-only git checkout with an ownership mismatch. Trace how the git error becomes the reported “could not find a recognized version control system” message; done means unexpected ownership is reported clearly while other repository-detection errors remain understandable.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I was trying github.com/transparency-dev/incubator/vindex/cmd/sumdbverify@main --mod_root /host in a container, where /host was a read-only mount of a git checkout on the container host. In this setup, I had an ownership mismatch, and I got somewhat confusing error messaged from sumdbverify: failed to create zip file: create zip from version control system /host: could not find a recognized version control system at "/host".
When I ran git directly, e.g., (cd /host && git log) I got a better error message that explained the problem
fatal: detected dubious ownership in repository at '/host'
To add an exception for this directory, call:
git config --global --add safe.directory /host
It would be nice if the sumdbverify error reporting mentioned unexpected ownership, rather than telling me that there's no git repository.
(And running the suggested git config command solved the problem, and made sumdbverify happy).
- Ngôn ngữ chính
- Go
- Star
- 5
- Fork
- 9
- Merge trung bình
- 22 giờ 1 phút
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của transparency-dev/incubator
-
vindex: incremental verificationĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
transparency-dev/incubator#91 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
transparency-dev/incubator#77 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
transparency-dev/incubator#75 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[VIndex] Add metricsĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
transparency-dev/incubator#74 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
transparency-dev/incubator#64 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của transparency-dev/incubator
Issue tương tự
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaudeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
go good first issue test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug github_actions good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
libr-forum/libr#77 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[UI] Guard webApis against undefined window in SSR environmentsCó thể đã có người làm @madhavzanwar đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày