Skip to content

fix(release): a changelog fragment may not repeat an entry a release already ships (#938) - #961

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/changelog-released-duplicates
Oct 25, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/changelog-released-duplicates

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

changelog.d/added/revit-property-sets.md (#934) repeated #887's RE-207 entry, which v0.7.0 already ships in its Added section, so 0.8.0's assemble would have listed it twice. The repeated item is removed, and changelog.py check now fails on any fragment item a released section of CHANGELOG.md already has.

Motivation

#934's entry moved from CHANGELOG.md into a fragment while #887 was still unreleased, and the fragment took #887's item with it. Nothing caught it: check only looked at a fragment's place and first line.

Changes

Testing

Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.

  • python3 tools/release/changelog.py check on main's fragments: fails, naming revit-property-sets.md and the RE-207 item. With the item removed: passes, 10 fragments.
  • assemble dry run on a copy of the tree: [Unreleased] takes 10 fragments, and CHANGELOG.md holds the RE-207 item once (in 0.7.0) and the property-sets item once.
  • CI's changelog step.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • No user-visible change, so no fragment
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content
  • No fixtures

Breaking changes

None.

Screenshots or output samples

::error::changelog.d/added/revit-property-sets.md: already released: - **`rvt-elements` and Python's `decoded_elements()` list each element's saved parameters ...

Related issues

Refs #938, #934, #887

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 25, 2026 06:24
@DrunkOnJava
DrunkOnJava merged commit b2b4394 into main Oct 25, 2026
26 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/changelog-released-duplicates branch October 25, 2026 06:29
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant