[Request] Update `graalvm-nightly`, `graalvm-nightly-jdk11`, `graalvm-nightly-jdk17`
まだ誰も着手していません。
評価
調査の方向性
Start by locating the manifests for graalvm-nightly, graalvm-nightly-jdk11, and graalvm-nightly-jdk17, then compare their current URLs with the GraalVM release page and the linked common.json metadata. Done means the entries no longer use dangling links and their checkver, autoupdate, and extract_dir values match the available build artifacts, including the status of JDK 11 and 17.
索引モデルが issue の本文から書いたものです。
説明
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 to graalvm-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:
{
"description": "High-performance, embeddable, polyglot Virtual Machine for JVM-langs (Java, Scala, Kotlin), JavaScript/NodeJS, Python, Ruby, R, and LLVM-langs (C, C++, Rust)",
"version": "24.0.0-dev-20230914_1326",
"homepage": "https://www.graalvm.org/",
"license": "GPL-2.0",
"url": "https://github.com/graalvm/graalvm-ce-dev-builds/releases/download/24.0.0-dev-20230914_1326/graalvm-ce-java20-windows-amd64-dev.zip",
"hash": "f4b38f6040e649148624f23eb7323f1614807d92535d030d33f7a5f79e5dac5c",
"extract_dir": "graalvm-ce-java20-23.1.0-dev",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir",
"GRAALVM_HOME": "$dir"
},
"checkver": {
"github": "https://github.com/graalvm/graalvm-ce-dev-builds",
"regex": "/(?<release>[\\d\\w.-]+)-dev-(?<build>[\\d\\w.-]+)/graalvm-community-java(?<java>\\d[\\d]+)-windows-amd64-dev",
"replace": "${release}-dev-${build}",
"reverse": true
},
"autoupdate": {
"url": "https://github.com/graalvm/graalvm-ce-dev-builds/releases/download/$version/graalvm-community-java$matchJava-windows-amd64-dev.zip",
"extract_dir": "graalvm-community-openjdk-$matchJava+$matchRelease"
}
}
Problem I faced
One problem I have is how do I set extract_dir in autoupdate part. The inner folder name is graalvm-community-openjdk-21+35.1 for recent builds. Initially I have no idea of deducing the 35.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 😊
- 主要言語
- PowerShell
- スター
- 314
- フォーク
- 111
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ScoopInstaller/Java のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
ScoopInstaller/Java#607 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ScoopInstaller/Java#603 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ScoopInstaller/Java#542 · コメント 1 件 · リアクション 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
ScoopInstaller/Java#581 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
ScoopInstaller/Java#566 · リアクション 1 件 ·
ScoopInstaller/Java の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/just-bash#464 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100