Closed everactivejack closed 3 years ago
Thanks for the detailed report. Just to check a couple of things:
GOPRIVATE
set? That would in theory prevent requests to sum.golang.org
It's definitely accessible from CI (it's part of that gitlab's CI), but we don't have the GOPRIVATE
set in CI, so I'll give that a shot!
That did it! Thank you! Might be worth adding a section to the README for future private repo users. Either way, great tool.
I've just added a note in the README :+1: Apologies for being slow getting back to this.
Thanks!
We have a private gitlab where we host our own go repos, and it seems, even with overrides or exceptions, I can't prevent the
sum.golang.org
lookup, which causes a failure -- thus preventing us from using this in CI. To be clear, our gitlab instance isn't accessible except on internal networks, so this lookup fails. See snippet for more details (I anonymized the URL, but I think you'll get the point).Not sure if this is really a bug or a feature request, so I'll leave that up to you, but I would imagine maybe adding some sort of config option to ignore modules that start with a certain URL?
Or making it so that override directives don't query
sum.golang.org
at all.