-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] New Oracle GraalVM and GraalVM Community for JDK 17.0.7 and JDK 20.0.1 #472
Comments
GraalVM CE is already in current scoop https://scoop.sh/#/apps?q=graalvm The new Oracle GraalVM should be added: https://www.graalvm.org/downloads/# ,maybe it is better to switch to this new build from version graalvm23 |
The new Oracle GraalVM used to be called GraalVM Enterprise, and it offers much better performance over GraalVM Community Edition. It should be switched to over CE. |
@he3als I agree, the new Oracle GraalVM includes close-sourced optimizations from graalvm EE and now its version is 23.0.0. |
It seems hard to check its version when they only providing a latest URL. |
Not hard actually as they also release in their ce build github. As i shared the links in my first comment. Btw, sdkman already release with -graal and -graalce. sdk install java 20.0.1-graal |
You can use APIs |
I mean that they seems only providing URLs that specify java version of 20/17, but not specify their graalvm version. |
You can see how my script does it, not sure if it would work for Scoop or if there's a better option. |
Your script still downloading something this: But even their Github Actions is not specifying graalvm version. It seems the only choice currently.
|
To be fair, it's somewhat complex to get the version, and it's not really an API as I just got the link to that JSON for it from the 'Network' tab of the Oracle GraalVM website. However, it might be possible other ways. |
Made some manifests in my own bucket: |
It seems like Oracle create a page specifically for tools like scoop: https://www.oracle.com/java/technologies/jdk-script-friendly-urls/ |
My manifests actually using it. They still don't have a quick way to check their version updates. |
This is hinted at in the comments above, but maybe it helps to spell it all out. It's all a bit confusing because the Graal team changed the versioning scheme on us and made a new variant available. The versioning scheme is now simply the JDK version. And we no longer only have only the Community Edition, we now also have GraalVM Oracle. For the new versioning scheme, as I think @azmankudus suggested, we might want to follow some sdkman-like scheme. Maybe I think we should include both ce and oracle variants because licensing is different for these and maybe folks need to use one over the other for that reason. So if I understand existing patterns.... maybe?: Maybe:
As for the existing Let me know what you think of the above, and, if you'd like any help. BTW, I don't know if the scoop java bucket takes advantage of the disco api at all. |
Seems disco api is nice for checkver, but it is still difficult to auto-update the extract_dir value aside from using a checkver script extracting the zip once since the "+9.1" seems come from nowhere https://github.com/Small-Ku/turbo-bucket/blob/main/bucket/graalvm-jdk.json |
@Small-Ku, I use scoop, but have never looked into how packages work, so I might be out to lunch here... but... If the |
It works, but one of the criteria to be in the Java bucket is:
|
Ah... @Small-Ku, interesting. Sounds like a reasonable rule/goal in general. I think the nature of the GraalVM distributions means we need a lil' something to help. And we could propose that:
Would that do the trick? |
@Small-Ku
新的版本号规则应该确定下来了。原本的Github链接稍加修改应该可以使用。可以查看一下tags |
Sorry for being late to this conversation. I will review and accept the PR if someone creates it with the following content:
Thanks for the contributions. Please write in the PR your design decisions, for later changes to the manifest. |
Package Request
Criteria
For a package to be acceptable in the Java bucket, it should be:
Information
Name: Oracle GraalVM
Description: GraalVM compiles your Java applications ahead of time into standalone binaries that start instantly, provide peak performance with no warmup, and use fewer resources.
Homepage: https://www.graalvm.org
Download link(s):
https://www.graalvm.org/downloads
https://github.com/graalvm/graalvm-ce-builds/releases/tag/jdk-20.0.1
https://github.com/graalvm/graalvm-ce-builds/releases/tag/jdk-17.0.7
Some indication of popularity/repute: GitHub stars 18.4k
License: GPLv2
The text was updated successfully, but these errors were encountered: