lolrrit-wm
lolrrit-wm is a simple IRC bot that listens to events from gerrit
and reports them on various IRC channels. Which repo changes report
to which channels can be configured in config.yaml
It is built to run on Wikimedia ToolLabs, and is dependent on a redis queue populated by the stream receiver script that is part of SuchABot.
Running it
This is designed to run on the Grid Engine available on Tool Labs as
a continuous task. There is a convenience script kick.bash
to start
the task on the Grid Engine.
Config Changes
To add more repo -> channel mappings, please edit config.yaml
. The
repo names can be matched using regexps. The tool needs to be restarted
on SGE for the changes to take effect. Executing kick.bash
will kill
the job and start it up again.
Logs
There are somewhat comprehensive logs in the ~/logs
folder on toollabs.
Dependencies
This is written with NodeJS, and has a few dependencies (which are all bundled in the repo):
- underscore.js
- node-irc
- redis
- swig
- js-yaml
LICENSE
Licensed under WTFPL. See the LICENSE file for more details.
CREDITS
- Yuvi Panda
- AzaToth