It looks like the thanos binary has no version description. "thanos --version" produces: thanos, version (branch: , revision: ) build user: build date: go version: go1.14.1
Created attachment 216178 [details] v1 You can use this patch. Not sure if these informations are useful, not good for reproducible builds anyway.
Thank you. This patch works for me. Is there a chance for getting this patch into the ports?
(In reply to Florian Bauer from comment #2) It's up to the maintainer to accept/reject the patch.
Ok. This would be great. We are using these values (version, build user, ...) for custom puppet facts and some other automation processes.
@Florian: Is there any way to get the git revision and branch automatically?
(In reply to Larry Rosenman from comment #5) No, this is the infos you have when building with the tarball: thanos, version 0.13.0 (branch: non-git, revision: non-git) build user: mikael@hostname build date: 20200707-18:31:22 go version: go1.14.4
committed, thanks!
A commit references this bug: Author: ler Date: Tue Jul 7 18:53:00 UTC 2020 New revision: 541446 URL: https://svnweb.freebsd.org/changeset/ports/541446 Log: net-mgmt/thanos: add version description to binary. PR: 247740 Submitted by: florian@fsrv.xyz Changes: head/net-mgmt/thanos/Makefile