在工件存储库中,文件集成修订版和文件夹集成修订版之间有什么区别?
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
文件夹集成修订版是指出现在工件文件夹结构中的集成修订版,而文件集成修订版是指出现在工件文件名中的集成修订版。
根据不同的构建工具标准,考虑多种集成修订路径:
标准 Ivy:
非唯一 Maven:
唯一 Maven:
如您所见,标准 Ivy 和非唯一 Maven 具有相同的文件和文件夹集成修订(Ivy 有 20111214124053 并且 Maven 有 SNAPSHOT),而唯一的 Maven 不同(SNAPSHOT 和20111412.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:
Non-unique Maven:
Unique Maven:
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.