Learn more about these different git repos.
Other Git URLs
The latest koji version uses dynamic newrepos, so the workflow for side tags has changed some.
When a sidetag is made, there's a automatic newrepo on it. When a build is done in that sidetag, there is not a newrepo done automatically. Instead, if that build is needed for further builds, you need to ideally pass '--wait-build NVR' to koji build and it will know that the fiirst newrepo is not sufficent and it should do a new one for the new build.
This also means the output of 'fedpkg request-side-tag' should change some to explain / note this.
Happy to help with wording or anything...
CC: @mikem
There are two options for repo waiting in the build command, which have been present for quite some time:
--wait-repo Wait for a current repo for the build tag --wait-build=NVR Wait for the given nvr to appear in buildroot repo
It would certainly make sense for fedpkg to be able to pass these through, regardless of the dynamic repo features added in 1.35.
Perhaps for any build thats against a sidetag fedpkg could pass --wait-repo? If it's current, no problem, if other folks have tagged builds into the sidetag since the last repo they would get a new one?
That would help prevent people from needing to know the builds in the sidetag if they were just asked to build their package there.
I would expect --wait-repo to be the more generally useful of the two. It ensures that the repo is current at the time that the build requests it. In particular, if the build(s) you want are already available in the build tag (a very common use case I believe), they should get pulled into the requested repo. This is much easier than passing in the nvr (or nvrs).
--wait-repo
The --wait-build makes the most sense when the desired build might not be tagged yet (e.g. still building, or still gating), though beware there is a timeout for the wait.
--wait-build
Log in to comment on this ticket.