Poor error message when vindex/cmd/sumdbverify encounters a git repository with unexpected owner
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- Go
- スター
- 5
- フォーク
- 9
- 平均マージ
- 22時間 1分
- マージ済み PR(30日)
- 21
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
transparency-dev/incubator のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
transparency-dev/incubator#91 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
transparency-dev/incubator#77 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
transparency-dev/incubator#75 ·
メンテナーはふだん 1 日以内に返信
-
[VIndex] Add metricsオープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
transparency-dev/incubator#74 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
transparency-dev/incubator#64 ·
メンテナーはふだん 1 日以内に返信
transparency-dev/incubator の issue をすべて見る
似ている issue
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaudeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
go good first issue test
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
bug github_actions good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
libr-forum/libr#77 ·
メンテナーはふだん 1 日以内に返信
-
[UI] Guard webApis against undefined window in SSR environments対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信