forgejo/modules/packages
KN4CK3R 461d8b53c2
Fix some RPM registry flaws (#28782)
Related #26984
(https://github.com/go-gitea/gitea/pull/26984#issuecomment-1889588912)

Fix admin cleanup message.
Fix models `Get` not respecting default values.
Rebuild RPM repository files after cleanup.
Do not add RPM group to package version name.
Force stable sorting of Alpine/Debian/RPM repository data.
Fix missing deferred `Close`.
Add tests for multiple RPM groups.
Removed non-cached `ReplaceAllStringRegex`.

If there are multiple groups available, it's stated in the package
installation screen:

![grafik](https://github.com/go-gitea/gitea/assets/1666336/8f132760-882c-4ab8-9678-77e47dfc4415)
2024-01-19 11:37:10 +00:00
..
alpine Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
cargo Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
chef Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
composer Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
conan
conda Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
container Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
cran Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
debian Prevent newline errors with Debian packages (#26332) 2023-08-05 10:59:52 +02:00
goproxy Add Go package registry (#24687) 2023-05-14 23:38:40 +08:00
helm Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
maven Add support for different Maven POM encoding (#25873) 2023-07-14 09:39:15 +00:00
npm Fix NPM packages name validation (#26595) 2023-08-20 15:06:42 +00:00
nuget Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
pub Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
pypi
rpm Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
rubygems Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
swift Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
vagrant
content_store.go Add direct serving of package content (#25543) 2023-07-03 15:33:28 +02:00
hashed_buffer.go Close all hashed buffers (#27787) 2023-10-25 21:24:24 +02:00
hashed_buffer_test.go Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
multi_hasher.go
multi_hasher_test.go