Skip to content
This repository was archived by the owner on Jun 21, 2021. It is now read-only.

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

yuvipanda/labs-tools-grrrit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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 run.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 run.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.

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