For a weekend project I created a Gerrit
script for Hubot. It lets you
query Gerrit for changes via Hubot, and enables Hubot to spam your chat
room with Gerrit events as they happen. The script is now part of the
hubot-scripts
repository, so if you’d like to try it out, add gerrit.coffee
to your hubot-scripts.json
file, add a HUBOT_GERRIT_SSH_URL
environment variable to your Hubot pointing to your Gerrit server, and
you should be good to go.
This mini-project provided a chance to learn some CoffeeScript, which is actually quite interesting for being “just” a pretty syntax on top of Javascript.