[PATCH] Add --wait option to regen-repo
Jeroen van Meeuwen
kanarip at kanarip.com
Fri Nov 5 18:02:12 UTC 2010
Hello,
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,
Kind regards,
Jeroen van Meeuwen
-kanarip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/buildsys/attachments/20101105/d56e97f6/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-option-wait-to-regen-repo-command-to-override-th.patch
Type: text/x-patch
Size: 1641 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20101105/d56e97f6/attachment.bin
More information about the buildsys
mailing list