Fedora Account System
Red Hat Associate
Red Hat Customer
Version of RPM is different to version shown in CLI. $ dnf info hcloud Last metadata expiration check: 2:18:34 ago on Wed 14 Feb 2024 08:01:33 AM CET. Installed Packages Name : hcloud Version : 1.42.0 Release : 2.fc39 Architecture : x86_64 Size : 14 M Source : hcloud-1.42.0-2.fc39.src.rpm Repository : @System From repo : updates Summary : A command-line interface for Hetzner Cloud URL : https://github.com/hetznercloud/cli License : MIT Description : : A command-line interface for Hetzner Cloud. $ hcloud version hcloud 1.42.0-dev Reproducible: Always Steps to Reproduce: 1. dnf info hcloud 2. hcloud version 3. compare output Actual Results: 1.42.0-2 != 1.42.0-dev Expected Results: 1.42.0-2 == 1.42.0-2 or 1.42.0-2 == 1.42.0 Same issue was reported and fixed by brew: https://github.com/Homebrew/homebrew-core/issues/162520 The "-dev" causes issues with version comparison since "1.42.0-dev" < "1.42.0", so we cannot enforce version ">=1.42.0" to include this one.
The issue seems to be caused by "versionPrerelease" set to "dev" by default, see here: https://github.com/hetznercloud/cli/blob/acab17c361373e5bd3b689708195fa48f18dbafb/internal/version/version.go#L7-L10
Upstream changed their versioning logic! Thanks for letting me know.
FEDORA-2024-b9ea6ceb6c (hcloud-1.42.0-4.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-b9ea6ceb6c
FEDORA-2024-8180eaa14f (hcloud-1.42.0-4.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8180eaa14f
FEDORA-2024-b9ea6ceb6c (hcloud-1.42.0-4.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-8180eaa14f (hcloud-1.42.0-4.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.