On Thu, 18 Jun 2020, Leonardo Taccari wrote:
Benny Siegert writes:[...] Log Message: Update gh to 0.10.0 and change it to a Go module. [...]Thanks for doing that! I had tried that (probably for an earlier version of 0.10.0) but then give up after seeing that it downloaded more than 1.0GB of distfiles IIRC after doing a `show-go-modules'.
Hehe :) The trick is to set GO_BUILD_PATTERN, otherwise it does a recursive build of all binaries in all dependencies, I think. That, in turn, pulls in even more modules, etc.
I am going to add this to pkgsrc itself if you don't mind. It seems like a useful thing to have in the next branch.
-- Benny