[Buildbot-devel] Running two version of buildbot on same machine

Geoff Wedig gwedig at d2.com
Mon May 14 15:55:10 UTC 2007


Brian Warner wrote:
> Gregory Golberg <grisha at snaplogic.org> writes:
>
>   
>>> numbers of 0.7.3 (for example).  Is there a way, perhaps modifying the 
>>> python paths, to make it use the local versions of the buildbot code so 
>>> that I can test it without having to blow away our earlier installation?
>>>       
>
> Yup, it's actually pretty easy: you can put the directory of the version you
> want to run at the front of your PYTHONPATH. The /usr/bin/buildbot tool
> always uses the first version of the 'buildbot' python package that appears
> on PYTHONPATH.
>
> .
> .
> .
>
> Remember to keep tha PYTHONPATH setting when you stop/start/restart the
> buildbot, though, because it isn't sticky, and if you forget it you'll
> probably end up with a master or slave that's running the installed version
> instead of the one you intended.
>
>   
That's exactly what happened, until I added it to my .tcsh profile.  
There were a couple of times when I wasn't sure it was running all the 
source correctly, but on the whole, it worked.  Once I was sure it 
wouldn't break anything though, I obliterated my older version, so I'm 
not having to worry about it anymore.

Geoff


-- 
Geoff Wedig
Software Engineer
Digital Domain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20070514/72ac814f/attachment.html>


More information about the devel mailing list