Skip to content

Latest commit

 

History

History
76 lines (44 loc) · 3.04 KB

File metadata and controls

76 lines (44 loc) · 3.04 KB
title Search for packages in upstream sources
description How to search for packages in upstream sources
ms.service azure-devops-artifacts
ms.topic how-to
ms.date 09/29/2022
monikerRange >= azure-devops-2022

Search for packages in upstream sources

[!INCLUDE version-gt-eq-2022]

Using upstream sources enable developers to consume packages from different feeds and public registries. This tutorial will walk you through how to enable upstream sources in your feed and search for packages in upstreams.

Enable upstream sources

  1. Navigate to your project, and then select Artifacts.

  2. Select the gear icon gear icon to navigate to your Feed Settings.

  3. Select Upstream Sources.

  4. Select Add Upstream.

  5. Select Public source, and then select the Public source. (Example NuGet gallery (https://api.nuget.org/v3/index.json))

  6. Select Add when you're done.

    :::image type="content" source="../media/enable-upstream.png" alt-text="A screenshot showing how to add the NuGet upstream.":::

Search upstream sources

  1. Navigate to your project, and then select Artifacts.

  2. Select your feed from the dropdown menu.

  3. Select Search Upstream Sources at the top right of your screen.

    :::image type="content" source="../media/search-upstream-sources.png" alt-text="A screenshot showing the search upstream sources button.":::

  4. Select the Package type and type your Package Name. (The package name is case sensitive and must be an exact match).

  5. Select Search when you're done.

    :::image type="content" source="../media/search-upstreams.png" alt-text="A screenshot showing how to search for a package in upstream sources.":::

  6. A list of package versions will be displayed as follows:

    :::image type="content" source="../media/upstream-packages.png" alt-text="A screenshot showing package versions from upstream.":::

Note

Searching for packages in upstream sources from your feed is only supported in Azure DevOps services.

Save packages

  1. To save a package, select the ellipsis button and then select Save to feed.

    :::image type="content" source="../media/save-from-upstream.png" alt-text="A screenshot showing how to save a package from upstream source.":::

  2. Select Save to save the package to your feed.

    :::image type="content" source="../media/save-confirmation.png" alt-text="A screenshot showing the save confirmation message.":::

  3. The saved versions will have the In this feed tag.

    :::image type="content" source="../media/downloaded-versions-from-upstream.png" alt-text="A screenshot showing the downloaded versions.":::

Note

Saving package versions to your feed from the search upstreams result list is only supported for NuGet, Npm, and Universal Packages.

Related articles