Resolve #368 - Enable IRC notification setup from the config file
commit3aed3fe9bdd73bf64b2c3e7dc3bed5f82d2ad28b
authorNeil Hemingway <neil.hemingway@greyhavens.org.uk>
Mon, 26 Jan 2009 09:45:45 +0000 (26 09:45 +0000)
committerNeil Hemingway <neil.hemingway@googlemail.com>
Mon, 26 Jan 2009 18:09:23 +0000 (26 18:09 +0000)
treedbf8f56f61eb2f2ee492dc178ddd519350f683a7
parent1252f2e13dde53c52d3b2df0af0669305dc6c222
Resolve #368 - Enable IRC notification setup from the config file

This patch allows the config file to specify which events the
IrcStatusBot will notify you about.  You can now have a notify_events
parameter to the constructor to IRC:

c['status'].append(words.IRC(
        host="somehost.test.com",
        nick="BobTheBuilder",
        channels=["#buildbot"],
notify_events={
            'exception': 1,
            'successToFailure': 1,
            'failureToSuccess': 1,
            },
        ))
buildbot/status/words.py