-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuget Package Explorer only loads several nuget packages #25564
Comments
Cannot test on try.github.io - no Package support activated. |
I was aware of that problem as it's related to #23191. The problem is the client calling the "list" endpoint with the parameters |
Ok, I see the SetSessionPagination set the limit on the versions instead of the packages. In SQLite the needed query with take = 1 and Skip = 0 would be - so that the limit is executed on the packages and not the pacakge_version table. But I have no experience in xorm and if it's possible to build such a query with the engine. |
Fixes go-gitea#25564 Fixes go-gitea#23191 - Api v2 search endpoint should return only the latest version matching the query - Api v3 search endpoint should return `take` packages not package versions
Description
I have uploaded about 2900 Nuget packages to a local installed gitea instance, which worked fine. I can see all packages in the package list of the organisation in the Web-UI an also search for specific Packages.
But if I try to load all Packages e.g. in Visual Studio or in nuget Packages Explorer, i only some several of these packages:
In gitea Web-UI it looks like this:
Anybody knows this issue?
I have not testet it on try.gitea.io.
Gitea Version
1.20.0+rc2-12-g102dcfa3a
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Docker on Debian
How are you running Gitea?
As docker image
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: