为什么 azure artifacts 包括所有参考第 3 包
why azure artifacts include all reference 3rd packages
我有两个包裹(A 和 B)
- 包-B 参考包-A
- package-A 从 nuget
引用一些第三个包
当我将包 B 发布到 Azure Artifacts 时,
为什么来自 nuget 的所有第 3 个包也发布到 Azure Artifacts,但如果我只是将 package-A 发布到 Azure Artifacts,那只有 package-A
您已为此工件供稿启用 'Upstream sources' 设置:
Upstream sources 上的 Microsoft 文档指出:
Upstream sources enable you to use a single feed to store both the packages you produce and the packages you consume from "remote feeds": both public package managers (npmjs.com, NuGet.org, Maven Central, and PyPI) and Artifacts feeds. Once you've enabled an upstream source, any user connected to your feed can install a package from the remote feed, and your feed will save a copy.
您可以像这样删除上游资源:
- 转到 Azure DevOps 中的提要
- 点击右上角的齿轮图标
- 打开最右边的标签上游资源
- 删除您可能拥有的所有上游资源
我有两个包裹(A 和 B)
- 包-B 参考包-A
- package-A 从 nuget 引用一些第三个包
当我将包 B 发布到 Azure Artifacts 时, 为什么来自 nuget 的所有第 3 个包也发布到 Azure Artifacts,但如果我只是将 package-A 发布到 Azure Artifacts,那只有 package-A
您已为此工件供稿启用 'Upstream sources' 设置:
Upstream sources 上的 Microsoft 文档指出:
Upstream sources enable you to use a single feed to store both the packages you produce and the packages you consume from "remote feeds": both public package managers (npmjs.com, NuGet.org, Maven Central, and PyPI) and Artifacts feeds. Once you've enabled an upstream source, any user connected to your feed can install a package from the remote feed, and your feed will save a copy.
您可以像这样删除上游资源:
- 转到 Azure DevOps 中的提要
- 点击右上角的齿轮图标
- 打开最右边的标签上游资源
- 删除您可能拥有的所有上游资源