influxdata / influx-cli

CLI for managing resources in InfluxDB v2
MIT License
61 stars 22 forks source link

release version not reported #509

Open reidkaufmann opened 1 year ago

reidkaufmann commented 1 year ago

The tool doesn’t list its own version number. I installed an official release for Ubuntu/Debian from https://portal.influxdata.com/downloads/

user@host:~$ influx version
Influx CLI dev (git: none) build_date: 2023-04-06T15:31:37Z
user@host:~$ dpkg -l influxdb2-cli
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name        Version     Architecture Description
+++-==============-============-============-=========================================
ii  influxdb2-cli  2.7.1-2      amd64       CLI for managing resources in InfluxDB v2
user@host:~$

This is pretty minor because the package manager tracks the version, but it could potentially hamper support or debug efforts if not installed from a package, especially if built outside of git (meaning the date doesn't really tell us the version).