[Buildbot-devel] splitting master.cfg

Didier Trosset didier_trosset at agilent.com
Thu Nov 13 09:52:36 UTC 2008


Vikki Finnan wrote:
> I am working with a rather complicated build setup and my master.cfg
> is rather long. If I add a module and run an import command (import
> buildsteps), the setup will work fine for the first time.
> 
> If I make changes to the buildsteps.py file and run buildbot reconfig,
> everything will work fine, but the changes that I made were not
> reflected.
> 
> I can get this to work if I to something like:
> 
> import buildsteps
> reload(buildsteps)
> from buildsteps import *
> 
> but this causes all the builders to say 'config updated' and still
> seems to sometimes have the problem of changes not being reflected.
> 
> What is happening? Is there a better way to split the master.cfg into
> separate files?

Did you try to use execfile() instead of import? I am not proficient enough 
in Python to know if it will help, but maybe worth a try.

Didier

> 
> Thanks,
> Vikki
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> 
> 

-- 
Didier Trosset-Moreau
SND / Data Converters
Agilent Technologies
Geneva, Switzerland





More information about the devel mailing list