Bug tracker setup with Git integration?

49,895

Solution 1

Redmine can do some of what you're asking for. Integration works in one direction, you must reference issues in commit messages, and then this data will be available in redmine.

The data is then available in two views. The bug display will include a list of matched commits. The repository display will link commits to bug display pages.

Redmine keeps a local (bare) repository for each project. This can be the primary repo or a remote mirror. On updates, redmine parses the commit messages and updates an internal cross reference table of change_set,issue.

If the redmine repository is only used as a mirror, it will need to be updated. Updates can happen via cron or via external hook. We use a redmine github plugin and a github post-receive hook to keep redmine in sync with a primary github repository.

It works, but it is still a bit clumsy.

Solution 2

Mantis has a good Git integration, and it's exercised by the developers themselves, as the development is driven by Git.

This is how changesets attached to an issue will appear:

Changeset attached to an issue

You can find more documentation at Integrating Git and SVN with the Mantis Bug Tracker.

Solution 3

There's also GitZilla (I'm the author).

Solution 4

trac has a git plugin - it works like the svn version...

http://trac-hacks.org/wiki/TracGitPlugin

Solution 5

https://bitbucket.org - technically it's a DVCS service, but it has fully integrated issue tracking. And it's services are really free for small teams (and unlimited free service for .edu people too).

Share:
49,895
Jordi Bunster
Author by

Jordi Bunster

Updated on July 09, 2022

Comments

  • Jordi Bunster
    Jordi Bunster almost 2 years

    I know I can do most of this by hacking Trac and using Git hooks, but I was wondering if someone has / knows of something ready.

    Commenting on (and closing) tickets from commit messages would be nice, specially if the diff appears inline with the comment/closing remark.

    sha1 hashes should be auto-linked to gitweb/cigt/custom git browser.

    I tried the GitPlugin for Trac, but the code browser was soo slow... any alternatives?

  • Phillip Whelan
    Phillip Whelan over 14 years
    This is pretty useless since it uses gitweb or github repositories.
  • Macha
    Macha almost 14 years
    This has been discontinued. A new plugin is at trac-hacks.org/wiki/GitPlugin , but, at least for me, it doesn't work on Trac 0.12 that well.
  • Andreas Rehm
    Andreas Rehm almost 14 years
    True, and it is really slow - I'm searching for another solution...
  • tishma
    tishma almost 13 years
    Tried this, configured gitweb, and finally got to the point that integration works via gitweb HTML parsing which is subject to change. The bottom line is that in order to get mantis integration to work, you must have specific git/gitweb version&configuration so the parser doesn't get confused. Poor choice, especially because gitweb also offers feeds which are definitely less likely to change.
  • Robert Munteanu
    Robert Munteanu almost 13 years
    @tishma . You should raise a bug report on noswap.com/mantis/my_view_page.php or - even better - contribute on github.com/mantisbt-plugins/source-integration .