Hi,

On Tue, May 5, 2020 at 10:18 AM Carsten Ziegeler <[email protected]> wrote:
> ...So the question is, whether we want or need to keep three lists.
> We have:
> - the reporter data
> - the releases page
> - the downloads list/page ..

Good point, I only considered the first two so far.

We actually also have Maven Central which has everything, it shouldn't
be too hard to generate a release history from that?

I wrote an ugly script [2] that scrapes the HTML of
https://repo1.maven.org/maven2, and I suppose there's a Maven
repository API that does this in a much cleaner way?

We could then compute (or update incrementally) that releases data
file in the website generation process, and if desired overwrite [1]
regularly from a variant of that data for reporter.a.o

-Bertrand

[1]  
https://svn.apache.org/repos/asf/comdev/reporter.apache.org/trunk/data/releases/sling.json
[2] Script at 
https://gist.github.com/bdelacretaz/b1a9f13d6ebe60348076ffe1b2e6cebc
, here's the output (which is missing a few things - just a rough
proof of concept):

adapter-annotations/ 1.0.0/ 2012-01-12
apache-sling-jar-resource-bundle/ 1.0.0/ 2011-08-31
htl-maven-plugin/ 1.0.0/ 2016-09-05
htl-maven-plugin/ 1.0.2/ 2016-10-31
...
htl-maven-plugin/ 1.3.2-1.4.0/ 2019-12-02
htl-maven-plugin/ 1.3.4-1.4.0/ 2019-12-06
ide/ org.apache.sling.ide.api-test/ -
ide/ org.apache.sling.ide.api/ -
..
iavaversion-maven-plugin/ 1.0.0/ 2017-09-01
jspc-maven-plugin/ 2.1.0/ 2017-06-12
...
maven-jspc-plugin/ 2.0.2-incubator/ 2009-06-13
maven-jspc-plugin/ 2.0.4-incubator/ 2009-05-13
maven-jspc-plugin/ 2.0.6/ 2012-01-31
maven-jspc-plugin/ 2.0.8/ 2013-12-10

Reply via email to