Skip to content

dotnet-public mirror has all packages as listed despite the fact that they're unlisted on nuget.org #17414

Description

@nkolev92

https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json is supposed to be faithful mirror of https://api.nuget.org/v3/index.json, but only packages used within our builds.

Take NuGet.Commands for example.
https://www.nuget.org/packages/NuGet.Commands

NuGet.org - https://api.nuget.org/v3/registration5-gz-semver2/nuget.commands/index.json. Many packages exist, some such as 3.2.0 are unlisted.

dotnet-public - https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/registrations2-semver2/nuget.commands/index.json - Every single package version is listed.

I imagine there's 2 challenges here.

  1. Mirroring new packages. When the packages are mirrored and all their versions, their listedness is not perfectly matched.
  2. Maintaining the listed status to match nuget.org. This is much costlier and I'd argue less important.

This discrepancy can lead to confusion about which exact versions to use.

Inspired by https://developercommunity.visualstudio.com/t/Nuget-Package-change-from-date-based-Ver/11139012

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions