[Buildbot] #1773: deprecate 'default branch'

Buildbot trac trac at buildbot.net
Wed Jan 21 13:30:57 UTC 2015


#1773: deprecate 'default branch'
----------------------------------------------+-----------------------
Reporter:  dustin                             |       Owner:
    Type:  enhancement                        |      Status:  assigned
Priority:  major                              |   Milestone:  0.9.+
 Version:  0.8.3p1                            |  Resolution:
Keywords:  bzr, cvs, darcs, git, hg, p4, svn  |
----------------------------------------------+-----------------------

Old description:

> The concept of a 'default branch' causes huge pain, with no gain.  Let's
> see if we can make it go away:
>  * ChangeSources should always set {{{c.branch}}} to something
>  * schedulers should require an explicit branch or branches
>  * Source steps should require an explicit branch or branches
>
> For backward compatibility, all of these should have parameters that can
> make them act the old way.

New description:

 The concept of a 'default branch' causes huge pain, with no gain.  Let's
 see if we can make it go away:
  * ChangeSources should always set {{{c.branch}}} to something
  * schedulers should require an explicit branch or branches
  * Source steps should require an explicit branch or branches

 For backward compatibility, all of these should have parameters that can
 make them act the old way.

--

Comment (by sa2ajj):

 We do not seem to have `.branch` set to something all the time.

 The current implementation of `SVNPoller` sets it to `None` if the branch
 is `trunk`.

--
Ticket URL: <http://trac.buildbot.net/ticket/1773#comment:13>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list