0.24: branch.remote doesn't return a Remote object
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.7k
- フォーク
- 408
- 平均マージ
- 2日 57分
- マージ済み PR(30日)
- 7
説明
It seems that the remote property of a branch doesn't return a Remote object. As a consequence it is not possible to query its url property (if any). The only workaround I found was to get the RemoteCollection and filter it to find the remote with the same name as the branch remote_name property.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、branch.remote のエントリーポイントと Remote および RemoteCollection のバインディングを見つけます。ブランチの remote_name と、RemoteCollection がリモートを解決する方法を比較し、branch.remote が一致する Remote とその url プロパティを公開することを示す回帰テストを追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, python
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100