Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 3 commits ahead, 75 commits behind metajack:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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.

The base code implements the GitHub Web hooks API as closely as possible, allowing arbitrary git repositories to use webhook capable services. At the moment, however, this fork only supports commits!

Additional documentation is available at http://www.bentasker.co.uk/documentation/development-programming/172-linking-a-git-repo-with-pivotal-tracker

Dependencies

dict2xml2

Usage

To use notify-webhook-pivotal-tracker, just copy notify-webhook-pivotal-tracker.py to your repository's .git/hooks dir and call it post-receive. Be sure to set it executable with chmod 755 post-receive as well.

Configuration

Configuration is handled through git config. We use sensible defaults where possible.

Here's an example:

git config hooks.webhookurl "http://www.pivotaltracker.com/services/v3/source_commits"
git config meta.apikey YOUR API KEY

hooks.webhookurl

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

meta.url

The URL of your repository browser

Defaults to None

meta.commiturl

The URL of a commit in your repository browser. %s is replaced with the SHA1 hash of the commit.
Defaults to meta.url+'/commit/%s' or None

License

This code is copyright (c) 2013 Ben Tasker

Original copyright (c) 2008 Jack Moffitt jack@metajack.im and is available under the GPLv3. See LICENSE.txt for details.

About

Git post-receive web hook notifier in Python for Pivotal Tracker

Resources

License

Releases

No releases published

Packages

No packages published

Languages