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.
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 email@example.com'
Roll Your Own
git clone firstname.lastname@example.org: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!
Note that the sendgrid add-on limits you to 200 messages per day.
- update Pony to use gmail in production (http://scriptrunner.posterous.com/?tag=sinatraherokugmail) to send
- update the readme of the public reviewthis project to reference http://reviewth.is/