Mercurial > hg > autobot
changeset 269:8f9862788dce
more stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 30 Dec 2011 16:27:14 -0800 |
parents | 4c856644a2f1 |
children | c77b946e4496 |
files | autobot/status/autolog.py autobot/template/master/master.cfg |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/autobot/status/autolog.py Fri Dec 30 16:18:25 2011 -0800 +++ b/autobot/status/autolog.py Fri Dec 30 16:27:14 2011 -0800 @@ -8,6 +8,7 @@ from buildbot.interfaces import IStatusReceiver from buildbot.status.base import StatusReceiverMultiService +from twisted.python import log from zope.interface import implements class AutologStatus(StatusReceiverMultiService): @@ -20,6 +21,7 @@ def buildFinished(self, builderName, build, results): # XXX stub + log.msg("I IS IN YOUR FUNKSHUN PERFORMING UR STATUS!") import os f = file('/home/jhammel/foo.txt', 'w') print >> f, os.environ['HOME']
--- a/autobot/template/master/master.cfg Fri Dec 30 16:18:25 2011 -0800 +++ b/autobot/template/master/master.cfg Fri Dec 30 16:27:14 2011 -0800 @@ -121,6 +121,9 @@ c['status'].append(words.IRC(host=irc_host, nick=nick, channels=config.master['channels'])) +# autolog +#from autobot.status import autolog +#c['status'].append(autolog.AutologStatus()) ####### PROJECT IDENTITY c['projectName'] = "autobot"