registrystack / registrystack/registry-stack

Shared quoting helper for path hints in bregctl and evidencectl

Open
#855 1 comment 0 reactions 0 assignees View on GitHub
area:breg area:evidence criticality:p3 enhancement needs-jeremi-decision rust
Dominant language
Rust
Stars
2
Forks
0
Avg merge
2h 55m
Merged PRs (30d)
130

Description

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.

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.