[Buildbot-devel] Overriding default IRC behavior

Ian Peters-Campbell mahatmamanic at gmail.com
Tue Feb 10 01:36:23 UTC 2009


For the purposes of our build system I'd like for users to be able to pass
some build properties along with the build request they send to the IRC
bot.  Looking at the code in words.py it looks like the easiest way to do
that would be to

1) extend IRC, IRCStatusFactory, IRCStatusBot, and IRCContact to override
some of the functionality
2) have keyword style arguments stripped from the data coming into
IRCStatusBot.action
3) passing them down the stack in a dict to IRCContact.command_FORCE
4) finally passing them into the BuildRequest constructor.

Has anyone done anything similar and does that seem like a reasonable
approach, or is there a pre-existing trick or a way to write less code that
will let my teammates specify things like target servers or signing
credentials when requesting a build?

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090209/98ed90ff/attachment.html>


More information about the devel mailing list