0.24: branch.remote doesn't return a Remote object
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 1.7k
- Fork
- 408
- Merge medio
- 2g 57m
- PR unite (30g)
- 7
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia individuando l’entry point di branch.remote e i binding di Remote e RemoteCollection. Confronta remote_name del branch con il modo in cui RemoteCollection risolve i remoti, quindi aggiungi un test di regressione che dimostri che branch.remote espone il Remote corrispondente e la sua proprietà url.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, python
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100