Trac - Windows - trac 项目是如何组织的?

发布于 2024-08-18 00:37:10 字数 419 浏览 3 评论 0原文

我正在按照官方指南在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

千寻… 2024-08-25 00:37:10

每个trac-admin <..> initenv 创建一个新的 trac 实例。如果您希望每个项目都有单独的 trac 实例,那么您应该创建单独的 trac 环境。

如果您想对位于单个 svn 存储库中的所有项目使用单个 trac 实例,那么您应该为 trac 创建单个环境。从未尝试过使用多个存储库运行单个 trac 实例,不知道是否可行。您可能必须将所有项目移至一个存储库。

在工作中,我们有几个松散相关的项目,每个项目都有自己的存储库和一个在 Windows 上运行的 trac 实例,我们将所有内容大致组织如下:

- projects
  - project_1
    - trac - trac environment for project 1
    - svn - svn repository for the project
    - misc - auth data and other stuff
  - project_2
    - trac - trac environment for project 2
    - svn - svn repository for the project 2
    - misc - auth data and other stuff
<..>

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:

- projects
  - project_1
    - trac - trac environment for project 1
    - svn - svn repository for the project
    - misc - auth data and other stuff
  - project_2
    - trac - trac environment for project 2
    - svn - svn repository for the project 2
    - misc - auth data and other stuff
<..>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文