Git and Trac (or similar)

后端 未结 16 790
广开言路
广开言路 2020-12-22 19:33

In the past I have really enjoyed using Trac with subversion repositories hosted on some of my own servers. The integrated ticketing and online code browsing is very conven

相关标签:
16条回答
  • 2020-12-22 19:44

    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.
    0 讨论(0)
  • 2020-12-22 19:45

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

    0 讨论(0)
  • 2020-12-22 19:45

    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.

    0 讨论(0)
  • 2020-12-22 19:48

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

    0 讨论(0)
  • 2020-12-22 19:51

    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.

    0 讨论(0)
  • 2020-12-22 19:54

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

    0 讨论(0)
提交回复
热议问题