Wikibugs

wikibugs is an IRC bot that idles in the #wikimedia-dev development channel (and others) on the freenode IRC network.

Functions
The bot polls the phabricator API and posts changes to tasks into various IRC channels.


 * wikibugs.py: Runs as  and polls the API, and inserts all task events into a redis queue
 * redis2irc.py: Runs as, reads from the redis-queue, and notifies various channels.
 * redis2stdout.py is useful when debugging if you don't want to have to connect to IRC all the time.

Source
The source for wikibugs can be found in Git: https://git.wikimedia.org/summary/labs%2Ftools%2Fwikibugs2 (incl. the channel list). (github mirror)

Deploying changes
Everything is deployed via fabric.

If your change just updates the channel list:
 * May take up to 60 seconds to notice the change.
 * May take up to 60 seconds to notice the change.

If you need to restart the phabricator listener:
 * Note that it will lose its position and drop any events that occur while it is not running.
 * Note that it will lose its position and drop any events that occur while it is not running.

If you have to restart the IRC bot (you really shouldn't)

Each action should cause a message to be !log'd in #wikimedia-labs.

Configuring channels
Update channels.yaml with the channel name and project name. Project names can be regular expressions and are case insensitive.

Help
Find any of the following friendly people on IRC and they should be able to help you out:
 * legoktm
 * valhallasw

The list of people who have access to the bot can be found here.