bagetter / BaGetter

A lightweight NuGet and symbol server
https://www.bagetter.com
MIT License
166 stars 38 forks source link

Paging for nuget feed clients (chocolatey) #104

Open Schroedingers-Cat opened 3 months ago

Schroedingers-Cat commented 3 months ago

Problem

It seems that paging isn't supported when using the chocolatey GUI client to browse a nuget feed from bagetter:
grafik

Solution

When using chocolatey GUI to browse another NuGet feed like nuget.org or chocolatey.org, paging works fine:
grafik

Additional context

Regenhardt commented 3 months ago

Looks like Chocolatey uses something of NuGet itself, something derived from NuGet.Protocol.Core.Types.PackageSearchResource, and does indeed pass skip/take parameters to it if I understand that call correctly. Not sure what the implementation is yet, gonna have to check NuGet for the actual implementation and compare the protocol to how BaGetter does it exactly.

TheCakeIsNaOH commented 3 months ago

Looks like Chocolatey uses something of NuGet itself, something derived from

Chocolatey (Both CLI and GUI) use a fork of the NuGet Client libraries: https://github.com/chocolatey/nuget.client

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 90 days with no activity. Remove the stale label, comment, or this will be closed in 5 days.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been stale for 5 days with no activity.