shyiko / jabba-autodiscovery

A simple mechanism for keeping jabba's index up-to-date
https://travis-ci.org/shyiko/jabba-autodiscovery
3 stars 7 forks source link

Need to switch to adoptium api #15

Open mkurz opened 3 years ago

mkurz commented 3 years ago

adoptopenjdk is now adoptium: https://adoptium.net/

Therefore there is a need to switch from https://api.adoptopenjdk.net/ to https://api.adoptium.net/ (also from https://api.adoptopenjdk.net/q/swagger-ui/ to https://api.adoptium.net/q/swagger-ui/ - GitHub repo: https://github.com/adoptium/api.adoptium.net)

Code which needs change: https://github.com/shyiko/jabba-autodiscovery/blob/2b098d336aec085885fcc28747463bbbae3706ea/src/index.js#L22-L31

mkurz commented 2 years ago

We could use jdk@eclipse-temurin for naming, like suggested here: https://github.com/shyiko/jabba/pull/824

mkurz commented 2 years ago

There is another jabba index which you can user right now to get the adoptium builds and others: https://github.com/typelevel/jdk-index You just need to change an environment variable.

aeimer commented 2 years ago

@mkurz we would like to use jabba with adoptium 17. Is there any progress expected in the near future on this topic?

mkurz commented 2 years ago

@aeimer I am not the maintainer of this project. However you can use adoptium 17 today already by using jabba with the index from here: https://github.com/typelevel/jdk-index Checkout the readme of that repo, you just have to set the JABBA_INDEX env var.

aeimer commented 2 years ago

Hi @mkurz, thank you! I already saw that and set it up, but I think jabba should also keep their index uptodate, thats why I ask...

mkurz commented 2 years ago

It seems jabba is dying... I recommend using sdkman instead

aeimer commented 2 years ago

uff okay thx!