Open salty-flower opened 1 year ago
I believe #472 is not related to nightly builds, hence a new issue here.
If it is impossible to use extract_dir
, use "extract_to": "tmp"
and the following installer script:
https://github.com/ScoopInstaller/Java/blob/d2212702c653024cf92a10638c69be8048cfa950/bucket/microsoft17-jdk.json#L17-L22
Information
Name:
graalvm-nightly
,graalvm-nightly-jdk11
,graalvm-nightly-jdk17
Description: The three are already inside java bucket. However they are outdated and point to dangling 404 URLs.
Download link(s): Their repository link remains the old one.
I have some ideas on it but not sure how to integrate the changes.
Attempt
I've looked at the newer builds. It seems to me that JDK 21 builds require a file name change, from
graalvm-ce-java$matchJava-windows-amd64-dev.zip
tograalvm-community-java$matchJava-windows-amd64-dev.zip
. JDK 11 and 17 builds, however, seem discontinued from 23.1.0-dev-20230812_0125 (see the number of artifacts).So combining them all I get below for
graalvm-nightly
:Problem I faced
One problem I have is how do I set
extract_dir
inautoupdate
part. The inner folder name isgraalvm-community-openjdk-21+35.1
for recent builds. Initially I have no idea of deducing the35.1
part from build numbers, but later I found it in a metadata file from main Graal repository.So, I guess it would be great if someone can integrate parsing logic, to dynamically generate folder name from build number there.
Thanks Scoop community 😊