Campfire SVN and email notification

Here’s a quick way to add Subversion notification for Campfire using Tinder.

Create svn-campfire.rb with the correct username and password:

Add this to your SVN post-commit hook:

Here’s a quick way to send emails to campfire. Create an email address to use for sending messages to campfire and then create mailer-campfire.rb with your domain, usernames and passwords:

Then create a cron job to fire this off every minute:

We also use it to remind us of daily standups:

Our cron job fires it off every weekday at 2pm.:

Next step, create a Jabber gateway for Campfire using Tinder.