AdoptOpenJDK/openjdk-api

Add an LTS and/or supported flag to releases

karianna opened this issue · 2 comments

This is to support the website so that the home page can differentiate between supported releases (that should be displayed on the home page, e.g. Java 8 and 11) and not (9, 10 etc).

I'd argue a supported concept is the more accurate thing to do here.

In the website code, from ddunn2:

My latest commit (where the LTS flag is added) actually adds the functionality for us to do this, as we store whether this version is in LTS in the config.json.

So yes it should be possible, I'll push up a proposed fix for you to take a look at.

Thanks.

  @ddunn2
ddunn2 28 minutes ago
Woops... I didn't see your comments @karianna, Would you prefer to leave it in that issue?

  @ddunn2
ddunn2 21 minutes ago
I don't have the capability to do it on creation of the buttons yet. I did try that approach but would have needed to refactor various parts of the project.

I'm about to push up a new commit that will at least remove the hard coded version names and will at least future proof against newer JDKs being added in the mean time.

Open v3 ticket for this exists.