颠覆一次

发布于 2024-11-09 05:32:44 字数 543 浏览 4 评论 0原文

可能的重复:
“分支”、“标签”和“主干”的真正含义是什么?

我是颠覆新手,所以请耐心等待。我知道存储库的标准目录结构如下:

/branches/
/tags/
/trunk/

我不确定每个目录的用途。有人可以:

  1. 描述每个目录的用途
  2. 单用户环境中的项目管理提供示例目录结构
  3. 多用户环境中的项目管理提供示例目录结构环境
  4. 为父项目提供示例目录结构,其中将包含多个附加组件,每个附加组件都是自己的较小项目

对于问题的崩溃列表,我们深表歉意。对于好的答案,我将给予加分。

谢谢您的宝贵时间!

Possible Duplicate:
What do “branch”, “tag” and “trunk” really mean?

I am brand new to subversion, so please bear with me. I know that the standard directory structure for a repository are as follows:

/branches/
/tags/
/trunk/

I'm not sure what each of these directories are for. Could someone:

  1. describe the purpose of each directory
  2. provide a sample directory structure for project management in a single-user environment
  3. provide a sample directory structure for project management in a multi-user environment
  4. provide sample directory structure(s) for a parent project which will contain multiple add-ons, each being their own smaller project

Sorry for the crash list of questions. I will award extra points for good answers.

Thank you for your time!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

黎夕旧梦 2024-11-16 05:32:44

你可以看看这里:“branch”、“tag”和“ trunk”在 Subversion 存储库中意味着什么?

一个额外的细节是所有文件夹都是相同的,这只是具有这种结构的约定,它们本身没有特殊含义。该结构在单用户或多用户环境中应该是相同的,并且通常是问题中的结构。

在多用户环境中,有时我们有 /privatebranches ,这意味着它是某种尖峰,不适合一般用途。此外,这些可能是非标准的,如主干中特定文件夹的分支等。

对于多个附加类型项目:

repo   
    project1
        trunk
        branches
        tags
    addon1
        trunk
        branches
        tags
    addon2
        trunk
        branches
        tags

同样在这种情况下,您可以查看使用 svn externals 来管理项目。因此它们仍将具有上述结构,但您可以使附加组件看起来像是包含在 Project1 中

you can look here : What do "branch", "tag" and "trunk" mean in Subversion repositories?

One additional detail is that all the folders are just same, it is just a convention to have this structure and they do not have special meaning per se. The structure should be the same in single-user or multi-user environment and it is the one in the question generally.

In multi-user environment, sometimes we have /privatebranches meaning that it is some sort of spike and is not for general use. Also these may be non standard as in branch of a particular folder within trunk etc.

For multiple add-ons type project:

repo   
    project1
        trunk
        branches
        tags
    addon1
        trunk
        branches
        tags
    addon2
        trunk
        branches
        tags

Also in that case you can look at using svn externals to manages the projects. So they will still have the above structure, but you can make it seem like the add-ons are contained within Project1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文