36

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?

2
  • Whichever tracker you choose, you'll probably end up with Git hooks in order to update tracker as soon as something is pushed.
    – tishma
    Sep 8, 2011 at 9:42
  • I suggest www.assembla.com - it has a strong git+bugtracker integration out-of-the-box and it also has custom server-side hooks, allowing you to add your own hooks and make the integration even stronger, with no need to distribute the hooks across all the developer machines.
    – Titas
    May 19, 2013 at 15:32

11 Answers 11

20

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.

17

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.

3
  • 3
    This is pretty useless since it uses gitweb or github repositories. Feb 23, 2010 at 21:08
  • 1
    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.
    – tishma
    Sep 8, 2011 at 9:38
  • 1
    @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 . Sep 9, 2011 at 11:12
8

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

2

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

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

2
  • 1
    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.
    – Macha
    Jul 4, 2010 at 16:06
  • True, and it is really slow - I'm searching for another solution... Jul 18, 2010 at 21:17
2

Yeah, I have been looking for something similar! there is no documentation on redmine but the only feature that I am aware is that if you append a dash (#) and a issue number you get a link to that issue.

For example:

$ git commit -a -m '#45 makes earth rotate in reverse!'

would be on visible on the repository and the number will link to the issue #45!

I really want to make it so if a commit is liked to a specific issue the commit-message gets appended to the issue.

and yes, close, fixed and stuff like that would be great!

I've been browsing for such (git-hooks) or features in redmine for a while but not much luck! (their documentation sucks!)

somebody post some updates on this topic!

1
  • +1 Actually, by default "#45" is not enough - it needs a keyword refs - "refs #45", but it can be configured to work without it.
    – tishma
    Sep 8, 2011 at 9:36
1

BugTracker.NET is a web-based bug tracking system that has git integration. The web pages for the git integration look pretty much like the ones for the subversion integration, documented here.

You can read more about the philosophy that guided BugTracker.NET/Git integration in this Stackoverflow question: How does bug tracker/version control integration work with typical git workflows?

See also this question: https://stackoverflow.com/questions/229303/are-there-any-good-issue-tracking-systems-that-can-track-git-commits-branches

1

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).

0

Check out this link here. It provides a tutorial on how Git can be used to integrate with Rational Team Concert. It will give some basic information which can be used to integrate Git with a wide range of other products.

0

for integration with Bugzilla, you can use git-bz:

http://git.fishsoup.net/man/git-bz.html

it's heavily used in the GNOME project.

0

There is sdorra scm-manager tool, integrating Git and Jira

TrackStudio, since version 4, also has Git integration

0

Assembla offers a free git repository that is private and an integrated bug tracking system - you can change ticket statuses or track time directly through your commit messages. They also offer custom server-side hooks - which allow you to write your own logic and then use it - anything from rejecting commits that do not match certain rules of yours, to starting a CI build after a commit is received.

Not the answer you're looking for? Browse other questions tagged or ask your own question.