coder / coder/envbuilder

Git SSH Urls cannot select a branch

Aperta
#407 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Go
Stelle
300
Fork
64
Merge medio
20m
PR unite (30g)
1

Descrizione

When using envbuilder with a git ssh url we cannot target a specific branch. Tracing this through it's because of the giturls library succeeds in parsing a transport/http regex and gleans the url fragment and this is mapped to a branch in coder. However for ssh no fragment is parsed in the scpProvider regex. Presumably it would be good to have a way similar to https to signal to coder a branch we want to check out. If this can't be done via the Git url then perhaps another env var / parameter needs to be available to achieve this

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.