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

Buildbot nobody at buildbot.net
Thu Mar 1 16:28:46 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 exarkun):

 Still better, particularly considering the relative effort compared to the
 interface in the above example, would be to just have BuildBot know how to
 load a `master_cfg.json` file (should JSON be selected as the right
 configuration format) and put the `fromjson.load` call somewhere in the
 implementation of BuildBot itself, not in the "configuration file" exposed
 to the admin for customization.

 The former removes the attractive nuisance of a place to drop arbitrary,
 inscrutable Python code (an attractive nuisance place directly in front of
 every new buildbot user's face).  The ability to use a Python-syntax
 master.cfg would be retained for quite some time, of course, to support
 old configurations and provide an escape hatch for functionality not yet
 supported by the non-Python configuration file.  However, my ultimate goal
 would be to remove the unstructured dumping ground of master.cfg in favor
 of non-Python configuration and a more structured configuration plugin
 mechanism.

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


More information about the Commits mailing list