github / github/gh-classroom

Cloning student repositories not working

Aperta
#104 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 am having problems with "gh classroom clone student-repos". I am using it in WSL2 with Ubuntu-22.04. In the past, I have used this without problem, but something changed.

In one of the courses, it says there are no assignments:
"2025/06/10 17:50:43 No assignments found for this classroom."
However, there are six assignments, all created between in September and December 2024.

In another course, it shows me 15 assignments from several years, but not the most recent one.

In addition, when I select a specific assignment, it tells me this:

"? Select a classroom: my course
? Select an assignment: the assignment name
Creating directory: /home/me/mycourse/-submissions
Cloned 0 repos."

If I use the assignment flag, the result is the same.

Despite this, I am still able to clone each of the student repositories individually (git clone ...), even for the assignment not shown by "gh classroom clone student-repos".

I have uninstalled and re-installed gh, including the extension, but the result doesn't change.

Any idea how to handle this?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con il comando `gh classroom clone student-repos` e con i relativi punti di ingresso per l'elenco degli assignment e la clonazione dei repository. Riproduci il comportamento in WSL2 con le classi segnalate, quindi confronta gli assignment restituiti con quelli visibili in GitHub. Il lavoro è completato quando tutti gli assignment vengono elencati e la selezione di uno di essi clona i relativi repository degli studenti.

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

Valutazione

Stack tecnologico
git, github, go
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.