Forks: newgit tracker create --from

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, rust
Ambito
backend, cli

Direzione di ricerca

Read the build order in #201, especially the comment titled “Roles are forks, exports live in definitions, and every tracker is a Git history,” and trace the tracker create command and serve storage model. Implement newgit tracker create <name> --role <role> --from <tracker> as a fork in the same store, enforcing that its audience is no wider than the upstream's. Done when the command creates the fork with that restriction; merging and --disclose belong to step 2.

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

Descrizione

Step 1 of the build order in #201's comment Roles are forks, exports live in definitions, and every tracker is a Git history.

newgit tracker create staging-db --role db --from local-db starts a tracker at another tracker's history, so the members of a role share history and can merge with each other (tracker merge, rebase, cherry-pick; step 2). On serve a fork is a new ref namespace in the same store, so nothing is copied.

  • A fork's audience can't be wider than its upstream's.
  • Merging into a member with a wider audience needs --disclose, which lists what becomes readable. That's step 2 and can follow.
  • The same piece unlocks tracker mount <owner>/<tracker> later.

🤖 Generated with Claude Code

Lingua principale
Rust
Stelle
0
Fork
0
Merge medio
6h 21m
PR unite (30g)
173

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di Spheroman/newgit

Tutte le issue di Spheroman/newgit

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.