foojayio / discoapi

The foojay discovery api (discoapi) is made to discover java packages (jre/jdk) from different distributions.
GNU General Public License v2.0
107 stars 12 forks source link

Temurin 17.0.4.1 for macOS not in api? #65

Closed viktor-thell-seal closed 1 year ago

viktor-thell-seal commented 1 year ago

It seems that the API for some reason is not returning the 17.0.4.1+1 release in the listing?

Example query: https://api.foojay.io/disco/v3.0/packages?package_type=jdk&latest=available&version=17&operating_system=macos&distribution=temurin&architecture=x64

It is available here: https://adoptium.net/temurin/releases

HanSolo commented 1 year ago

Thanks for the heads up...will directly check why it doesn't appear. 👍🏻

HanSolo commented 1 year ago

Ok, I think I've found the problem. The json response contains: "semver":"17.0.4+101" for 17.0.4.1 where the "openjdk_version":"17.0.4.1+1". So I will change the code to use the openjdk_version instead of the semver field to make sure to the the right version number.

HanSolo commented 1 year ago

I've fixed the problem and will deploy it later today. So the packages will probably appear tomorrow.

viktor-thell-seal commented 1 year ago

Great, thank you! 👍🏻

HanSolo commented 1 year ago

Looks like they are now in, can you please check?

viktor-thell-seal commented 1 year ago

Yes, looks good now! 🌟