Le July 2, 2020 2:47:49 PM UTC, Vitaly Zaitsev via devel
<devel(a)lists.fedoraproject.org> a écrit :
On 02.07.2020 11:27, Nicolas Mailhot wrote:
> 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.
Koji was just an example. %changelog section should be auto-generated
from commits messages. I don't want to maintain a separate file with
the changelog.
The feature is completely compatible with this workflow.
It registers build events in a detached file (the only part of the rpm changelog that
requires knowledge of the rpm format)
You can prime this file via git hooks or any other system you like, the feature will take
it as is, add the timestamp the build occurred at, and feed the result to the correct
parts of the rpm build process.
--
Nicolas Mailhot