[ ] create a table that will map a sidetag identifier and a dist-git branch name to an actual sidetag name in Koji
(sidetag name looks like f39-build-side-12345 where the first part is a base tag determined from dist-git branch)
[ ] add a new config option to specify this sidetag identifier (it can be probably called just sidetag or side_tag)
[ ] implement building in a sidetag:
check if a mapping for the defined sidetag identifier and the current dist-git branch exists
if it does, check that the actual sidetag still exists in Koji (koji taginfo $SIDETAG), if not, remove the mapping
if it doesn't, request a sidetag (fedpkg request-side-tag) and add a new mapping
use the sidetag as build target (fedpkg build --target=$SIDETAG)
Here is Fedora documentation on using sidetags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/
TODO:
f39-build-side-12345
where the first part is a base tag determined from dist-git branch)sidetag
orside_tag
)koji taginfo $SIDETAG
), if not, remove the mappingfedpkg request-side-tag
) and add a new mappingfedpkg build --target=$SIDETAG
)