[Buildbot-devel] Removing CVS checkout -d option?

Ian Britten britten at caris.com
Tue Jun 17 11:51:42 UTC 2008


Ian Britten wrote:

> Is there any way to get buildbot to not put in a "-d build" option
> when running the "cvs checkout" command?

If I understand the code correctly, I believe I found where this is
being done, and it doesn't seem to be optional nor configurable:

buildbot/slave/commands.py, approx line 2500
         command = ([self.vcexe, '-d', self.cvsroot, '-z3'] +
                    self.global_options +
                    [verb, '-d', self.srcdir])
                           ^^^^^^^^^^^^^^^^^
I think this is what's doing it, isn't it?

> Currently, it seems to do this:
> /usr/bin/cvs -d :pserver:anonymous at sunflower:/cvs/core -z3 checkout -d build -r 
> HEAD mylib
> 
> The presence of the "-d build" option conflicts with the contents
> of our CVSROOT/modules entries, resulting in an invalid checkout.

Can anyone suggest any workarounds?  If I can't get our code checked
out, there won't be much for buildbot to do, eh?  :(

Ian




More information about the devel mailing list