[Buildbot-commits] [Buildbot] #2218: Add support for declarative configuration.

Buildbot nobody at buildbot.net
Mon Feb 27 01:13:28 UTC 2012


#2218: Add support for declarative configuration.
------------------------+--------------------
Reporter:  tom.prince   |       Owner:
    Type:  enhancement  |      Status:  new
Priority:  major        |   Milestone:  1.0.+
 Version:  0.8.5        |  Resolution:
Keywords:  config       |
------------------------+--------------------

Comment (by dustin):

 The typical prescription for this is that we should ship with a simple,
 default configuration that parses such a declarative configuration.  This
 shouldn't require any particular changes to Buildbot itself (other than in
 create-master): the "sample" master.cfg can parse the JSON (or whatever
 format is selected) and produce the resulting config.  It might make more
 sense for master.cfg to call some parsing code embedded in Buildbot
 itself, e.g.
 {{{
 from buildbot.config import fromjson
 BuildmasterConfig = fromjson.load("master_cfg.json")
 }}}

 I'm quite open to this idea.  I think the most difficult part will not be
 the code, but the additional documentation -- suddenly every piece of
 configuration must be documented both the "easy" way and the "hard" (but
 more flexible) way.

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


More information about the Commits mailing list