changeset 1:3bd7f767d74a

more stubbing of template
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 Jan 2011 18:17:09 -0800
parents 8e14b6322cc7
children a3374cdd116d
files autobot/template/master/master.cfg autobot/template/template.py
diffstat 2 files changed, 27 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"]))
 
--- /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()
+