discoveryctl: help text and diagnostics name a discovery serve command that does not exist
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #2237 @jeremi による — マージ済み
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 83/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- cli, documentation
調査の方向性
crates/registry-discoveryctl と crates/registry-discovery/src/runtime_config.rs に記載された6つの箇所を読み、次に discovery バイナリが定義するコマンドを特定してください。ヘルプテキストと診断メッセージを更新してそのコマンドを示し、CLI カタログを再生成してください。古い discovery serve の参照が修正され、カタログに更新後のヘルプが反映されたら完了です。
索引モデルが issue の本文から書いたものです。
説明
discoveryctl check --help and several diagnostics tell the adopter that a file is checked "as discovery serve parses it". The discovery binary has no serve subcommand; it runs as discovery with its runtime file. An adopter who types the command from the help text gets an unknown-subcommand error.
Six locations carry the phrase:
- crates/registry-discoveryctl/src/lib.rs:74
- crates/registry-discoveryctl/src/project.rs:788 and :880
- crates/registry-discoveryctl/src/schema.rs:7
- crates/registry-discoveryctl/src/index.rs:7 and :29
- crates/registry-discovery/src/runtime_config.rs:186
Ask: name the command the binary actually has, and regenerate the CLI catalogue.
Found while writing the remaining-products docs (#2208).
- 主要言語
- Rust
- スター
- 2
- フォーク
- 0
- 平均マージ
- 9時間 19分
- マージ済み PR(30日)
- 275
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
registrystack/registry-stack のほかの issue
-
area:breg bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
registrystack/registry-stack#2307 ·
メンテナーはふだん 1 日以内に返信
-
area:breg area:docs documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
registrystack/registry-stack#2302 ·
メンテナーはふだん 1 日以内に返信
-
area:docs documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
registrystack/registry-stack#2253 ·
メンテナーはふだん 1 日以内に返信
-
area:coordinator bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
registrystack/registry-stack#2252 ·
メンテナーはふだん 1 日以内に返信
-
area:release bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
registrystack/registry-stack#2248 ·
メンテナーはふだん 1 日以内に返信
registrystack/registry-stack の issue をすべて見る
似ている issue
-
good first issue help wanted r-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
servo/rust-smallvec#792 ·
メンテナーはふだん 1 日以内に返信
-
A-Unicode C-bug P-low
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
rust-lang/rustfmt#7210 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
area:sim good first issue kind:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
bitcoindevkit/bdk#2432 ·
メンテナーはふだん 3 日以内に返信