Open davosMW opened 2 months ago
Hi,
I don't see a filter plugin that can do filtering based on the number of versions a project has. It should be rather easy to calculate off the metadata and add into bandersnatch. I would accept a PR for this. Please add unittests showing it working tho.
I would imagine it to be similar to size_project_metadata
. Maybe call it versions_min_metadata
and for bonus points support a versions_max_metadata
(although I don't see a use case except maybe to filter out packages that get released daily).
Hi, I'm trying to reduce the mirror size because now the deletion takes too long. (approx 1 day with xargs + rsync)
I've found that there are 440k packages that only have 2 versions, which are quite obviously not used by anyone else but the authors themselves, and want to find a way to filter them.
Is there any way we can do this?