libgit2 / libgit2/pygit2

Error, Repository not found

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

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

主要言語
Python
スター
1.7k
フォーク
408
平均マージ
2日 57分
マージ済み PR(30日)
7

説明

Suppose the git directory is repos/v8.

When the ownership of repos/v8 is test:test, initialize the repository with Python under root authority.
Prompt error: _ pygit2.GitError: Repository not found at repos/v8/ .git.

When using the command chown-R test:test repos/ v8, initializing the repository with Python under root permission will not cause an error.

What is the reason for this, please?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

所有者を test:test に割り当てた後、root 権限で Git ディレクトリ repos/v8 の初期化を再現し、その後、報告で説明されている chown-R test:test repos/ v8 のケースと比較する。リポジトリ初期化の Python エントリーポイントを追跡し、異なる権限またはパスを記録する。原因が確定し、想定される修正変更が明確に特定できれば完了とする。

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

評価

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

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

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