fedora-infra / bodhi

Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.
https://bodhi.fedoraproject.org
GNU General Public License v2.0
153 stars 195 forks source link

RFE: autogenerated notes from Koji commit changelog via CLI #5501

Open tim77 opened 1 year ago

tim77 commented 1 year ago

Would be nice to autogenerate notes from Koji commit changelog via CLI:

fedpkg update --type enhancement --notes "AUTO_GENERATED_FROM_COMMIT_CHANGELOG" --stable-karma +3

would automatically include commit changelog history in new Bodhi update into AUTO_GENERATED_FROM_COMMIT_CHANGELOG.

This could simplify, automate and speedup update process and make maintainers life easier and spend less time on each update.

mattiaverga commented 1 year ago

Changing to "high trouble" because, when I tried to start working on that, I faced a lot of troubles I didn't thought before: what if the update is a multi-build update? What if the changelog overrun the notes characters limit? How to deal with updates supersede older updates and inherit their notes? How to deal updated edit?

Having faced a high pain when dealing with some of those problems in automatic updates, I know making this work for all updates will not be simple as I thought...