python-packaging / python-packaging/skel

Keep track of parent repo

Aperta
#11 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Python
Stelle
0
Fork
2
Merge medio
48m
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

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

Valutazione

Stack tecnologico
python
Ambito
tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.