Hi devs,
I’ve heard someone doing the following to find the latest LTS version of XWiki:
curl -s http://www.xwiki.org/xwiki/bin/view/Download/| grep 'Long Term Support' | grep -Po '(?\<=\<span class="download-version fill-LTS">)(\\d+.)+\\d+(?=)'
That seems convoluted and not stable, so I thought about starting this brainstorming to add a FAQ entry on xwiki.org on how to achieve this task properly.
Some ideas:
- https://maven.xwiki.org/lts/Release doesn’t seem to mention a version
- Docker doesn’t mention the version either
-
https://github.com/docker-library/official-images/blob/master/library/xwiki#L21 search for
lts
and then deduce the version - I’m sure there are ways to query wikiepedia for the latest stable version but I don’t know how to do it (XWiki — Wikipédia)
- I remember @tmortagne mentioned a web site with the latest versions of software. I don’t remember the name but we could add a step in our RP to update it.
- Create an official service (a page) on xwiki.org to return the info directly
- Any other idea?
WDYT?
Thanks