Thank you Jeyvison, nice to see that.
Let me just note that one reason for asking the question, (which I forgot to actually explicitly include), is that it’s not obvious that the hosted web app is running the latest GitHub / Maven Central releases.
I’m imagining the hosted site gets updated separately (whereas if it’s actually one single pipeline/job updating both then my question has a simpler answer: just look at the latest Maven central release).
I’ll still try to code up an endpoint when I get the chance.
From: starter-dev <starter-dev-bounces@xxxxxxxxxxx>
On Behalf Of Jeyvison Nascimento
Sent: Tuesday, May 9, 2023 10:25 AM
To: starter developer discussions <starter-dev@xxxxxxxxxxx>
Subject: [EXTERNAL] Re: [starter-dev] Adding UI/archetype version info to UI app
Just added release badges to README: https: //github. com/eclipse-ee4j/starter/commit/2b50a02d4004753a263b49d0297a200b888bd9ed Em seg. , 8 de mai. de 2023 às 17: 21,
Jeyvison Nascimento <jeynoronha@ gmail. com> escreveu: This seems a good idea
This Message Is From an External Sender
|
This message came from outside your organization.
|
|
|
This seems a good idea and an easy win would indeed be the github badge , for sure, although we may create an endpoint later to expose these infos.
For people working a bit on the starter but not keeping close track of the updates to the hosted app, it seemed it could be nice to have an endpoint which returns the current, live
version of the UI at https://start.jakarta.ee/index.xhtml plus the archetypes being served.
(I’d think the typical end-user wouldn’t care so much).
The UI version could get written out at build time from the ${project.version} whereas the archetype version could reflect the env var being used.
We could use a separate ../version URL path linked at the bottom of the single page ( or I guess just include it inline if it’s not too cluttered).
Does this seem useful? Or is there already an obvious way to do this?
I could also imagine this problem addressed from a totally different angle by having the Jenkins pipeline etc. update a “badge” on the GitHub repo.
Thoughts?
Scott
_______________________________________________
starter-dev mailing list
starter-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/starter-dev
--
--