-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changelog from commit hashes; changelogs from spec and BZ #175
Conversation
richm
commented
Aug 3, 2022
- add support for creating changelogs for rpm releases
- use git commit subjects for changelog if no version
This goes with https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/79 Pretty much each packaging method has a different way to generate the collection changelog :-(
|
The function rpm_release will be used to generate the following files: * cl-md - the new entry to use for CHANGELOG.md * cl-spec - the spec file %changelog section update * git-commit-msg - the git commit message The initial CHANGELOG.md is generated using spec_cl_to_cl_md. Then use rpm_release for subsequent releases.
If we are using the commit hash to build the collection, there will not be a version and a corresponding changelog. In that case, use the git commit titles and list them as Bug Fixes. * This will inevitably be wrong - there will be New Features and Other Changes listed erroneously - but there is no way to know * When there is an actual release with a version and a changelog, some of the changelog information will be duplicated - the new release will list some of the old changelog items again. I think this is a minor problem to have as long as releases using commit hashes are rare, and the changelog isn't really used in Galaxy anyway.
I'm playing with bz-manage.sh in this pr.
Is it the expected behavior? |
I think |
Thank you, @richm. Yes,
Plus if you could clean up README - adding |
It isn't supposed to do that - it is only supposed to look at BZ from only 1 ITR - so there should never be two of the same bugs from different releases with different BZ numbers.
|