registrystack / registrystack/registry-stack

Shared quoting helper for path hints in bregctl and evidencectl

Aperta
#855 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area:breg area:evidence criticality:p3 enhancement needs-jeremi-decision rust
Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
2h 55m
PR unite (30g)
130

Descrizione

The next-step line of `bregctl init`, the build diagnosis hint of `evidencectl`, and the scaffold's next-step hint interpolate a project path unquoted, so a path containing whitespace is not copy-pastable.

Add one quoting helper and use it for every hint, so the hints change together. Cover each hint with a unit test whose path contains a space.

Origin: review of PR #850; declined there so the three hints move in one change.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Locate the implementations and existing unit tests for the next-step hints in bregctl init, evidencectl build diagnosis, and the scaffold. Start by comparing how each hint currently interpolates its project path. Done means all three use the shared quoting behavior and each has a unit test covering a path containing whitespace.

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

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Refactoring
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
78/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.