reviewth.is hosted
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
templates
.gems
.gitignore
README.markdown
config.ru
reviewthis.rb

README.markdown

reviewthis

reviewthis is a simple Sinatra app that parses github commit messages and sends email notifications based on their contents. We use it to request code reviews from other team members.

Usage

If a commit message includes the hash #reviewthis, any github user (signified by @username) will get an email (if they have a public email address in their github profile). Also, any email address included gets an email as well. An example commit:

git commit -am 'I fixed that one nasty bug. #reviewthis @supermatter adifferentperson@supermatter.com'

Roll Your Own

reviewthis is currently configured to be easily deployed to heroku. Here's how (assuming you have the heroku gem installed and configured):

git clone git@github.com:supermatter/reviewthis.git
cd reviewthis/
heroku create
heroku addons:add sendgrid:free
git push heroku master

Now, just take the app name that heroku created for you, and set it as a Post-Receive URL for your repo. Your all set!

Requirements

Besides Sinatra, reviewthis requires json,mustache, pony, and octopussy.

Note that the sendgrid add-on limits you to 200 messages per day.

TODO

  1. update Pony to use gmail in production (http://scriptrunner.posterous.com/?tag=sinatraherokugmail) to send
  2. update the readme of the public reviewthis project to reference http://reviewth.is/
  3. profit!