# HG changeset patch # User Jeff Hammel # Date 1325291234 28800 # Node ID 8f9862788dce710d304e978e821f6dce9b74b6ed # Parent 4c856644a2f13f52eb090e8485666a7079a5e621 more stubbing diff -r 4c856644a2f1 -r 8f9862788dce autobot/status/autolog.py --- 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'] diff -r 4c856644a2f1 -r 8f9862788dce autobot/template/master/master.cfg --- 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"