Le 2020-07-02 09:59, Vitaly Zaitsev via devel a écrit :
On 02.07.2020 07:35, Nicolas Mailhot via devel wrote:
The detached changelog is just one more file in SRPM sources, which is
modified by rpmbuild at `%build` time with other files rpmbuild
modifies.
I don't like that. %changelog should be generated automatically on Koji
side.
Why? Koji schedules a build. The build registers its own build date in
the produced packages. Koji decides to keep and commit the result, or
drop it (scratch build, failed side tag, whatever). Koji is still in
charge, the bumping is just integrated in the build process with the
rest of the package creation.
And, unlike something done specifically by koji, the bumping will import
and export across all build systems, ie all the bumps that occurred in
rpmbuild, or mock, or copr, or obs, or whatever are imported in fedpkg
with the rest of the srpm, and an srpm produced by koji can import in
rpmbuild, or mock, or copr, or obs, or whatever without loss of bump
information.
And you no longer waste hours wondering why a package you just fixed is
still failing on your test systems before realizing it is masked by
another build that did not share the same bump history.
Regards,
--
Nicolas Mailhot
_______________________________________________
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