Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

supermatter/reviewth.is

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Releases

No releases published

Packages

No packages published

Languages