Le 20/05/12 20:51, Jeroen De Dauw a écrit :
Awesome, just submitted my changes to this stuff to gerrit. But this is only for notifications of stuff happening on gerrit right? What about bugzilla?
Bugzilla IRC notifications are handled by wikibugs. It is a perl script that process bugzilla email notifications.
One of the bug is "Set wikibugs to be able to join multiple channels": https://bugzilla.wikimedia.org/10760
The bot is in tools/wikibugs : svn+ssh://svn.wikimedia.org/svnroot/mediawiki/trunk/tools/wikibugs
We should probably rewrite it to python and make it extends ircecho. To give you an idea, here is the starting script:
su wikibugs -c ' tail -n0 -f /var/wikibugs/wikibugs.log | \ /usr/local/bin/ircecho "#mediawiki" wikibugs irc.freenode.net \ 2>&1 >/dev/null ' &
That wikibugs could also use some puppetization.