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

fix(source-control): changelog fragment writer duplicates headings and edits other plugins' fragments

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, shell
領域
tooling

調査の方向性

Start with scripts/write-changelog-fragments.sh and inspect how it selects fragments, updates headings, and determines the bump level. Then read the existing tests or test setup for this script and add cases for repeated headings, upward-only bump changes, merge-base filtering, and an in-progress merge. Done means each case passes and merge runs write no fragments.

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

説明

priority: medium

The source-control commit skill's scripts/write-changelog-fragments.sh has two defects. Both were seen repeatedly on 2026-10-11 (#7204, #7208, and the #7150 branch).

  1. A duplicate heading on every releasing commit. A second releasing commit on a branch appends another ### Fixed (or ### Added/### Changed) heading to the branch's fragment instead of adding its entry under the existing heading. markdownlint MD024 then fails lint-repo, and someone has to merge the headings by hand.
  2. It writes into other plugins' fragments during a merge. When run during a merge of main, it appended the commit's entry to fragments that the merge had just brought in from other plugins (.changes/harness-ops/fix-7203-..., .changes/source-control/feat-check-affected-push-hook-... on #7208). The entries had to be removed by hand.

Fix

  • Add each entry under the matching existing heading, creating the heading only when it is absent, and raise the bump level only upward.
  • Only touch fragments this branch created: ones not present on the merge base. Write nothing during an in-progress merge.
  • Add a test for each case.
主要言語
Shell
スター
22
フォーク
2
平均マージ
8時間 41分
マージ済み PR(30日)
892

環境構築

はじめの一歩

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

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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