influxdata / influxdata/influx-cli

release version not reported

Open
#509 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `influx version` CLI command and compare its output with the package-manager version shown in the report. Trace how version information is assembled for official Ubuntu/Debian releases and builds outside git; done means the command reports the release version rather than only `dev`, git, and build-date details.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.