# HG changeset patch # User Jeff Hammel # Date 1361836894 28800 # Node ID 555c1c54be75af7c04f974aa0066ffea441c9d1e # Parent 29bbe1b9f51f919c57de00c7cbe7a754d930b834 fun diff -r 29bbe1b9f51f -r 555c1c54be75 autobot/template/master/master.cfg --- a/autobot/template/master/master.cfg Thu Aug 02 10:01:32 2012 -0700 +++ b/autobot/template/master/master.cfg Mon Feb 25 16:01:34 2013 -0800 @@ -127,14 +127,18 @@ from buildbot.status.web.authz import Authz # force-build-enabled waterfall -authz = Authz(forceBuild=True, stopBuild=True) -c['status'].append(html.WebStatus(http_port=config.master['htmlport'], - authz=authz)) +htmlport = config.master.get('htmlport') +if htmlport: + authz = Authz(forceBuild=True, stopBuild=True) + c['status'].append(html.WebStatus(http_port=config.master['htmlport'], + authz=authz)) # public waterfall -authz_public = Authz(forceBuild=False, stopBuild=False) -c['status'].append(html.WebStatus(http_port=config.master['publichtmlport'], - authz=authz_public)) +publichtmlport = config.master.get('publichtmlport') +if publichtmlport: + authz_public = Authz(forceBuild=False, stopBuild=False) + c['status'].append(html.WebStatus(http_port=config.master['publichtmlport'], + authz=authz_public)) # irc bot from buildbot.status import words @@ -142,7 +146,9 @@ if '@' in irc and config.master['channels']: nick, irc_host = irc.split('@', 1) if nick and irc_host: - c['status'].append(words.IRC(host=irc_host, nick=nick, + c['status'].append(words.IRC(host=irc_host, nick=nick, allowForce=False, + events={'success': 1, + }, channels=config.master['channels'])) # email notification; see @@ -169,4 +175,4 @@ ####### PROJECT IDENTITY c['projectName'] = "autobot" c['projectURL'] = "http://buildbot.sourceforge.net/" -c['buildbotURL'] = "http://{{domain}}:%d/" % config.master['htmlport'] +c['buildbotURL'] = "http://{{domain}}:%s/" % config.master.get('publichtmlport', 80)