Sha256: f819e2d9d2edfdc0f9a2fcf2fd8d31600069b12aab1aca712e705983099a3d89

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

# Tracker::Git

Update Pivotal Tracker depending on your local Git repository. 

This gem finds all finished stories and bugs and if it finds the story id in a Git commit, marks that story as delivery. 

This has proved useful as part of a 'deploy to staging' strategy. If you automatically deploy to a staging environment after a successful continuous integration build, and want to update a story from 'finished' to 'delivered', then this Gem is for you.

## CI

[![Build Status](https://secure.travis-ci.org/robb1e/tracker-git.png)](http://travis-ci.org/robb1e/tracker-git)
[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/robb1e/tracker-git)
[![Dependency Status](https://gemnasium.com/robb1e/tracker-git.png)](https://gemnasium.com/robb1e/tracker-git)

## Installation

Add this line to your application's Gemfile:

    gem 'tracker-git'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install tracker-git

## Usage

This gem will create a 'tracker' binary. Call that in your deploy script with
the tracker id and access token as command line arguments, or with following
environment variables set, and your finished stories will be updated to
delivered.

    export TRACKER_PROJECT_ID=123456
    export TRACKER_TOKEN=abc123
    tracker
    
You can also pass the project id and token in as parameters

    tracker 123456 abc123

Optionally you can specify a git branch to search for completed story IDs as
the third command line argument or with the GIT\_BRANCH environment variable.

## Known Issues

- [Restarting stories](https://github.com/robb1e/tracker-git/issues/1)

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tracker-git-0.0.4 README.md