Open
Description
Feature Description
Right now, Gitea uses the creation time of a package to determine when to delete it via cleanup rules. This works fine for most packages, but it doesn't quite fit how Maven snapshot versions are used. Snapshots often get updated frequently while keeping the same version label (like 1.0.0-SNAPSHOT
). So even if a snapshot was created a while ago, it might still be actively used and updated.
That's why it makes more sense to base cleanup decisions on the last updated time instead of when it was first created - at least for snapshots. This way, actively used snapshots aren't deleted just because they were created a long time ago.
Proposed Solution:
- Allow package cleanup rules to choose whether to use
created_at
orlast_updated_at
- For snapshot versions, it might even make sense to default to using
last_updated_at
Screenshots
No response