github / github/gh-classroom

Assignment "Copy the default branch only" setting not working

Aperta
#108 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
125
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I've created 3 assignments over the past week, each from a repository that has two branches. Even though I've checked the "Copy the default branch only" setting, the resultant starter code repository has contained both of the original branches. In one case, "main" was not preserved as the default branch. This seems like a pretty big problem if, for example, one of the branches is a solution branch.

I've tried going to the starter code repository and deleting the extra branches, before distributing the assignment, and that seems to be a workaround for now. Needless to say, it would be nice not to need that extra step 🙂

Edit: I got here by googling "github classroom issues" but I now wonder if that was a mistake: where is the correct place to go to report issues with the github classroom website, not necessarily the cli tool?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il flusso dell'assegnazione di GitHub Classroom con un repository contenente due branch e l'impostazione "Copy the default branch only" abilitata. Confronta i branch e il branch predefinito del repository del codice iniziale con il repository sorgente; è completato quando viene copiato solo il branch predefinito del repository sorgente e questo rimane il branch predefinito.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.