Skip to content

semeru*: Fix checkver for the new release names, update to the latest releases - #617

Open
miscos330 wants to merge 10 commits into
ScoopInstaller:masterfrom
miscos330:semeru-new-release-names
Open

miscos330 wants to merge 10 commits into
ScoopInstaller:masterfrom
miscos330:semeru-new-release-names

Conversation

@miscos330

Copy link
Copy Markdown

Closes #616

Semeru releases have used four-part version names since April 2026 (tag jdk-17.0.21.0, file ibm-semeru-open-jdk_x64_windows_17.0.21.0.zip, folder jdk-17.0.21.0), so the checkver regexes no longer match and these manifests stopped updating (details in #616). This PR has one commit per manifest, and for each one:

  • checkver reads $.tag_name from https://github.com/_api/repos/ibmruntimes/semeru<N>-binaries/releases/latest (which skips the -m1/-m2 prereleases) with the regex ^jdk-([\d.]+)$;
  • autoupdate builds the URL as .../download/jdk-$version/ibm-semeru-open-<jdk|jre>_<x64|x86-32>_windows_$version.zip and extract_dir as jdk-$version (jdk-$version-jre for the JRE); the hash still comes from the .sha256.txt file;
  • autoupdate then updates the manifest: semeru8 8.0.512.0, semeru11 11.0.33.0, semeru17 17.0.21.0, semeru21 and semeru-lts 21.0.13.0.

The new versions compare as newer than the old ones in Scoop (8u482-b08-0.57.0 < 8.0.512.0, 17.0.18-8-0.57.0 < 17.0.21.0), so installed copies update normally. semeru-lts-* still follow Semeru 21, as before.

Tested with Scoop v0.6.0 on Windows 11 x64:

  • bin\checkver.ps1 -App <name> -u finds the versions above for all 10 manifests and fills in the URLs and hashes from the published .sha256.txt files.

  • scoop install from each updated manifest (all 64-bit, plus semeru8-jre --arch 32bit) passes the hash check, extracts into the new extract_dir, and bin\java.exe -version runs, for example openjdk version "1.8.0_512", "11.0.33", "17.0.21.0.3" and "21.0.13.0.3" 2026-10-24 LTS (IBM Semeru Runtime Open Edition, Eclipse OpenJ9 VM).

  • bin\formatjson.ps1 makes no changes.

  • I have read the Contributing Guide.

Prepared with AI assistance (Claude Code); I reviewed the change and ran the tests above.

🤖 Generated with Claude Code

miscos330 and others added 10 commits November 28, 2026 14:20
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary by CodeRabbit

  • Updates
    • Updated Semeru JDK and JRE releases for Java 8, 11, 17, and 21 to the latest listed versions.
    • Refreshed the available 32-bit and 64-bit downloads and their integrity checks to match these releases.
    • Updated installation folder names to align with the new release versions.

Walkthrough

The Semeru 8, 11, 17, and 21 JDK and JRE manifests now use four-part release versions. Their version checks read the latest release API, and their autoupdate templates use the matched version.

Changes

Semeru release manifests

Layer / File(s) Summary
Latest-release version detection
bucket/semeru*-jdk.json, bucket/semeru*-jre.json
Checkver reads tag_name from the latest-release API and matches jdk- tags followed by digits and periods.
Pinned release assets
bucket/semeru*-jdk.json, bucket/semeru*-jre.json
Pinned versions, archive URLs, SHA-256 hashes, and extraction directories are updated for Semeru 8, 11, 17, and 21.
Version-based autoupdate templates
bucket/semeru*-jdk.json, bucket/semeru*-jre.json
Autoupdate URLs and extraction directories use $version instead of parsed tag components. The Semeru 8 SHA-256 sidecar configuration remains unchanged.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 2996a

This restores version detection and autoupdates for the Semeru 8, 11, 17, and 21 JDK and JRE manifests after the release-naming change. No concrete merge-blocking risk was found, and the author reports successful installs.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the two main changes: the checkver fix for the new Semeru release names and the update of the Semeru manifests to the latest releases. The changeset matches this. It updates all 10 Sem…
Description check Passed The description follows the repository template. It has the 'Closes #616' reference, and the contributing-guide checkbox is checked. It also explains the cause, the per-manifest changes, the version c…
Linked Issues check Passed Issue #616 requires the 10 Semeru manifests (semeru8/11/17/21 and semeru-lts, JDK and JRE) to detect four-part release tags and to autoupdate to 8.0.512.0, 11.0.33.0, 17.0.21.0 and 21.0.13.0. At the r…
Out of Scope Changes check Passed All changed files are the 10 Semeru manifests named in #616 (semeru8, semeru11, semeru17, semeru21, and semeru-lts, JDK and JRE). The changes are limited to the version, URL, hash, extract_dir, checkv…
Full details: Title check

Explanation

The title names the two main changes: the checkver fix for the new Semeru release names and the update of the Semeru manifests to the latest releases. The changeset matches this. It updates all 10 Semeru manifests to 8.0.512.0, 11.0.33.0, 17.0.21.0, and 21.0.13.0, and changes checkver and autoupdate to the four-part tag format. The title is 78 characters, slightly above the short-title guideline, but it is specific and accurate.

Full details: Description check

Explanation

The description follows the repository template. It has the 'Closes #616' reference, and the contributing-guide checkbox is checked. It also explains the cause, the per-manifest changes, the version comparisons in Scoop, and the test steps with results. The template's title-summary comment does not need a separate section. The description does not restate the template's contributing-guide reminder text, but that text is an HTML comment and is not a required field.

Full details: Linked Issues check

Explanation

Issue #616 requires the 10 Semeru manifests (semeru8/11/17/21 and semeru-lts, JDK and JRE) to detect four-part release tags and to autoupdate to 8.0.512.0, 11.0.33.0, 17.0.21.0 and 21.0.13.0. At the reviewed head, bucket/semeru17-jdk.json sets version 17.0.21.0, checkver uses $.tag_name with regex ^jdk-([\d.]+)$, autoupdate builds the URL from jdk-$version and ibm-semeru-open-jdk_x64_windows_$version.zip, and extract_dir is jdk-$version. bucket/semeru-lts-jre.json sets version 21.0.13.0, uses the same checkver regex, and sets extract_dir to jdk-$version-jre, matching the JRE naming. The PR summary states the same pattern for the other eight manifests. The issue's expected versions and the Scoop version ordering claim are consistent with the manifests. Automated checks of the other manifests were limited to the summary and two inspected files. The author's manual test results (checkver, install, java -version) were not re-run here. The semeru-lts-* manifests still follow semeru21-binaries, as the issue and PR scope require. No coding requirement remains unmet in the inspected evidence.

Full details: Out of Scope Changes check

Explanation

All changed files are the 10 Semeru manifests named in #616 (semeru8, semeru11, semeru17, semeru21, and semeru-lts, JDK and JRE). The changes are limited to the version, URL, hash, extract_dir, checkver, and autoupdate fields needed for the four-part release naming. No unrelated files, Semeru 25 migration, or other behavior changes appear in the summary or in the inspected semeru17-jdk and semeru-lts-jre files. Minor note: the hash block in semeru17-jdk.json uses the key find, while semeru-lts-jre.json uses regex. This is a stylistic difference in existing hash extraction and does not expand scope. Evidence for the other eight manifests comes from the PR summary only.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 286c05b5-153b-465a-b010-39915381551b
Commits

Reviewing files that changed from the base of the PR and between 7632364 and 2996ac4.

Files selected for processing: 10

  • bucket/semeru-lts-jdk.json
  • bucket/semeru-lts-jre.json
  • bucket/semeru11-jdk.json
  • bucket/semeru11-jre.json
  • bucket/semeru17-jdk.json
  • bucket/semeru17-jre.json
  • bucket/semeru21-jdk.json
  • bucket/semeru21-jre.json
  • bucket/semeru8-jdk.json
  • bucket/semeru8-jre.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

semeru8/11/17/21 and semeru-lts: checkver fails since Semeru switched to four-part release names

1 participant