[pkg-go] Bug#910865: prometheus-node-exporter: Files in /usr/share/doc/prometheus-node-exporter/examples/text_collector_examples/ should not be compressed
Philipp Kern
pkern at debian.org
Sat Oct 13 17:04:45 BST 2018
On 12.10.2018 20:01, MartÃn Ferrari wrote:
> On 12/10/18 16:47, Philipp Kern wrote:
>
>> I'd be great if we had a better story for the scripts in
>> /usr/share/doc/prometheus-node-exporter/examples/text_collector_examples/
>> but right now one of them (and only one) is even gziped and hence not
>> directly executable (despite no configuration being needed) and that's
>> smartmon.sh.gz. Could you exclude those files from being compressed?
>
> I agree it would be good if these are not compressed.. But as I
> understand the policy, they must be compressed if they are documentation
> or examples.
>
> An alternative would be to ship them in
> /usr/share/promenteus-node-exporter, but I am not sure that is
> appropriate.. Maybe you can advise?
>
>> Bonus points if there were systemd services one could turn on to run
>> them periodically. :)
>
> True. But right now I don't have the bandwidth do write those.. I would
> be glad to add them if you write them :)
https://salsa.debian.org/go-team/packages/prometheus-node-exporter/merge_requests/1
Please test and let me know if that works / doesn't work for you. And
yes, maybe that should have been contributed upstream instead, but a
distro can be more opinionated.
Kind regards and thanks
Philipp Kern
More information about the Pkg-go-maintainers
mailing list