Cleanup Rules for Packages Should Use "Last Updated" Time for Maven Snapshots #34382
Labels
topic/packages
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
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:
created_at
orlast_updated_at
last_updated_at
Screenshots
No response
The text was updated successfully, but these errors were encountered: