Plain `newgit pull` should also update from a tracker's rooted export target

Aperta
#426 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
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, github, rust
Ambito
backend, cli

Direzione di ricerca

Read the implementations of newgit pull, newgit pull --remote <target>, pull_remote, and pull_rooted, then review issues #345 and #407 for the constraints described here. Trace how mounted and nested trackers are selected and how pull commits are created. Done means plain pull updates rooted export targets, handles nested trackers, and supports selecting several trackers without breaking conflict or commit behavior.

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

Descrizione

Follow-up to #345 / #407.

Plain newgit pull moves every mounted tracker's pin to its follow ref on the remote. It does not first do what newgit pull --remote <target> does for a tracker with a rooted export target (Spheroman/t3code), so new commits on the tracker's GitHub repo don't arrive, which was #345's motivating case (To decide 2).

#407 left it out for a checkable reason: pull_remote → pull_rooted only lands in the project root, can fail on a real conflict, and lands the tracker's main as part of its own pin commit, so folding it into one commit inside an instance needs restructuring.

Also from the review of #407:

  • Trackers mounted below another tracker are listed and skipped; no command pulls them in the tracker that mounts them.
  • newgit pull t3code ui-kit can't select several trackers, because the second positional argument is the instance. Needs a flag or dropping the positional instance.

🤖 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.