www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin McDonald <ga...@16degrees.com.au>
Subject Re: default branch substitutions used in buildbot scripts
Date Wed, 04 Jun 2014 23:15:38 GMT
Thanks Herbert, thats a config option I either missed or got wrong to start with.

I've changed all projects to use the tilde.



On 04/06/2014, at 10:21 AM, Herbert Duerr <hdu@apache.org> wrote:

> I just wanted to share a small detail that might be interesting to other users of the
ASF buildbot service:
> Many of these projects use a pattern in their project specific buildbot configuration
>  Interpolate("https://svn.apache.org/repos/asf/%(src::branch:-prj/trunk)s")
> This means that the prj/trunk sub-tree of the ASF repo is checked out if src::branch
> does not exist. But if src::branch is empty then the whole ASF repo gets checked out!
> The variable can be empty e.g. when the buildbot is triggered from IRC.
> The solution is simple. Just change the letter '-' (minus) to a '~' (tilde) i.e.
>  Interpolate("https://svn.apache.org/repos/asf/%(src::branch:~prj/trunk)s")
> so that the default branch is also used when src::branch is empty.
> Currently only the subversion and openoffice projects use the tilde-substitution,
> but 37 of the 55 other projects still do minus-substitution. They might want
> to review these replacement patterns.
> Herbert

View raw message