I have a customer with a rather limited build infrastructure in terms of resources, but the requirement to regularly regenerate the repositories used to pick up changes made to the external repositories.
While the command is being issued from a cronjob, there's no tty and thus koji thinks it's being ran in the background, while in fact I want it to only run one regen-repo at a time.
The attached patch adds --wait where we also have --nowait, in order to force koji to wait for the regen-repo command to complete whether successful or not, whether running in the "background" or not, making sure that only one regen-repo task hogs the limited resources at a time.
Thanks in advance,
Jeroen van Meeuwen
buildsys mailing list