[Buildbot-devel] SVN sparse checkouts

Paul Cohen paco at seibostudios.se
Fri Nov 23 23:07:34 UTC 2012


Hi,

I'm new to buildbot. Thanks for the tool!

I'm using buildbot 0.8.5.

I'm struggling with the following. I want to do a sparse checkout from
a rather large svn repository organized at the top level something
like this:

/subsystem1/
/subsystem2/
...
/subsystemN/

Each subsystem has its own trunk, branches and tags. When building
some subsystems I need to pull in 1 or 2 other subsystems. But I want
to avoid checking out the entire repository for the slavebot
responsible for these builds.

So I've tried a few different approaches, the latest being:

factory = BuildFactory()
factory.addStep(svn.SVN(svnurl='https://svn.example.org/svn/',
mode='full', depth="empty", username="paco", password="inera10"))
factory.addStep(svn.SVN(svnurl='https://svn.example.org/svn/subsystem1',
mode='full', depth="infinity", username="paco", password="inera10"))
factory.addStep(svn.SVN(svnurl='https://svn.example.org/svn/subsystem6',
mode='full', depth="infinity", username="paco", password="inera10"))

But this does not work as expected. I just get an empty local svn directory.

I've googled without success. Any help would be appreciated.

/Paul

-- 
Paul Cohen
www.seibostudios.se
mobile: +46 730 787 035
e-mail: paul.cohen at seibostudios.se




More information about the devel mailing list