github / github/gh-classroom

Ability to clone repos with the last commit before the deadline

Offen
#16 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Go
Sterne
126
Forks
21
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Recently classrooms updated too support a hard deadline so assignments can move to read-only post deadline.

If you don't want to enforce this, but still want a snapshot of the state of all repos just before the dealine, you must introspect the commits once cloned and checkout appropriately to that commit.

I want an option to checkout a single commit (#15) that is the last before the deadline, or another option to default to the latest commit.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Lesen von Issue #15 und verfolge den Ablauf zum Klonen von Repositories in der gh-classroom CLI. Ermittle, wie ein festes Deadline und der neueste Commit dargestellt werden, und definiere anschließend das Verhalten der Option zum Auschecken des letzten Commits vor der Deadline oder zum Beibehalten des neuesten Commits. Als abgeschlossen gilt die Aufgabe, wenn das Klonen konsistent eines der beiden Snapshot-Verhalten auswählen kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
go
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.