Repository navigation
Conversation
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>
|
No actionable comments were generated in the recent review. Summary by CodeRabbit
WalkthroughFour 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. ChangesDragonwell release manifests
Severity of issue fixed: Medium Merge Risk:
|
Closes #614
As described in #614,
checkverfor 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:checkverreads 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 ofreleases/latestbecause the repositories publish Standard and Extended releases side by side, and fordragonwell21the latest one is currently Extended.dragonwell11-jdk-extendednow 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..sha256.txtfiles.Tested with Scoop v0.6.0 on Windows 11 x64:
bin\checkver.ps1finds the versions above for all four, both without a token and with one set throughSCOOP_GH_TOKEN. With the current manifests it reportscouldn't matchwith a token.scoop installfrom each updated manifest passes the hash check, andbin\java.exe -versionreports the matching build, for exampleOpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-11.0.32.29+9-GAand(Alibaba Dragonwell Standard Edition)-21.0.13.1.14+2-GA.bin\formatjson.ps1makes 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