Skip to content

Github mirror of "labs/tools/grrrit" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

License

Notifications You must be signed in to change notification settings

mattflaschen/labs-tools-grrrit

 
 

Repository files navigation

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):

  1. underscore.js
  2. node-irc
  3. redis
  4. swig
  5. js-yaml

LICENSE

Licensed under WTFPL. See the LICENSE file for more details.

CREDITS

  • Yuvi Panda
  • AzaToth

About

Github mirror of "labs/tools/grrrit" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.7%
  • Shell 2.3%