Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature]: make catalog add command as "UPSERT"

オープン
#4,505 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
cli

調査の方向性

CLI の初期化と catalog add コマンドのコマンドエントリーポイントから始め、既存のカタログがどのように扱われているかを追跡します。catalog コマンドのテストを確認し、既存のカタログを更新するのか無視するのかを明確にします。catalog-add ワークフローを繰り返し実行しても失敗せず、既存のカタログについて選択した動作がテストでカバーされていれば完了です。

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

説明

enhancement feature-assess feature-go triage-nice-to-have
Problem Statement

When we run a catalog add command, be it extension catalog or present catalog or others, it gives an error if the catalog already exists. If this can be made as UPSERT, it would help to simply use the command without failing.

This is especially useful in scenarios where these commands are part of a workflow and thus can potentially be executed multiple times. Without the UPSERT behavior, the consumers have to add that logic in the workflow.

Proposed Solution

Make catalog add command idempotent / work like add + update OR add + ignore.

Alternatives Considered

No response

Component

Specify CLI (initialization, commands)

AI Agent (if applicable)

None

Use Cases

No response

Acceptance Criteria

No response

Additional Context

No response

主要言語
Python
スター
138k
フォーク
12.4k
平均マージ
3日 6時間
マージ済み PR(30日)
145

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/spec-kit のほかの issue

github/spec-kit の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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