Post subversion commits as Basecamp comments
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.rst
imap_to_campfire.py
subversion_basecamp_notifier.py

README.rst

subversion_basecamp_notifier.py

Requires elementtree and httplib2

  1. Drop your Basecamp info into the script
  2. Create a message in Basecamp (make sure your user entered above has access to the message)
  3. Note the message ID from the URL (it's the second number)
  4. Create a post-commit hook on your subversion repo that calls this script
#! /bin/sh
BASECAMP_MESSAGE=11111111
# $1 is the repository path
# $2 is the revision
python /path/to/subversion_basecamp_notifier.py $1 $2 $BASECAMP_MESSAGE

imap_to_campfire.py

Requires pinder

Built to run as a cron job that will periodically check an IMAP mailbox and post the email headers (from, to, subject) to a Campfire chat room.