Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions bucket/graalvm25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"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": "25.0.0",
"homepage": "https://www.graalvm.org/",
"license": "GPL-2.0",
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.0/graalvm-community-jdk-25.0.0_windows-x64_bin.zip",
"hash": "33ef1d186b5c1e95465fcc97e637bc26e72d5f2250a8615b9c5d667ed5c17fd0",
"extract_to": "tmp",
"installer": {
"script": [
"(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }",
"Remove-Item -Recurse \"$dir\\tmp\""
]
},
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir",
"GRAALVM_HOME": "$dir"
},
"checkver": {
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/latest",
"regex": "jdk-(25[\\d.]*)"
},
Comment on lines +21 to +23
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fix the checkver source for GraalVM 25 tags.

releases/latest only exposes the single most recent release (currently 25.0.0, but the next 21.x maintenance drop will replace it), so the current regex stops matching as soon as a 21.x build ships. That breaks Scoop’s automation for this manifest. Point checkver at the full release feed (via the github helper) and filter for 25.x tags instead.

-    "checkver": {
-        "url": "https://github.com/graalvm/graalvm-ce-builds/releases/latest",
-        "regex": "jdk-(25[\\d.]*)"
-    },
+    "checkver": {
+        "github": "graalvm/graalvm-ce-builds",
+        "regex": "jdk-(25[\\d.]+)"
+    },
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/latest",
"regex": "jdk-(25[\\d.]*)"
},
"checkver": {
"github": "graalvm/graalvm-ce-builds",
"regex": "jdk-(25[\\d.]+)"
},
🤖 Prompt for AI Agents
In bucket/graalvm25.json around lines 21 to 23, the checkver currently points at
releases/latest which only returns a single latest tag and will stop matching
25.x once an older maintenance tag becomes latest; change the checkver source to
use the full GitHub release/tag feed (use the github helper or the repo tags
API) and update the regex to explicitly match 25.x tags (e.g. starting with "25"
and allowing dots) so Scoop finds all 25.y.z releases rather than only the
single latest release.

"autoupdate": {
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-$version/graalvm-community-jdk-$version_windows-x64_bin.zip",
"hash": {
"url": "$url.sha256"
}
}
}
Loading