我已经通过 BitNami Trac 堆栈安装了 Trac。
安装非常顺利,没有任何问题。
默认情况下,它已安装在以下位置
C:\Documents and Settings\Modi\BitNami Trac Stack 项目
和
C:\Documents and Settings\Modi\BitNami Trac Stack 存储库
Q1。如何添加/更改默认项目存储库?
Q2。考虑到我使用 BitNami 安装并且我完全不知道 python 文件的静默安装,我如何知道 TRAC_ENV、PYTHON_PATH 和 TRAC_PATH 变量值?
现在为了让我将提交集成到存储库(SVN) )
到 Trac 并关闭 SVN 评论中指出的错误,我应该如何继续进行提交后挂钩。
即如果我在 SVNLog 中输入,则以下评论:已修复问题 #123
(其中 #123 是 Trac 中的票证)。单击 svn 日志中的 #123 后,我应该能够浏览到特定的 Trac 票证。
有人这样做过吗?
如果是,是否有明确的文件解释如何执行上述步骤?
抱歉,如果我听起来太蠢了:)请原谅,
提前非常感谢
I have installed Trac through the BitNami Trac stack.
The installation went really smooth without any issues.
By default it has installed in the following location
C:\Documents and Settings\Modi\BitNami Trac Stack projects
and
C:\Documents and Settings\Modi\BitNami Trac Stack repository
Q1. How do i add / change the default project repository ?
Q2. How will i know the TRAC_ENV,PYTHON_PATH and TRAC_PATH variable values considering the fact i installed using BitNami and i completely have NO idea about the silent installation of python files ?
Now inorder for me to integrate the commit to the repository (SVN)
to Trac and close the bugs that were noted in the SVN Comment, how should i go ahead with the post-commit-hooks.
i.e If i entered in the SVNLog, the following comment : fixed for the issue #123
(where #123 is a ticket in Trac). I should be able to browse to the particular Trac ticket upon clicking the #123, in the svn log.
Has anyone done this ?
If yes, Is there a clear document which explains to perform the above mentioned steps.?
Sorry if i sound too dumb :) Please excuse
Thanks a lot in advance
发布评论
评论(1)
我首先尝试通过 Bitnami 安装程序安装 Trac,但发现很难自定义和更新。我在虚拟机中运行的 Linux 系统中手动安装 Trac 变得更加容易。恐怕我无法回答您的前两个问题,因为这些问题与我遇到的问题相同。我也无法在 Bitnami Trac 堆栈上找到太多文档(我一般可以在 Bitnami 上找到文档,但不能在特定堆栈上找到文档)。 Trac 的网站上有很多关于如何在各种平台上安装它的说明。如果您需要在 Bitnami 设置的默认设置之外自定义安装,我建议您阅读说明并考虑删除 Bitnami 堆栈并进行全新的手动安装。您可以在此处、此处,以及此处,并且有详细的分步说明此处。其中一些指南引用了旧版本的 Apache、Python 等,因此您可能需要获取更新的版本(如果可用)。
此论坛帖子也可能相关根据你的情况。
关于您的其他问题:是的,Trac 应该自动将提交消息中的诸如
#123
之类的文本转换为指向相应票证的链接。这是自动的,您无需配置任何内容即可实现此目的。如果您还希望 Trac 使用此信息(例如)关闭票证,请查看给出的说明 此处。I first tried to install Trac via the Bitnami installer and I found it difficult to customize and update. I had an easier time installing Trac manually inside a Linux system that was running in a virtual machine. I'm afraid I can't answer your first two questions, as those were some of the same problems that I ran up against. I was also unable to find very much documentation on the Bitnami Trac stack (I could find docs on Bitnami in general, but not on a specific stack). There are lots of instructions available on Trac's site regarding how to install it on various platforms. If you need to customize your installation beyond the default that Bitnami sets up, I would recommend reading through the instructions and considering removing the Bitnami stack and doing a fresh manual install. You can find setup instructions here, here, and here, and there are detailed step-by-step instructions here. Some of those guides reference old versions of Apache, Python, etc. so you may want to grab a more current version (when available).
This forum thread may also be relevant to your situation.
Regarding your other questions: yes, Trac should automatically convert text like
#123
in commit messages to links to the appropriate ticket. This is automatic, you don't have to configure anything to make this happen. If you also want Trac to use this information to (for example) close tickets, take a look at the instructions given here.