Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lincolnloop/external-api-integration
Post subversion commits as Basecamp comments
https://github.com/lincolnloop/external-api-integration
Last synced: 5 days ago
JSON representation
Post subversion commits as Basecamp comments
- Host: GitHub
- URL: https://github.com/lincolnloop/external-api-integration
- Owner: lincolnloop
- Created: 2008-10-10T03:58:44.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2008-11-24T15:25:25.000Z (about 16 years ago)
- Last Synced: 2024-07-30T15:32:42.583Z (5 months ago)
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
subversion_basecamp_notifier.py
===============================Requires ``elementtree`` and ``httplib2``
#. Drop your Basecamp info into the script
#. Create a message in Basecamp (make sure your user entered above has access to the message)
#. Note the message ID from the URL (it's the second number)
#. 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_MESSAGEimap_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.
.. _pinder: http://dev.oluyede.org/pinder/
.. _Campfire: http://www.campfirenow.com