foojayio / discoapi

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

Packages for aoj miss some platforms for Java 9 #25

Closed marchof closed 2 years ago

marchof commented 3 years ago

Actual

https://api.foojay.io/disco/v1.0/packages?distro=aoj&version=9&latest=overall

Expected

The platforms macos-x64, linux-arm64should be reported, see:

https://adoptopenjdk.net/releases.html?variant=openjdk9

marchof commented 3 years ago

Just retested: Looks like the packages are still missing.

geertjanw commented 3 years ago

Gerrit will check and get back to you ASAP.

marchof commented 2 years ago

Just retested: Looks like the packages are still missing.

HanSolo commented 2 years ago

Hmm...just checked and Disco has the macos x64 and linux aarch64 packages available... Linux: https://api.foojay.io/disco/v2.0/packages?version=9&distro=aoj&architecture=aarch64&operating_system=linux&release_status=ga&latest=available Macos: https://api.foojay.io/disco/v2.0/packages?version=9&distro=aoj&architecture=x64&operating_system=macos&release_status=ga&latest=available

marchof commented 2 years ago

Ok, if you look for them specifically, they are returned. If you do a unspecific query they are missing:

https://api.foojay.io/disco/v2.0/packages?distro=aoj&version=9&latest=overall

HanSolo commented 2 years ago

Yep that's correct because you asked for latest overall which is 9.04 in this case and that is not available for linux and macos. They are only available for 9. So if you use latest=available instead of latest=overall you should see them. https://api.foojay.io/disco/v2.0/packages?version=9&distro=aoj&latest=available

marchof commented 2 years ago

Indeed, I forgot that there is now the available option and I'm also using it already:

https://javaalmanac.io/jdk/download/#product=aoj&version=9&type=jdk

So looks good for me now. Thx!