-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Description
Proposal
We have to automate the process of preparing CHANGELOG section for the latest release. It's currently very error prone and extremely tedious, as the release shepherd has to manually go through all the commits, check if they added CHANGELOG item, if not, traverse to PR, double check if it shouldn't be in CHANGELOG, otherwise add and item with correct PR number. This is is even worse with our recent change to "merge" instead of squashing which products epically convoluted git trees that only seasoned git hackers can untangle π .
Another challenge with CHANGELOG items is that it produces merge conflicts on CHANGELOG.md file.
Finally, it's a bit sad we have to manually copy some changelog section to release page.
All of this are common problems for other projects e.g. Thanos. In many small libraries and projects maintainers gave up with changelog and just use "auto-generated" commit log that prints all on GH release page.
This ticket is to find a way to improve it.
AC
- There is automation that generates changelog section, no need for human work or review other than e.g. improve language/typos.
- No merge conflicts from changelog reporting
- Ideally, we use only release page?
Ideas
- Mandatory PR labels, PR title prefix/suffix, Description item that specifies if commit title should be part of CHANGELOG and with what type?
- Remove CHANGELOG.md file and use release pages only.
- Create automation that produces release page section.