Your message dated Wed, 13 Aug 2025 20:37:40 +0000
with message-id <[email protected]>
and subject line Bug#1060308: fixed in hcloud-cli 1.39.0-3
has caused the Debian Bug report #1060308,
regarding hcloud-cli version is not set
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1060308: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060308
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hcloud-cli
Version: 1.30.3-1+b5
Severity: normal

Dear Maintainer,

The hcloud-cli distributed by debian does not have its version set.

This leads to 2 problems:
- the 'hcloud version' command does not return the expected version info:

  expected output: hcloud 1.41.1
  current output: hcloud was not built properly

- the user agent used to call the Hetzner Cloud API does not include the
  version:

  expected user agent: hcloud-cli/v1.41.1 hcloud-go/2.5.1
  current user againt: hcloud-cli/was not built properly hcloud-go/2.5.1

The way the version is handled upstream has recently changed, and it
should mitigate part of this issue:
https://github.com/hetznercloud/cli/commit/af9dec448dfaf5331d5200d96722e5c648c25624#diff-8aa632a6f4ad2a3a7fef52661816aa3977f23c0673ef29633c01116fee6745c6

To fully solve this issue, I suggest that the debian build process updates
the relevant version variables using the linker flags, as we currenlty do in the
upstream build process:

https://github.com/hetznercloud/cli/blob/e1bd800db671e9deb68a86bd5ff810211f56a7d5/.goreleaser.yml#L11-L12

The linker flags below could be used in the debian package build command:

# Set the version to the debian version (maybe adding a local debian build 
number?)
-X 
github.com/hetznercloud/cli/internal/version.version="$(DEB_VERSION_UPSTREAM)+debian.1"
# Remove the -dev suffix, this is not a dev/pre relesease
-X github.com/hetznercloud/cli/internal/version.versionPrerelease=""

Thanks for considering this bug.
Cheers,

Jonas

-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-17-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hcloud-cli depends on:
ii  libc6  2.36-9+deb12u3

hcloud-cli recommends no packages.

hcloud-cli suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: hcloud-cli
Source-Version: 1.39.0-3
Done: Jonas L <[email protected]>

We believe that the bug you reported is fixed in the latest version of
hcloud-cli, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas L <[email protected]> (supplier of updated hcloud-cli package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 13 Aug 2025 22:04:37 +0200
Source: hcloud-cli
Architecture: source
Version: 1.39.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Jonas L <[email protected]>
Closes: 1060308
Changes:
 hcloud-cli (1.39.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Fix unset version variable during build.
     (Closes: #1060308)
Checksums-Sha1:
 4531df6b0e8f9c7ee72df8718b9535ca01d1d635 2470 hcloud-cli_1.39.0-3.dsc
 c62a48234c67cc14c0afe9ae989c7fbee78ca153 3584 hcloud-cli_1.39.0-3.debian.tar.xz
 c726c65a9d232b024b9fa297c818bc32df899d5a 9995 
hcloud-cli_1.39.0-3_amd64.buildinfo
Checksums-Sha256:
 78c932672ebee1c8ddbf89b58f3f83c2518584dbdfc63a72a9e928e31a3ad0b0 2470 
hcloud-cli_1.39.0-3.dsc
 4385feb6c0b1140873740a48e8de0685ca24f70e8c8947923bf7cc6ff10e1897 3584 
hcloud-cli_1.39.0-3.debian.tar.xz
 ae5a5817483ef4ce1602bd1779259e331de12bacab44c50858e5124651ef82c7 9995 
hcloud-cli_1.39.0-3_amd64.buildinfo
Files:
 8d9dae0e226904e54228a8a88f4432c6 2470 devel optional hcloud-cli_1.39.0-3.dsc
 1db60589919329d5465b4e6880c310e5 3584 devel optional 
hcloud-cli_1.39.0-3.debian.tar.xz
 fc9c15945b58b21f3968c713ee5fd7c9 9995 devel optional 
hcloud-cli_1.39.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmjwHvQbeL0FugTpdYS7xYT4FD1QFAmic8NwACgkQYS7xYT4F
D1QHCxAAp6ohLAw5almqr+0lntQgDGkBAuON09uEmgGwfJ6FTpOG8F/C6oAqgFvG
xjvtf3geIma7KzPsVu1Qdc3v8wKMWRqC49kr3lviN3zNruM69E2EEvf3fryJGyie
dJApqlx6/Egb3F6xIoQ1Sxnxt44CXxvEfgsZCMn7fyVJLqWbrWf1/san/oIQCNMJ
JcFe+cHg6C2608BIj8qzDfEoZJMFSbAhHd1/iqpQG7lfslM4PYZc3bFZHrkhJbL+
KAqqanbo7f76NxHfrLTSl0yXcUDbLi9K/Bp8HdBUaCINoE2a1xJJR+OpHTqnMisG
Sd9agR+vqh1IC84KYm4EuYHVHN9B8M6qMRXRZoO8BOV28uxPhi7X2QCEgeWJmZ/z
QiRuDWUROtMNob7q61RJL1jVglamKqSOOMiL+SKCvnQkeTVC4CEUqaux3FHsiBwp
rJmzudTdv5O5JDRdGXUuIMTLIyK6mnoGhrZ9vmN9N55BMLzGWpMqGeiJ6utq8SGZ
YBJMVrQF4r0dbJAjDk80FqX1QI3D4F07BVSEDvV3Xo1A7sNw+nGe0DCbzy/SLV9d
uNWwnBloKECFUL0ysfRlPvpgvyOaH9UUChiDkP0tvsof8cogH96CEemNXs1tx6XA
o1PZ//D1e+SgH85lYIifuKQ37+ySeYXKyYpmZlzhLJlZHThPLME=
=4lf/
-----END PGP SIGNATURE-----

Attachment: pgpz_uHxTbmiC.pgp
Description: PGP signature


--- End Message ---

Reply via email to