On Thu, Feb 27, 2020 at 08:08:49AM +0100, Dan Čermák wrote: > For the changelog: yes please, generate it from the commit log! They are > more or less the same for all my packages and I'm getting tired of copy > pasting the same text into %changelog and git commit.
Another idea would be generating a changelog-entry from git history when creating an update in bodhi, and there is no pre-existing changelog-entry for the current version. This would not break the option to build a package from just one file. Having it all in one file is a big bonus to fedora, you can just download that file and build your package and not worry about the whole git-workflow, or having to check if you downloaded all files (not completely true in case of patch files). It also would remove the need to copy messages from git log to the changelog. (some people complained about that - not only this message) I'm also not really a fan of "git as single source of truth" (has been mentioned a few times in this thread) - for me git is just a tool ensuring that git history was not modified. The *actual* source of truth is still the .spec file in the commit that is used to build the package - nobody is ever looking at old commits except for checking for malicious changes. (at least for spec files, with code it is useful for bisecting bugs). For end-users it might be useful to get the changelog alone (for that it does not matter if it is generated or copied from the .spec), but I never had any use for the changelog without the .spec file, as this gives me the context to the changes in the .spec file. But after all I do not care too much about how changelog is created, as long as the previous functionality is still preserved - my git log messages contain information about the .spec file changes while the changelog contains changes about the functionality of the package. ("what have I changed" (git) vs. "what has changed for you" (cl)) All the best, Astra
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org