问题描述
在过去,我非常喜欢将与托管在我自己的某些服务器上的subversion版本库一起使用。集成票务和在线代码浏览非常方便。
我已经使用了对于我的一些公共项目而言,但我没有钱支付额外的服务费用,特别是当我已经支付远程VPS托管费用时。
有谁知道或有任何经验设置类似Trac与Git版本控制?具体来说,我已经可以推送到远程服务器,但我希望有一些Web界面允许我(和与我一起工作的人)在不公开项目的情况下在线查看代码库的提交和当前状态。我知道,但尚未成功启动并运行。任何其他建议?
综合票务(和维基)是理想的,但并非绝对必要。
编辑:
在使用GitPlugin和Trac后,我已经能够启动并运行了。主要问题是我需要在trac.ini中这样做,为trac环境明确启用插件:
[组件]
#版本0.10
gitplugin。* =已启用
#版本0.11
tracext.git。* =已启用
我也可以尝试和,因为这看起来像是我正在寻找的其他软件。欢迎您提出任何其他建议。
您应该看看Redmine()。它具有您提及的所有功能以及更多功能。你可以在你自己的虚拟主机上托管它(我这样做)。
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 convenient.
I have used github for some of my public projects but I don't have the money to shell out for an extra service, espcially when I am already paying for remote VPS hosting.
Does anyone know of or have any experience setting up something like Trac with git version control? Specifically, I can already push to a remote server but I would like some web interface that allows me (and people working with me) to see that commits and current state of the codebase online without making the project public. I am aware of GitPlugin but have not been able to get it up and running successfully. Any other suggestions?
Integrated ticketing (and wiki) is desired but not an absolute necessity.
Edit:
After playing around with GitPlugin and Trac a bit more I have been able to get it up and running. The main problem was that I needed to explicitly enable the plugin for the trac environment by doing something like this in trac.ini:
[components]
# for version 0.10
gitplugin.* = enabled
# for version 0.11
tracext.git.* = enabled
I may also try out Redmine and CGit as this seem like other pieces of software that do what I am looking for. Any other suggestions are welcome.
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).
这篇关于Git和Trac(或类似)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!