1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/services/packages
KN4CK3R 0c6ae61229
Allow package cleanup from admin page (#25307)
Until now expired package data gets deleted daily by a cronjob. The
admin page shows the size of all packages and the size of unreferenced
data. The users (#25035, #20631) expect the deletion of this data if
they run the cronjob from the admin page but the job only deletes data
older than 24h.

This PR adds a new button which deletes all expired data.

![grafik](https://github.com/go-gitea/gitea/assets/1666336/b3e35d73-9496-4fa7-a20c-e5d30b1f6850)

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-08-08 00:46:10 +00:00
..
alpine Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
cargo Implement Cargo HTTP index (#24452) 2023-05-03 16:58:43 -04:00
cleanup Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
container Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
debian Prevent newline errors with Debian packages (#26332) 2023-08-05 10:59:52 +02:00
rpm Fix version in rpm repodata/primary.xml.gz (#26009) 2023-07-21 19:41:38 +00:00
auth.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
packages.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00