Skip to content

dragonwell*-jdk: Fix checkver, update to the latest releases - #615

Open
miscos330 wants to merge 4 commits into
ScoopInstaller:masterfrom
miscos330:dragonwell-fix-checkver
Open

miscos330 wants to merge 4 commits into
ScoopInstaller:masterfrom
miscos330:dragonwell-fix-checkver

Conversation

@miscos330

Copy link
Copy Markdown

Closes #614

As described in #614, checkver for these four Dragonwell manifests applies an asset-URL regex to $.tag_name (API mode since ScoopInstaller/Scoop#6653) or to a release page without asset links (no token), so they stopped updating. This PR has one commit per manifest:

  • checkver reads the release list from the API (https://github.com/_api/repos/dragonwell-project/dragonwell<N>/releases) with "jsonpath": "$[*].assets[*].browser_download_url", so the existing regexes see the download URLs again, with or without a token. The release list is used instead of releases/latest because the repositories publish Standard and Extended releases side by side, and for dragonwell21 the latest one is currently Extended.
  • dragonwell11-jdk-extended now matches the Extended tag and asset (dragonwell-extended-..._jdk-...-ga/Alibaba_Dragonwell_Extended_..._x64_windows.zip) and builds the download URL from $matchTag/$matchFilename. It used to match the Standard release and build an Extended URL from the Standard numbers, which does not exist when the build numbers differ.
  • Autoupdate then updates the manifests: dragonwell11-jdk 11.0.32.28-11.0.32, dragonwell11-jdk-extended 11.0.32.29-11.0.32, dragonwell17-jdk 17.0.21.1.22-17.0.21.1, dragonwell21-jdk 21.0.13.1.14-21.0.13.1. The hashes come from the published .sha256.txt files.

Tested with Scoop v0.6.0 on Windows 11 x64:

  • bin\checkver.ps1 finds the versions above for all four, both without a token and with one set through SCOOP_GH_TOKEN. With the current manifests it reports couldn't match with a token.

  • scoop install from each updated manifest passes the hash check, and bin\java.exe -version reports the matching build, for example OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-11.0.32.29+9-GA and (Alibaba Dragonwell Standard Edition)-21.0.13.1.14+2-GA.

  • 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 4 commits November 28, 2026 14:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…date

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
    • Refreshed the Dragonwell 11, Dragonwell 11 Extended, Dragonwell 17, and Dragonwell 21 packages to newer releases.
    • Updated the Windows 64-bit download links and package verification details for each release.
    • Version checks now use published release assets, keeping available version information aligned with the corresponding downloads.

Walkthrough

Four Dragonwell manifests update their pinned Windows releases and version-check configuration. The checks now query GitHub’s releases API and select asset download URLs. The extended Dragonwell 11 manifest also matches extended release tags and filenames for version detection and autoupdate.

Changes

Dragonwell release manifests

Layer / File(s) Summary
Release discovery and manifest refresh
bucket/dragonwell11-jdk.json, bucket/dragonwell17-jdk.json, bucket/dragonwell21-jdk.json, bucket/dragonwell11-jdk-extended.json
The manifests query GitHub’s releases API and select asset download URLs. Their pinned versions, Windows archive URLs, and hashes are updated. The extended Dragonwell 11 check matches extended release tags and archive filenames, and its autoupdate URL uses the matched tag and filename.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to c9601

This updates four Dragonwell manifests to newer releases and fixes version detection so it picks the right edition. No concrete merge-blocking risk was found, and the change is easy to revert.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the four Dragonwell manifests (dragonwell*-jdk) and the two main changes: fixing checkver and updating to the latest releases. This matches the changeset, which switches checkver to th…
Description check Passed The description follows the template. It has the 'Closes #614' link, the Contributing Guide checkbox ticked, and a clear summary of changes. It explains the root cause of the checkver failure, the fix…
Linked Issues check Passed Issue #614 requires checkver to find the newest Standard build (Extended for dragonwell11-jdk-extended) for four manifests, and autoupdate to work. Reviewed head state:
- dragonwell11-jdk, dragonwell1…
Out of Scope Changes check Passed The PR changes four manifests: bucket/dragonwell11-jdk.json, bucket/dragonwell11-jdk-extended.json, bucket/dragonwell17-jdk.json, and bucket/dragonwell21-jdk.json. All four are named in #614. Each cha…
Full details: Title check

Explanation

The title names the four Dragonwell manifests (dragonwell*-jdk) and the two main changes: fixing checkver and updating to the latest releases. This matches the changeset, which switches checkver to the GitHub releases API with asset jsonpath and bumps versions for all four manifests. The wording is slightly broad but accurately describes the primary change.

Full details: Description check

Explanation

The description follows the template. It has the 'Closes #614' link, the Contributing Guide checkbox ticked, and a clear summary of changes. It explains the root cause of the checkver failure, the fix per manifest, the updated versions, and the test results on Windows 11 with and without a token. The template's title line is not repeated, which is expected. The description is complete and specific.

Full details: Linked Issues check

Explanation

Issue #614 requires checkver to find the newest Standard build (Extended for dragonwell11-jdk-extended) for four manifests, and autoupdate to work. Reviewed head state:

  • dragonwell11-jdk, dragonwell17-jdk, dragonwell21-jdk, and dragonwell11-jdk-extended all set checkver.github to the releases list API (/repos/dragonwell-project/dragonwell<N>/releases) and jsonpath "$[].assets[].browser_download_url". This matches the issue's proposed solution. The release list avoids releases/latest, which the issue says can point to Extended for dragonwell21-jdk.
  • dragonwell11-jdk-extended regex matches the dragonwell-extended tag and Alibaba_Dragonwell_Extended asset. Its autoupdate URL uses $matchTag/$matchFilename, as the issue requests.
  • Versions in the manifests match the issue targets: 11.0.32.28-11.0.32, 11.0.32.29-11.0.32, 17.0.21.1.22-17.0.21.1, 21.0.13.1.14-21.0.13.1. Regex replace groups produce these strings from the tag and filename.
  • Each manifest URL and hash points to the matching tag and asset.
    Limits: I did not run checkver against the live GitHub API. The hash values were not verified against upstream .sha256.txt files. The PR description reports these checks; they are author-reported evidence, not verified here.
Full details: Out of Scope Changes check

Explanation

The PR changes four manifests: bucket/dragonwell11-jdk.json, bucket/dragonwell11-jdk-extended.json, bucket/dragonwell17-jdk.json, and bucket/dragonwell21-jdk.json. All four are named in #614. Each change is limited to the version, URL, hash, and checkver/autoupdate fields needed for the issue. No unrelated files or manifests are changed according to the summary and PR description. No out-of-scope changes were found.

  • 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: d9f4db13-4951-42e2-868a-edaf2a4f1af4
Commits

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

Files selected for processing: 4

  • bucket/dragonwell11-jdk-extended.json
  • bucket/dragonwell11-jdk.json
  • bucket/dragonwell17-jdk.json
  • bucket/dragonwell21-jdk.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 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.

dragonwell11-jdk, dragonwell11-jdk-extended, dragonwell17-jdk, dragonwell21-jdk: checkver no longer finds new releases

1 participant