V Wed, Aug 24, 2022 at 03:00:23PM +0200, Iñaki Ucar napsal(a):
On Wed, 24 Aug 2022 at 12:39, Petr Pisar <ppisar(a)redhat.com>
wrote:
>
> > So if the rawhide rebuild can be based on the result of the F37 side tag,
> > then bootstrapping etc. is not required, and the rebuild is fast and
> > straightforward. More so if no commits are needed.
> >
> This optimization is also possible.
Nice! And how would this work? It is a
you-need-help-from-releng-possible or an option-to-koji-possible? The
--repo-id option to "koji build" seems promising.
You tag each f37 build into the f38 side tag with:
$ koji tag-pkg THE_F38_TAG THE_PACKAGE_BUILD
Then you use koji "wait-repo THE_F38_TAG --build THE_PACKAGE_BUILD" to make
sure the builds are available in a build root. Then you can build the f38
packages in the f38 side tag.
But be ware that it also can be risky. The f37 packages could compile in f37
compiler flags and the f38 rebuilds could retrieve them and use. You need to
know the packages to be sure that it is safe to short-circuit the builds.
-- Petr