#1032419 prometheus-node-exporter-collectors: Missing dependency to 'jq'

#1032419#5
Date:
2023-03-06 12:18:01 UTC
From:
To:
Dear Maintainer,

I've noticed the file
/usr/share/prometheus-node-exporter-collectors/nvme_metrics.sh included in the
package prometheus-node-exporter-collectors=0+git20210115.7d89f19-1 depends on
'jq' binary.

See line 48:
    device_list="$(nvme list -o json | jq -r '.Devices | .[].DevicePath')"

Please add 'jq' as package dependency.

Best regards,

#1032419#10
Date:
2023-03-08 11:44:46 UTC
From:
To:
jq is already a Recommends.

Due to the potentially very diverse nature of this package, making
everything that is referenced by any / all scripts in the package a
Depends is going to pollute systems. For example, the ipmi textfile
collector requires ipmitool, but it's also only a Recommends.