Main icon indicating copy to clipboard operation
Main copied to clipboard

[Bug]: Quarkus-cli stucks at 3.2.4 autoupdate is broken

Open VladDrakul1986 opened this issue 3 years ago • 4 comments

Prerequisites

  • [X] I have written a descriptive issue title.
  • [X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • [X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

quarkus-cli

Expected/Current Behaviour

The version is not upgraded to latest release right now 3.5.0. So the autoupgrade doesn't work fine :(

Kind regards Vlad.

Steps to Reproduce

scoop install quarkus-cli

Possible Solution

change bucket/quarkus-cli.json manually and fix the autoupdate. It seems they remove the .Final from the version name. See latest version on their repo: https://github.com/quarkusio/quarkus/releases/download/3.5.0/quarkus-cli-3.5.0.zip

Scoop and Buckets Version

not relevant

Scoop Config

not relevant

PowerShell Version

not relevant

Additional Softwares

No response

VladDrakul1986 avatar Oct 31 '23 14:10 VladDrakul1986

Hi,

Thanks for raising this issue. I am also stuck at version 3.2.4.Final

I have asked a question in Quarkus GitHub to try to get an official response: https://github.com/quarkusio/quarkus/discussions/37459

I have also created an intermediary PR to at least update to 3.2.9. #5309

BR,

yostane avatar Dec 01 '23 15:12 yostane

I got the confirmation that quarkus officially removed the .Final

https://github.com/quarkusio/quarkus/discussions/37459#discussioncomment-7730969

https://quarkus.io/blog/quarkus-3-3-0-released/

yostane avatar Dec 01 '23 15:12 yostane

Hi,

Quarkus maintainer here.

Just to clarify:

  • Quarkus <= 3.2 releases will keep the .Final suffix
  • Quarkus >= 3.3 releases have the .Final suffix dropped. Non final releases will have a .Alpha1, .CR1, ... qualifier.

The rationale for this change has been explained in the Quarkus 3.3 announcement: https://quarkus.io/blog/quarkus-3-3-0-released/ .

Feel free to ping me if you need more info.

HTH.

gsmet avatar Dec 01 '23 15:12 gsmet

Thanks for the help @gsmet

As indicated in quarkus-cli.json Line 14, scoop looks at this file for updates: https://registry.quarkus.io/client/platforms, which seems to list only final releases (no Aplha or CR, etc.). Can you confirm @gsmet ?

If the answer is yes, then this PR may fix this issue by using this regex: "([\\d+\\.]+)" instead of "([\\d+\\.]+)\\.Final"

BR,

yostane avatar Dec 01 '23 15:12 yostane