[Buildbot-devel] No "build" directory if first BuildStep is nota checkout
Cavanagh, Sean (Sean)
scavanagh at avaya.com
Tue Jun 19 00:49:33 UTC 2007
You can also define a group module alias in the CVSROOT/modules file,
and then use that with the built in CVS class.
I had to do the same thing because command line parser in the CVS class
was choking on all the spaces I had between my modules.
This has the added benefit of allowing all users of your repository to
dispense with your double checkout script. Although that said, if
you've got hundreds of modules to deal with, you might run into some
kind of line length limitation.
Here's some more info on the modules file:
http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_Sys
tem_v1.12.12.1:_Reference_manual_for_Administrative_files#SEC176
Cheers,
Sean C.
-----Original Message-----
From: buildbot-devel-bounces at lists.sourceforge.net
[mailto:buildbot-devel-bounces at lists.sourceforge.net] On Behalf Of
Dustin J. Mitchell
Sent: Monday, June 18, 2007 7:25 PM
To: Greg Ward
Cc: buildbot-devel at lists.sourceforge.net
Subject: Re: [Buildbot-devel] No "build" directory if first BuildStep is
nota checkout
On Mon, Jun 18, 2007 at 06:23:13PM -0400, Greg Ward wrote:
> For various lame reasons, it looks like BuildBot's existing CVS
> checkout object won't work for me. (Mainly because checking out our
> tree first means checking out the file that lists the ~180 individual
> projects to checkout, then checking out those ~180 projects. Writing
> this is as a standalone script is much preferable to hacking it up
> inside master.cfg.)
>
> Unfortunately, it appears that BuildBot with no "official" checkout
> step never actually creates the "build" workdir, so running my
> checkout script fails -- in particular, the chdir() executed right
> before running my script dies, because the workdir that it assumes
> exist does not. Presumably there's an implicit, accidental assumption
> that *any* build factory will include an official checkout step.
>
> Is this a known bug? Or should I prepare a more thorough bug report
> with reproduction and all that?
I have a similar problem, since I build from tarballs on systems that
don't have acess to the VC server.
There are two ways around this:
- write your own Source class (perhaps one that executes your
standalone script)
- use a ShellCommand with "workdir='.'"
Dustin
--
Dustin J. Mitchell
Storage Software Engineer, Zmanda, Inc.
http://www.zmanda.com/
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/buildbot-devel
More information about the devel
mailing list