Closed Ryex closed 2 months ago
If we want to only support Mojang Java for starters, commenting out https://github.com/PrismLauncher/meta/blob/abc32095d8fd61ab71c23c4710d41e5755fd9f5a/update.sh#L50 and https://github.com/PrismLauncher/meta/blob/abc32095d8fd61ab71c23c4710d41e5755fd9f5a/update.sh#L59 will make the scripts to not generate adoptium and azul java metadata
IBM Semeru which used OpenJ9 "which is known to be quite memory efficient, making it potentially interesting for large modpacks." ~ user who wanted detection support.
it may be interesting to add it to meta.
it uses the same api schema as Adoptium so very little work would be required. just use https://api.adoptopenjdk.net
as the base and use the query filter
?jvm_impl=openj9&vendor=ibm
Right now I think we will not add more java providers until we do a nightly release with adoptium and azulu(to test this out). And I think we can wait until IBM releases its own API as mentioned here: https://github.com/adoptium/api.adoptium.net/issues/187#issuecomment-1083996585 (or they are released under adoptium). Either way in case we need to add that I already have prepared the commit for it: https://github.com/adoptium/api.adoptium.net/issues/187#issuecomment-1083996585
Could you also add the two new entrypoints to tool.poetry.scripts
in pyproject.toml
?
As it is right now, this downloads an endless supply of Azul JREs/JDKs. I doubt people will use most of these, so perhaps we should have some filters in place?
I'd propose only keeping track of the last let's say 10 versions per major version?
I would prefer to keep them but I'm not against fetching less javas. So if you can just push a change here it would be great.
just testing, thought I'd have asked in the past to get perms on this repo, but It may have been the website & bot or smth I asked for in the past (I don't really do any meta work)
Adds Java runtime metadata to metadata server
data is located at
net.minecraft.java/java{major_version}.json
looks like