Git and Trac (or similar)

拈花ヽ惹草 提交于 2019-11-29 18:59:59

You should take a look at Redmine (http://www.redmine.org/). It has all of the features you mention and more. You can host it on your own vps (I do).

We use Trac and both of the two Git plugins -- the GitPlugin as well as the GitWebPlugin. See, we actually have three repositories (long story) and Trac is still limited to a single-repository. So, I wrote my own plugin that defines wiki syntax (Macros actually) for referencing a repository, branch or commit and these link to the GitWebPlugin links. I was also able to write some git hook scripts so that we can reference, close or modify Trac tickets in commit messages -- it's a modified version of the SVN commit hook that comes with Trac.

The main problem with the GitPlugin is that it's slow due to the lack of "libgit" library. It's not bad for small-medium sized projects but large projects are a pain. If you really need a speedy web interface you should really check out Cgit. Cgit makes it's own libgit so it's tied to a particular version of Git.

The truth, however, is that web based views of Git are not that useful except when you want to send someone a link (like in email or IRC). Because with Git you have the full repository in every clone you're much better off using tools like gitk or even plain ol' git log. The queries and grepping capabilities are really amazing and (obviously) fast. I find that Cgit and GitWeb are really only useful for sending links to commits and that's pretty rare.

Tip: A completely different way to get Trac ticketing functionality is ditz.

"Ditz is a simple, light-weight distributed issue tracker designed to work with distributed version control systems like git, darcs, Mercurial, and Bazaar."

Your tickets reside with your code. It's not possible to lose one and have the other; which is a good thing. The Trac-like website is generated by the ditz command-line tool.

I enjoy it.

Assembla provides a wiki, tickets, and other things for free, and allows Github integration. If you don't want to use Github, you can use plain Git with Assembla (with all the goodies you get with any other project).

Pricing is cheap, too ("$2 per team member per month").

Since this question was asked GitHub now has integrated issue tracking. Somewhat lightweight, but for me that's a bonus.

we are using GitLab, it's an open source GitHub clone. it has

  1. online code browsing (same as GitHub sliding tree).
  2. Issues Tracking.
  3. Wikis.
  4. Also you can manage the project privileges through it.

Gitweb can be nice, but it doesn't have integrated ticketing or a wiki or anything like that.

For completeness: http://gitorious.org/

http://mtrack.wezfurlong.org/ simil Trac with Git support

Github's Trac postreceive hook has now been fixed: http://support.github.com/discussions/post-receive-issues/118-trac-service-hook

I found this when searching the other day, but I have not used it personally yet so I can not vouch for it.

http://www.indefero.net/

gitweb is great and easy to setup, git gui isn't bad either

By the way with InDefero, you can go the hosted way with 250MB free space and unlimited private/public projects. The hosted option offers Git and Subversion but sadly no Mercurial yet :/

I run Trac + Perforce, I would keep trying to get the GitPlugin to work.

JavaForge also offers free Git hosting with all the features of Trac, plus a lot more.

You can also download and install the software that powers JavaForge, if you want to do the hosting for your projects.

(Disclaimer: the software itself is a commercial product, and we are the company behind it.)

This helped out alot http://www.lowendbox.com/blog/running-trac-git-hosting-on-a-low-end-vps/ should get you pointed in the right direction to get things up and running.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!