Expose GIT_DIRECTION constants; ability to remove refspecs
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.7k
- フォーク
- 408
- 平均マージ
- 2日 57分
- マージ済み PR(30日)
- 7
説明
I've recently run into some trouble working with fetch/pull refspecs in pygit2 due to libgit2 features that haven't been exposed to python. The main issues I've encountered are:
- There's currently no way to remove fetch/pull refspecs
- The
GIT_DIRECTION_FETCH/GIT_DIRECTION_PUSHconstants aren't exposed to python (which are used by theRefspectype returned byget_refspec())
I found this old issue (https://github.com/libgit2/pygit2/issues/255) where @jdavid referenced these features, but it looks like those specific ones didn't make it in to pull request that was ultimately merged.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず Python bindings の Refspec 型と get_refspec() エントリポイントをたどり、次に利用可能な libgit2 の refspec 操作を比較します。GIT_DIRECTION_FETCH と GIT_DIRECTION_PUSH が公開され、fetch/pull refspec を削除でき、両方の動作をカバーできた時点で作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, python
- 領域
- api, devtools
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100