libgit2 / libgit2/pygit2

Support for sha256 object identifiers?

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

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

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

説明

First, thank you for all the hard work you put in the bindings.

Second, now that the latest revisions of git, and as far as I can tell libgit2 as well, both support using sha256 for object identifiers, I am wondering how much work it would be to add this to pygit2? Is the hashing function well-encapsulated in a few places or is it a widespread assumption that sha1 is used?

If support for it did not require too much mastery over the internals of pygit2, I would be willing to take a look at it.

Cheers,

Erick

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

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

はじめの一歩

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

調査の方向性

ファイルやテストは特定されていません。まず、pygit2 がオブジェクト識別子をどのように表現しているか、またそれらの bindings が libgit2 の SHA-1 前提にどのように依存しているかを追跡します。SHA-256 のサポートが局所的なものか広範囲に及ぶものかを判断します。pygit2 が SHA-256 オブジェクト識別子を一貫してサポートできれば完了です。

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

評価

技術スタック
git, python
領域
devtools
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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