[Buildbot-devel] How to make SVN step checkout a few source dirs?

Bob Hood bhood2 at comcast.net
Sun Oct 3 01:53:52 UTC 2010


 On 10/2/2010 7:04 PM, Bill Deegan wrote:
> Greetings,
>
> I'd like to have it check out say: $SVN_URL/trunk/{src,regress} but
> skip the 9 other directories at that level.
> Currently I have it checking out $SVN_URL/trunk  but that gets me
> several GB of files not needed for the build.

I may be way off (I've never needed to do what you need to do, so feel free to
ignore me), but wouldn't multiple SVN steps do the trick for you?  E.g.:

   ...
   myStep.addStep(source.SVN(mode="update", svnurl="$SVN_URL/trunk/src",
workdir="<dir>"))
   myStep.addStep(source.SVN(mode="update", svnurl="$SVN_URL/trunk/regress",
workdir="<dir>"))
   ...





More information about the devel mailing list