# HG changeset patch # User Jeff Hammel # Date 1325290705 28800 # Node ID 4c856644a2f13f52eb090e8485666a7079a5e621 # Parent afa37f032c3931aead965e285d6165f2a832db6e add a stub status thing diff -r afa37f032c39 -r 4c856644a2f1 autobot/status/__init__.py diff -r afa37f032c39 -r 4c856644a2f1 autobot/status/autolog.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/autobot/status/autolog.py Fri Dec 30 16:18:25 2011 -0800 @@ -0,0 +1,26 @@ +""" +report to autolog: +https://wiki.mozilla.org/Auto-tools/Projects/Autolog +http://brasstacks.mozilla.com/autolog/ +""" + +# XXX stub + +from buildbot.interfaces import IStatusReceiver +from buildbot.status.base import StatusReceiverMultiService +from zope.interface import implements + +class AutologStatus(StatusReceiverMultiService): + # see http://buildbot.net/buildbot/docs/0.8.5/reference/buildbot.status.base.StatusReceiver-class.html + + implements(IStatusReceiver) + + def __init__(self): + StatusReceiverMultiService.__init__(self) + + def buildFinished(self, builderName, build, results): + # XXX stub + import os + f = file('/home/jhammel/foo.txt', 'w') + print >> f, os.environ['HOME'] + f.close()