Description
Description
The Gitea package cleanup rules only seem to be setup to delete old packages/versions. However, they do not seem to provide a mechanism for deleting older artifacts from SNAPSHOT builds within a versions.
We currently have a master branch where an artifact with version P.V-SNAPSHOT has almost 800 files (each build creates a JAR, JAVADOC, SOURCE, CLASSES) - each with timestamps in the name. But it seems we cannot create a rule to keep at most 3 snapshot builds, or only keep the latest, or delete all older 30 days - those rules only apply to packages and versions in their entirety.
Originally mentioned on Forum: https://forum.gitea.com/t/gitea-maven-snapshot-cleanup/9778/2

Gitea Version
3479ca8ec
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
unknown (hosted)
Operating System
Linux
How are you running Gitea?
Cannot answer as hosted by our DOAAS provider in-house. I don't think it is relevant to the problem, but if required, please let me know and I will get the required information.
Database
None