-
Notifications
You must be signed in to change notification settings - Fork 50
Create CHANGELOG.md, CHANGELOG-PENDING.md, and corresponding GH action #66
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'd like to have @musalbas' approval here as well as he is the main author of this repo.
What's the rationale of this? |
In order to have a changelog moving forward, this action checks that on each PR the pending changlog is updated. Unless it is flagged the label |
This feels like extra unnecessary bureaucracy and loop-jumping, when I thought the whole point of git squash merging is to have a clean changelog. However, I won't veto merging this. |
I think that's orthogonal? Squash and merge gives a clean git commit history, yes, but that's not a changelog. This PR adds a CI workflow to automatically produce a changelog between release versions, consumable by an end user. |
Git commits should be changelog entries. What else are they for, then? The standard practice in most projects I've seen, including Linux, Bitcoin, and Ubuntu packages, is to use the git commit history as the changelog. Sure, for user-facing software, it might make sense to have a smaller changelog with only the main bits, but this is a developer-facing data structure package. |
Not really, this PR does what it say in the opening comment, it adds a checker that:
Sure, I don't mind this here. But I still think it's worth thinking ahead/deciding on each merge if this change was a breaking one, if it adds a new feature, fixes a bug etc. and have that reflected in the changelog instead of just a list of commits without any further info (btw I wanted this since a long time: #19). Sure, this could be automated with proper labels and a script but I don't think it hurts asking to add one line in the changelog including a link to the PR/issue. P.S. Bitcoin's changelog is way more sophisticated than just a list of commits: https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.20.0.md or https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.11.0.md |
FYI someone else has to merge this. |
Create CHANGELOG.md and CHANGELOG-PENDING.md files and a corresponding "Pending Changelog Checker" action that runs on all PRs to the master branch.
This check will only pass if the CHANGELOG-PENDING.md file is updated in the PR.
This check can be bypassed by labeling the PR with no_changelog
Resolves #65