# HG changeset patch # User Jeff Hammel # Date 1295894014 28800 # Node ID 7ab38166e65e26c281882415fb9de2b281cf0016 # Parent a67fb62c04a67964fb38a646704c810668b8641b add at least hg sources into the master.cfg (template) diff -r a67fb62c04a6 -r 7ab38166e65e autobot/template/master/master.cfg --- a/autobot/template/master/master.cfg Mon Jan 24 10:21:07 2011 -0800 +++ b/autobot/template/master/master.cfg Mon Jan 24 10:33:34 2011 -0800 @@ -62,6 +62,16 @@ from buildbot.changes.gitpoller import GitPoller from autobot.changes.poller import HgPoller +for source in sources['git']: + pass + +for repourl, branch in sources['hg']: + c['change_source'].append(HgPoller( + repourl=repourl, + pollInterval=30, # should be configurable + branch=branch)) + + ####### SCHEDULERS from buildbot.scheduler import Scheduler buildernames = [i['name'] for i in builders]