在工件存储库中,文件集成修订版和文件夹集成修订版之间有什么区别?

发布于 2024-12-21 05:11:26 字数 211 浏览 5 评论 0原文

我正在查看不同的存储库布局,并且发现文件夹集成修订版和文件集成修订版之间的区别。

这些是相同的修订号(只是放在文件和/或文件夹上)还是不同的东西?

这是我看到两者都提到的链接:存储库布局

I'm looking at different repository layouts, and I see a distinction between folder integration revisions and file integration revisions.

Are these the same revision number (just placed on a file and/or folder) or are they different things?

Here is a link where I see both mentioned: Repository Layouts

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

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

发布评论

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

评论(1

葬﹪忆之殇 2024-12-28 05:11:26

文件夹集成修订版是指出现在工件文件夹结构中的集成修订版,而文件集成修订版是指出现在工件文件名中的集成修订版。

根据不同的构建工具标准,考虑多种集成修订路径:

标准 Ivy:

org/module/1.0-20111214124053/jars/module/1.0-20111214124053.jar

非唯一 Maven:

groupId/artifactId/1.0-SNAPSHOT/artifactId-1.0-SNAPSHOT.jar

唯一 Maven:

groupId/artifactId/1.0-SNAPSHOT/artifactId-1.0-20111412.124253-1.jar

如您所见,标准 Ivy 和非唯一 Maven 具有相同的文件和文件夹集成修订(Ivy 有 20111214124053 并且 Maven 有 SNAPSHOT),而唯一的 Maven 不同(SNAPSHOT20111412.124253-1)。

在 Artifactorys 存储库布局的上下文中,它们的值是可自定义的正则表达式,应反映集成修订版的预期值。提供此信息有助于 Artifactory 识别发布和集成修订工件之间的差异,并从路径中提取信息。

Folder integration revision refers to the integration revision as it appears in an artifacts folder structure while file integration revision refers to the integration revision as it appears in an artifacts file name.

Consider a number of integration revision paths according to different build tool standards:

Standard Ivy:

org/module/1.0-20111214124053/jars/module/1.0-20111214124053.jar

Non-unique Maven:

groupId/artifactId/1.0-SNAPSHOT/artifactId-1.0-SNAPSHOT.jar

Unique Maven:

groupId/artifactId/1.0-SNAPSHOT/artifactId-1.0-20111412.124253-1.jar

So as you can see, standard Ivy and non-unique Maven have identical file and folder integration revisions (Ivy has 20111214124053 and Maven has SNAPSHOT) while the unique Maven differs (SNAPSHOT and 20111412.124253-1).

In the context of Artifactorys repository layouts, their value is a customizable regular expression which should reflect the expected value of the integration revision. Providing this information helps Artifactory identify the difference between release and integration revision artifacts and extract the information from the path.

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