registrystack / registrystack/registry-stack

Shared quoting helper for path hints in bregctl and evidencectl

オープン
#855 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:breg area:evidence criticality:p3 enhancement needs-jeremi-decision rust
主要言語
Rust
スター
2
フォーク
0
平均マージ
2時間 55分
マージ済み PR(30日)
130

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

bregctl init、evidencectl build diagnosis、scaffold における次のステップのヒントの実装と既存の単体テストを見つけてください。まず、各ヒントが現在どのようにプロジェクトパスを補間しているかを比較します。完了条件は、3つすべてが共有の quoting behavior を使用し、それぞれに空白を含むパスを対象とする単体テストがあることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
cli
issue の種類
リファクタリング
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
78/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。