On Mon, Apr 08, 2024 at 09:08:19AM +0200, Miroslav Lichvar wrote: > On Sun, Apr 07, 2024 at 04:48:03PM +0100, Tom Hughes via devel wrote: > > -1 for existing packages certainly - none of my git commit logs > > are written with the expectation that they will double as package > > changelogs so doing so may break the changelog. > > Yes, I think rpm changelog is for users of the package and git log > is for the maintainers. Most of the time the entries apply to both, > but sometimes they don't. This was already answered to some extent, but since it seems to a common misconception, I'll reply here again: %autochangelog is designed to keep the separation between git log and %changelog. Generally, only some git log entries end up with a matching entry in the autogenerated %changelog, see https://docs.pagure.org/fedora-infra.rpmautospec/autochangelog.html#skipping-changelog-entries. > I use a script to generate rpm changelog > entries from git log as a separate commit with the release bump, but > occasionally I need to edit the text. That still works. Just put the whatever text in 'changelog' file, and %autochangelog will use that. (The way it works is that it processes git log from the top, generating %changelog entries, until it hits a commit which touches 'changelog' file, at which points it uses the contensts of that file as the rest of the %changelog. This mechanism is also used when one needs to "edit" the autogenerated changelog.) Zbyszek -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue