Редагувати

Поділитися через


Universal Packages upstream sources

Azure DevOps Services

With Azure Artifacts, you can enable upstream sources to start consuming packages from public registries such as NuGet.org or npmjs.com. Once you enable upstream sources, Azure Artifacts will save a copy of any packages you install from upstream. Azure Artifacts also supports using other feeds as upstream sources. In this article, you'll learn how to add a new Universal Packages upstream source with a feed in your organization or other organizations within the same Microsoft Entra ID. See Manage access with Microsoft Entra ID to learn how to connect your organization to Microsoft Entra ID.

Add a feed in your organization as an upstream source

  1. Select the gear icon at the top right corner to navigate to Feed Settings.

  2. Select Upstream sources, and then select Add Upstream.

    A screenshot showing how to add upstream.

  3. Select Azure Artifacts feed in this organization to use packages from a feed in your organization.

    A screenshot showing the types of upstream sources - same org.

  4. Select your Feed from the dropdown menu, select a View and give your upstream source a name. Make sure you check the UPack package type.

  5. Select Add when you're done, and then select Save one more time from the top right corner to save your changes.

    A screenshot showing how to set up a new Universal Packages upstream source.

Add a feed in another organization as an upstream source

  1. Select the gear icon at the top right corner to navigate to Feed Settings.

  2. Select Upstream sources, and then select Add Upstream.

    A screenshot showing how to add an upstream source.

  3. Select Azure Artifacts feed in another organization to use packages from a feed in a different organization within the same Microsoft Entra ID.

    A screenshot showing the types of upstream sources - feed in another org.

  4. Enter your Azure Artifacts feed locator, and give your upstream source a name. Make sure you check the UPack package type.

  5. Select Add when you're done, and then select Save one more time from the top right corner to save your changes.

    A screenshot showing how to set up a new Universal Packages upstream source with a feed in another organization.

View saved packages from upstream

To view the packages saved from your Universal Packages upstream source, select your UPack source from the dropdown menu.

A screenshot showing how to filter for packages from UPack upstream source.