Keep track of parent repo

Offen
#11 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

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

Rechercherichtung

Start by tracing the first-run behavior of regen-git and how it reads or writes .vars.ini. Identify where the parent skel repository’s origin could be recorded as the default parent, then verify that the stored value is available for the proposed future skelup workflow.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

For illustration, my projects look like this

https://github.com/python-packaging/skel

https://github.com/thatch/imperfect (branches main, skel)
local clone (main, skel) referring to (origin/main, origin/skel)

Those two github urls do not share any common ancestors; the repo skel has the code and templates to generate the branch skel. If someone wants a different default license, or changes to defaults (like whether to use codecov.io), they fork that repo.

Towards and eventual goal of e.g. a skelup command/service that runs regen-git for you against a checkout of the appropriate repo skel somewhere, we need to know what the appropriate one is. When running regen-git for the first time (after this change), we can look at that repo skel checkout's origin and record that as the default parent.

Storing this in .vars.ini in a new section seems reasonable.

Vorherrschende Sprache
Python
Sterne
0
Forks
2
Ø Merge
48 Min.
Gemergte PRs (30 T.)
1

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python-packaging/skel

Alle Issues in python-packaging/skel

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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