Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: add instructions for bypassing default gomod proxy. #731

Merged
merged 1 commit into from
Oct 6, 2019

Conversation

raulk
Copy link
Member

@raulk raulk commented Oct 6, 2019

We do not want to contribute to informing Google of every single user that uses go-libp2p, thanks.

Also, the default proxy (proxy.golang.org) contains old and deprecated +incompatible versions that the Go toolchain selects over the more recent go-modded versions.

See golang/go#34189 and golang/go#34217.

Fixes #730.

We do not want to contribute to informing Google of every single user that uses go-libp2p, thanks.

Also, the default proxy (proxy.golang.org) contains old and deprecated `+incompatible` versions that the Go toolchain selects over the more recent go-modded versions.

See golang/go#34189 and golang/go#34217.
@raulk raulk merged commit 5f60501 into master Oct 6, 2019
@raulk raulk deleted the docs/readme-gomod-proxy branch October 6, 2019 14:02
@vyzo
Copy link
Contributor

vyzo commented Oct 10, 2019

An alternative, which I am using, is to set GOPROXY=direct; that way none of your package imports leaks to google.

The best way to do this in a sticky manner is

go env -w GOPROXY=direct

Perhaps we should have this in the README as well?

@raulk
Copy link
Member Author

raulk commented Oct 10, 2019

Yeah, that command fails with go < 1.13. But I’m fine adding a note recommending this to go1.13+ users that want to opt out of big brother surveillance at the expense of slower builds (hopefully the majority).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't build tutorial from the website
4 participants