Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bug tracker setup with Git integration? [closed]

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?

like image 755
Jordi Bunster Avatar asked Sep 02 '08 20:09

Jordi Bunster


People also ask

Can GitHub be used for bug tracking?

GitHub is a well-known repository hosting service. Apart from that, it is a great tool for collaboration and project management. Developers love it, they know how to use it and they do it regularly. For these reasons, it will be expedient to use it also for bug tracking.

What is git bug tracking systems?

git-bug is a distributed bug tracker that is embedded in git. Using git's internal storage ensures that no files are added in your project. You can push your bugs to the same git remote that you are already using to collaborate with other people.

What features does a bug tracker need?

The ability to mark resolution status (fixed, won't fix, can't reproduce, etc.) The ability to Close bugs/features (take them off list after resolution & testing) The ability to Reopen bugs/features (restore to "Open" if testing fails) The ability to inform customers the bug has been resolved (e.g. via email)


1 Answers

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.

like image 95
JW. Avatar answered Sep 21 '22 13:09

JW.