NEC-116: changelog cut strips only a trailing (#N), so a two-PR entry publishes one #181
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!181
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-116-changelog-cut-strips-only-a-trailing-n-s"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: NEC-116 — https://projectron.nerchure.com/tasks/116
Changelog cut stripped only a trailing (#N), so an entry crediting two pull requests published the first number into the mirror's CHANGELOG.md, the GitHub release body and the site. cut now strips every (#N) and (#N, #M) anywhere on a line, keeping indentation and spacing, and drops a continuation line that held only a PR number. scanPublicText now refuses a parenthesised (#N) in anything published, so cut and the mirror both reject one the stripper misses; draft previews the ledger as cut will leave it so Unreleased's by-design numbers do not warn. The new rule found one already in the mirror: a comment in content-sync.ts citing a private issue, reworded. Tests in scripts/changelog.test.mjs; every rule mutation-checked.
Spec:
docs/changes/NEC-116-changelog-pr-references/spec.mdChangelog
NONE
eee6ee78688f31add08a