Skip to main content

Git and issue tracking system integration

Project description

git-ticket is a git extension to help developers manage the issue/ticket tracking system.

git-ticket supports github, bitbucket, and redmine.

This tool is currentry under development state and not tested enough.

Screenshot

list command:

https://raw.github.com/aflc/git-ticket/gh-pages/ex_list.png

show command:

https://raw.github.com/aflc/git-ticket/gh-pages/ex_show.png

Installation

From PyPI:

pip install gitticket

or github(unstable):

pip install -e git+https://github.com/aflc/git-ticket.git#egg=git-ticket

Usage

configuration

For github:

git config ticket.github.token <your_access_token>

To get your access token, try this:

git ticket github-authorize

For bitbucket:

git config ticket.bitbucket.token <your_access_token>
git config ticket.bitbucket.token-secret <your_access_token_secret>

To get your access token and access token secret, try this:

git ticket bitbucket-authorize

For redmine:

git config ticket.redmine.token <your_apikey>
git config ticket.redmine.url <your_redmine_root>

And some other settings:

git config ticket.name <your_account_name_for_a_service> # if no value, guess from user.name
git config ticket.service <service_name> # if no value, guess from origin url
git config ticket.repo <repository_name> # if no value, guess from origin url or root derectory name.

For Redmine service, you must set ticket.service=redmine.

list a ticket

git ticket list

show detail

git ticket show <issue id>

add a ticket

git ticket add

update a ticket

git ticket update <issue id>

comment to a ticket

git ticket comment <issue id>

close a ticket

git ticket close <issue id>

ReleaseNote

v0.4.1
  • Updated: more error handlings.

  • Fixed: #16 parse error of a Redmine’s journal

v0.4
  • New: display format of list, show, add, update command.

  • Fixed: #15 Automatic guessing of a ticket service was not functioned.

v0.3.1
  • Fixed: crash if comment number is 0.

  • Fixed: fixed #13

  • Fixed: fixed #12 Change SSL settings with git’s http.sslVerify configuration.

  • Added: memoizing feature to parseconfig(); reduce repetitive process calls.

  • Fixed: remove debug prints

  • Updated: rewrite a tiket template generator

  • Fixed: At the bitbucket, forgot to display a priority when updating a ticket.

  • Fixed: At the Redmine, forgot to dicplay a status when updating a ticket.

v0.3

Initial release

What’s Next?

  • More tests

  • Documentation

  • git-flow integration

License

It is released under the MIT license.

Copyright (c) 2011 Hiroyuki Tanaka

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitticket-0.4.1.tar.gz (16.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page