forgejo/models/packages
KN4CK3R 27f459b63b
Fix package list performance ()
Fixes 

The new query uses the id field to sort by "newer". This most not be
correct (usually it is) but it's faster (see ).
If someone has a better idea, please propose changes.

Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit b06aac40e6552b0ce1f7b8a92c977fcc27566f68)
2024-04-21 16:28:16 +02:00
..
alpine Add Alpine package registry () 2023-05-12 17:27:50 +00:00
conan Use ErrInvalidArgument in packages () 2022-12-31 12:49:37 +01:00
conda Add Conda package registry () 2023-02-01 12:30:39 -06:00
container List all Debian package versions in Packages () 2023-10-29 14:14:47 +00:00
cran Add CRAN package registry () 2023-05-22 10:57:49 +08:00
debian List all Debian package versions in Packages () 2023-10-29 14:14:47 +00:00
nuget remove util.OptionalBool and related functions () 2024-03-06 12:10:46 +08:00
rpm Fix some RPM registry flaws () 2024-01-19 11:37:10 +00:00
descriptor.go Fix incorrect relative/absolute URL usages () 2024-03-06 12:10:46 +08:00
package.go Fix some RPM registry flaws () 2024-01-19 11:37:10 +00:00
package_blob.go Fix some RPM registry flaws () 2024-01-19 11:37:10 +00:00
package_blob_upload.go Use ErrInvalidArgument in packages () 2022-12-31 12:49:37 +01:00
package_cleanup_rule.go Use ErrInvalidArgument in packages () 2022-12-31 12:49:37 +01:00
package_file.go Fix some RPM registry flaws () 2024-01-19 11:37:10 +00:00
package_property.go Add Alpine package registry () 2023-05-12 17:27:50 +00:00
package_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
package_version.go Fix package list performance () 2024-04-21 16:28:16 +02:00