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

Charles Lepple clepple at gmail.com
Tue Jun 17 15:18:25 UTC 2008


On Tue, Jun 17, 2008 at 7:51 AM, Ian Britten <britten at caris.com> wrote:
> 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?  :(

You might have to provide an excerpt of your modules file for people
to understand how to resolve the conflict. The buildbot source steps
are designed to check out the code into a subdirectory that varies
based on whether you are building from the source directory, or
copying source to build.

-- 
- Charles Lepple




More information about the devel mailing list