Skip to content

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

Backlog

Description

@miscos330

Bug Report

Package Name: dragonwell11-jdk, dragonwell11-jdk-extended, dragonwell17-jdk, dragonwell21-jdk

Current Behaviour

These four manifests have stopped updating. Excavator reports couldn't match '<regex>' in https://github.com/_api/repos/dragonwell-project/dragonwell<N>/releases/latest for each of them, so they are still at 11.0.29, 11.0.20, 17.0.18 and 21.0.10, while upstream has 11.0.32, 17.0.21.1 and 21.0.13.1.

Their regexes match <tag>/<asset file name>, i.e. a download URL. Since ScoopInstaller/Scoop#6653, GitHub API mode applies the regex to $.tag_name unless a jsonpath is set, so the asset part never matches. Without a token, checkver reads the release web page, which now loads its asset list separately, so it fails there too.

Two more problems show up once the regexes match again:

  • dragonwell21-jdk: the repository's "latest" release is now the Extended edition (dragonwell-extended-21.0.13.1.14+2_jdk-21.0.13.1-ga), so releases/latest has no Standard asset.
  • dragonwell11-jdk-extended: the regex matches the Standard tag and asset, and autoupdate then builds an Extended URL from the Standard numbers. The builds differ (Standard 11.0.32.28, Extended 11.0.32.29), so that URL does not exist, which is why this manifest has been at 11.0.20 since 2023.

Expected Behaviour

checkver finds the newest Standard (or, for -extended, Extended) Windows build, and autoupdate updates the manifests.

Possible Solution

Read the release list from the API (https://github.com/_api/repos/dragonwell-project/dragonwell<N>/releases) with "jsonpath": "$[*].assets[*].browser_download_url", and in dragonwell11-jdk-extended match the Extended tag and asset and use $matchTag/$matchFilename like the other Dragonwell manifests. I have tested this and will open a PR.

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 7.6.9

Additional software: Scoop v0.6.0

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions