[users at bb.net] SVN checkout minimize bandwidth
Ryan Schmidt
buildbot at ryandesign.com
Tue Sep 27 07:14:49 UTC 2016
> On Sep 27, 2016, at 2:10 AM, Paulo Matos <pmatos at linki.tools> wrote:
>
> Hello,
>
> I am creating a master for a very large project and I watch trunk and a
> couple of release branches with a custom branch_fn function in my SVN
> poller.
>
> However, when it comes to checking out my guess is that the slave needs
> one svn checkout per branch. So, if I watch branches trunk b1, b2 and
> b3. I need to have in the slave:
> /my-b1
> /my-b2
> /my-b3
> /my-trunk
>
> In order to attempt something like this I have:
> class CloneOrUpdateRepo (SVN):
>
> def __init__ (self):
> SVN.__init__ (self,
> repourl =
> util.Interpolate('svn://linki.tools/svn/softbeta/%(src::branch)s'),
> workdir = util.Interpolate(WithProperties
> (r"%s/../my-%(src::branch)s/", r'builddir')),
> mode = r'incremental', method='fresh')
> self.haltOnFailure = True
>
>
> Interpolate doesn't seem to work at all.
>
>
> How can I solve this and are there any suggestions on minimizing
> checkouts? If each branch occupies 2 Gb and I watch 5 branches, that's
> 10Gb per slave, which is quite beefy.
If builds from each branch don't need to be happening at the same time, can you use "svn switch" to switch a single working copy to the applicable branch for each build?
More information about the users
mailing list