libgit2 / libgit2/libgit2sharp
Implement hashing of files without adding it to the object db
オープン
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Libgit2sharp does not seem to provide the equivalent functionality to git hash-object, even though libgit2 implements it. At first glance, it seems relatively simple to add, and I was planning on working on it and submitting a pull request. I was thinking that there would be a method on Repository that relies on
git_repository_hashfile and the usage would look like
using (var repo = new Repository("/repo"))
{
string sha;
sha = repo.HashFile("relative/path.txt");
sha = repo.HashFile("relative/path.txt", applyFilters: false);
sha = repo.HashFile("/repo/file.txt");
}
Any feedback is welcome.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Repository のエントリポイントから始め、issue で説明されている libgit2 git_repository_hashfile 機能を調査してください。applyFilters オプションと、リポジトリ相対パスまたは絶対パスを含む、要求された HashFile オーバーロードを定義し、ファイルをオブジェクトデータベースに追加しないという要件を維持してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, git
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100