[Buildbot-devel] SVN checkouts: preserving directory name, multiple concurrent directories

Zellyn Hunter zellyn+buildbot at gmail.com
Sat Jul 18 15:30:25 UTC 2009


Natalie,

Have you tried using the "workdir" arg to buildbot.steps.source.SVN to
get it to place files in a specific location? That worked for me:
before I added it, the two checkouts were clearing and repopulating
the same folder. I use relative paths like workdir="build/appA" and
workdir="build/appB".

Zellyn



On Fri, Jul 17, 2009 at 4:47 PM, Natalie
Tasman<natalie.tasman at insilicos.com> wrote:
>
> Hi all,
>
> The project that I'm working on has a SVN repository structure like
> this:
>
> .../trunk/projectA
> .../trunk/projectB
> .../trunk/projectC
> ...
> .../trunk/projectF
>
> I only need projectB and projectF, so I really don't want to have to
> checkout the entire trunk.
>
> In order to build, I need the following local directory strucure:
>
> <some path>/projectB
> <some path>/projectF
>
> ProjectF has references like "../../../projectB", so it's necessary to
> preserve this structure.
>
> With commandline svn, it's no problem to preserve the directory name
> instead of renaming it to "source", as BuildBot likes to.
>
> It seems that I might be able to get something going with a series of
> ShellCommands to manually run SVN (and properly execute the rm -rf /
> cp commands to simulate BuildBot's SVN "copy" mode), and so on-- but
> to have to redo this for all operating systems?  That was the whole
> point of using something like BuildBot in the first place:)
>
> I've tried searching the mailing list but wasn't able to find the
> answer.  Thanks in advance for any assistance!
>
> Natalie
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> 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