Hi,

> Purging old releases needs at least two data sources:
> - the list of files on downloads.apache.org <http://downloads.apache.org/> 
> (or the dist.a.o source).
> This is trivial to obtain.
> - the list of current versions for each release. This is the most
> difficult part.

The check dist area script I wrote attempts to do this. [1] It get the list of 
released version from the download page and matches them up with what is in the 
dist area. To be complete you also need to look in the archives (which I’ve not 
done yet).  It does have some of the issues you mention but it’s a start and 
worked for abut 90% of Incubating projects. having something that works for 
project project is probably a good start and it can be refined from there.

Kind Regards,
Justin

1. https://github.com/justinmclean/ReleaseChecker/blob/main/checkdistarea.py

Reply via email to