NuGetGallery: V2 Search endpoint does not return all versions when no filter is provided
nuget.exe list -AllVersions expects the Search() OData endpoint to return all versions per ID (while still observing the includePrerelease=true parameter.
Reasoning:
nuget.exe list -AllVersions -source http://www.nuget.org/api/v2does not return all versions.- MyGet does 😉
- It is at least partially plumbed through from the gallery to the V2 search endpoint.
- The V2 search endpoint (JSON) supports it with
ignoreFilter=true:
I think there the Gallery should pass ignoreFilter=true to the V2 search service when there is no $filter provided to the OData Search() endpoint.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 3
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Add listed property to hijack index (#452) Progress on https://github.com/NuGet/NuGetGallery/issues/3274 Progress on https://github.com/NuGet/NuGetGallery/issues/6453 — committed to NuGet/NuGet.Services.Metadata by joelverhagen 6 years ago
- Add listed property to hijack index (#452) Progress on https://github.com/NuGet/NuGetGallery/issues/3274 Progress on https://github.com/NuGet/NuGetGallery/issues/6453 — committed to NuGet/NuGet.Jobs by joelverhagen 6 years ago
ETA on fix for this? It’s not possible to automate the delisting of a package if you can’t list all of them. Unfortunately the nuget.org UI makes you delist each version of a package separately. Anyways, seems bad form to be unable to list all versions of a package. Seems like one of the basic operations one would expect.
This is a pretty glaring, annoying bug. We can’t discover different package versions with nuget’s list command. We have an internal package management tool that allows users to specify a wildcard in the version they want, e.g. 4.* to get the latest 4.x.x.x version of a package. Please bump this up in priority and fix ASAP.