-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK 21 EA API request doesn't return latest build #794
Comments
/cc @johnoliver @sxa |
Hi, Meanwhile, I think that you can use the asset search instead: https://api.adoptium.net/q/swagger-ui/#/Assets/searchReleases
Then get the link attribute from the first result. Hope it helps. |
Thanks! While that works, I'm looking for a standard process that will work long-term. My understanding is that we had "fixed" JDK 21 ea releases available through the API prior GA and that is now biting us. So I'm looking for a solution that will work for the "tagged" EA release as well as nightly EA releases. Or at least look for documentation as to how this works. Hope that makes some sense. |
Perhaps the reason for this behaviour is Oracle still leading that project and no new |
Yeah the reason we've enabled regular nightlies is because of the lack of |
The issue is that the versions are:
vs
sorting will typically put the optional of |
Interesting ... Thanks for the analysis @johnoliver ... In which case the API is doing what I'd expect, but the obvious question is why the latest builds are still identifying themselves as 21.0.1 instead of 21.0.2. |
@sxa As jdk21u is currently Oracle managed, there are no jdk-21.0.2 tags, and won't be until Oracle publish them all on release day. Hence the most recent tag is "jdk-21.0.1+12" Hence, why we currently build jdk21u via "HEAD" as a weekend Weekly build. Once jdk21u is taken over by whichever organization is managing it, and regular builds/tags for the following release appear (jdk-21.0.3+), then it can change to being "tag build driven" |
Yep aware of all that - but we really need a solution to let people get the latest nightlies. Perhaps we need to override it to 21.0.2 or something else instead of using the tag in this situation. |
So we could achieve that by manually tagging are mirror with something? but we can't chose a tag name that will eventually appear from Oracle (ie.jdk-21.0.2+1/2/3/4) At the moment the jdk21u repo HEAD is essentially jdk-21.0.2 targeted "public" commits with jdk-21.0.1+12 merged in. |
Can't we just wait 2 week? |
jdk-21.0.2+0? Gut feel is that it's not ideal to label these nightlies 21.0.1 when they are effectively early builds of 21.0.2.
We could, but we ought to have some idea of how to handle it in the future. For the evaluation platforms I expect we'll continue to have such a tag that we make available (i.e. |
jdk-21.0.2+0 already exists, it's actually the old Oracle branch point for jdk-21.0.2, so is quite old |
Would changing |
Describe the bug
When I attempt to get the latest nightly, then the API returns a 3-weeks old release. This one:
https://github.com/adoptium/temurin21-binaries/releases/jdk-21.0.1%2B12-ea-beta/
However, there has been newer builds since. For example this one from two days ago:
https://github.com/adoptium/temurin21-binaries/releases/jdk21u-2023-11-08-15-55-beta
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Return a redirect to:
https://github.com/adoptium/temurin21-binaries/releases/download/jdk21u-2023-11-08-15-55-beta/OpenJDK21U-jdk_x64_linux_hotspot_2023-11-08-15-55.tar.gz
The text was updated successfully, but these errors were encountered: