`copilot plugin marketplace add` should silently succeed if marketplace is already registered
オープン
まだ誰も着手していません。
triage
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the feature or problem you'd like to solve
copilot plugin marketplace add currently fails when the marketplace is already registered.
Example:
copilot plugin marketplace add https://github.com/DietrichGebert/ponytail
Failed to add marketplace: Error: Request plugins.marketplaces.add failed with message: Marketplace "ponytail" already registered
Proposed solution
If the target marketplace is already registered, treat it as a no-op and exit successfully (status code 0), ideally without printing an error.
Optional: print a non-error informational message (e.g., "Marketplace already registered") but still return 0.
Example prompts or workflows
- Re-running bootstrap/setup scripts across machines
- CI/devcontainer initialization where marketplace registration may already exist
- User reruns the same command and expects no failure for existing state
Expected Behaviour:
- Command is idempotent.
- "already registered" condition does not produce an error exit.
- Exit code is 0 for already-registered marketplaces.
Additional context
This issue report text was generated using GitHub Copilot.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
copilot plugin marketplace add コマンドのエントリポイントから開始し、既存のマーケットプレースに関するエラーがどのように処理されるかを追跡します。次に ponytail マーケットプレースを指定してコマンドを再実行し、すでに登録されているマーケットプレースがステータスコード 0 で終了し、エラーを出力しないことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100