Trac - Windows - trac 项目是如何组织的?
我正在按照官方指南在 Windows XP 上安装 Trac。现在所有的都已安装,并且我被告知要这样做,
trac-admin c:\trac initenv
因为我有多个 SVN 存储库,
../SVN/Repository/project 1
../SVN/Repository/project 2
../SVN/Repository/project 3
我的问题是文件夹“trac”是否将成为保存我所有项目的根文件夹,在这种情况下,我会将文件夹命名为“projects” '。但如果它不是根,我想我应该用项目名称来命名它,比如“项目1”?
如果后者是正确的,这是否意味着我应该为我的项目运行几次“trac-admin c:\projectname initenv”?
I'm following official guide to install Trac on windows xp. Now all were installed, and i am told to do
trac-admin c:\trac initenv
As i have multiple SVN repositories organized like
../SVN/Repository/project 1
../SVN/Repository/project 2
../SVN/Repository/project 3
My question is if the folder 'trac' will be a root folder that holds all my projects, in this case, i would name the folder 'projects'. But if it is not the root, i think i should name it by the project name say 'project 1' ?
And if the latter is right, does it mean i should run several times "trac-admin c:\projectname initenv" for my projects ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
每个
trac-admin <..> initenv
创建一个新的 trac 实例。如果您希望每个项目都有单独的 trac 实例,那么您应该创建单独的 trac 环境。如果您想对位于单个 svn 存储库中的所有项目使用单个 trac 实例,那么您应该为 trac 创建单个环境。从未尝试过使用多个存储库运行单个 trac 实例,不知道是否可行。您可能必须将所有项目移至一个存储库。
在工作中,我们有几个松散相关的项目,每个项目都有自己的存储库和一个在 Windows 上运行的 trac 实例,我们将所有内容大致组织如下:
Each
trac-admin <..> initenv
creates a new instance of trac. If you want separate instances of trac for each of your projects, then creating separate trac environments is what you should do.If you want to use a single instance of trac for all your projects located in a single svn repository, then you should create a single environment for trac. Never tried running a single instance of trac with several repositories, don't know if it is possible. You might have to move all the projects to a single repo.
At work we have several loosely related projects each with their own repository and an instance of trac running on windows and we have everything organized roughly like this: