forgejo/models/packages
Earl Warren ff6aceaeac
feat: optimize the FindUnreferencedPackages package query
Replace a double select with a simple select.

The complication originates from the initial implementation which
deleted packages instead of selecting them. It was justified to
workaround a problem in MySQL. But it is just a waste of resources
when collecting a list of IDs.
2024-07-27 15:57:24 +02:00
..
alpine
conan
conda
container
cran
debian
nuget
rpm
descriptor.go
package.go
package_blob.go
package_blob_upload.go
package_cleanup_rule.go
package_file.go
package_property.go
package_test.go
package_version.go