f.lapo.it


A short history about keeping your #ssh daemons up-to-date by checking their banners, unexpectedly short debugs, happenstance, #hpn, and #RFC definitions.
#ssh #RFC #hpn

#golang Fediverse please help a Go-noob: is it possible to get the `git describe` string from a `go install github.com…@latest` type installation?
In order to use for `--version` output, that in various projects report no version when installed that way.

E.g.:

% go install github.com/walles/moar@latest
% moar --version
Should be set when building, please use build.sh to build
1

pkg.go.dev/runtime/debug#ReadB…

(That doesn’t work yet when installing from a local directory. See github.com/golang/go/issues/50…)

1
Nice! I'll try to create a PR for moar --version to use that.
1
James Tucker mastodon (AP)
go version -m <binary> gets you a lot of info, some is similar to git describe
1
nuovi vecchi