FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

LinkBack Thread Tools
Old 11-05-2010, 05:02 PM
Jeroen van Meeuwen
Default Add --wait option to regen-repo


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

buildsys mailing list

Thread Tools

All times are GMT. The time now is 10:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org