notify-webhook Pivotal Tracker Adaptation
notify-webhook is a git post-receive hook script that posts XML data to Pivotal Tracker's API.
This project is a fork of https://github.com/metajack/notify-webhook with very few changes to most of the content.
Additional documentation is available at http://www.bentasker.co.uk/documentation/development-programming/172-linking-a-git-repo-with-pivotal-tracker
To use notify-webhook-pivotal-tracker, just copy
notify-webhook-pivotal-tracker.py to your
.git/hooks dir and call it
post-receive. Be sure to
set it executable with
chmod 755 post-receive as well.
Configuration is handled through
git config. We use sensible defaults
Here's an example:
git config hooks.webhookurl "http://www.pivotaltracker.com/services/v3/source_commits" git config meta.apikey YOUR API KEY
The URL to the webhook consumer - the commit details will be POSTed here. The value above should be fine unless an update of the API is released
The URL of your repository browser
The URL of a commit in your repository browser.
%s is replaced with
the SHA1 hash of the commit.
This code is copyright (c) 2013 Ben Tasker