# HG changeset patch # User Jeff Hammel # Date 1294280229 28800 # Node ID 3bd7f767d74a99153454cc5958c4d87ee268835f # Parent 8e14b6322cc723188a13814a748d2a204822e3a8 more stubbing of template diff -r 8e14b6322cc7 -r 3bd7f767d74a autobot/template/master/master.cfg --- a/autobot/template/master/master.cfg Wed Dec 22 11:15:45 2010 -0800 +++ b/autobot/template/master/master.cfg Wed Jan 05 18:17:09 2011 -0800 @@ -14,7 +14,7 @@ ####### SCHEDULERS from buildbot.scheduler import Scheduler c['schedulers'] = [] -c['schedulers'].append(Scheduler(name="all", branch='${branch}', +c['schedulers'].append(Scheduler(name="all", branch='{{branch}}', treeStableTimer=1, builderNames=["buildbot-full"])) diff -r 8e14b6322cc7 -r 3bd7f767d74a autobot/template/template.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/autobot/template/template.py Wed Jan 05 18:17:09 2011 -0800 @@ -0,0 +1,26 @@ +#!/usr/bin/env python + +""" + +""" + +import sys +from makeitso.template import + +class AutobotMasterTemplate(MakeItSoTemplate): + name = 'autobot-master' + templates = ['master'] + +class AutobotSlaveTemplate(MakeItSoTemplate): + name = 'autobot-slave' + templates = ['slave'] + look = True + +def main(args=sys.argv[1:]): + usage = '%prog [options]' + parser = OptionParser(usage=usage) + options, args = parser.parse_args(args) + +if __name__ == '__main__': + main() +