]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: add GOINSECURE
authorwitchard <witchard@hotmail.co.uk>
Fri, 8 Nov 2019 19:47:40 +0000 (19:47 +0000)
committerJay Conrod <jayconrod@google.com>
Fri, 8 Nov 2019 22:44:29 +0000 (22:44 +0000)
commit42db1da8e9def3490ed904594ad80e1090bff654
tree45a42f6c234b75b7d0abe826cc584fc59bb7e574
parent0bbcce962a2ef0937b1f5a5e5d3b7033760d0d2f
cmd/go/internal/modfetch: add GOINSECURE

Enables insecure fetching of dependencies whos path matches those specified in
the enironment variable GOINSECURE.

Fixes #32966

Change-Id: I378920fbd5a4436df0b5af3fb5533e663e2cc758
GitHub-Last-Rev: 2c87b303acbe86e273bd0b8514e338d34794b0d6
GitHub-Pull-Request: golang/go#35357
Reviewed-on: https://go-review.googlesource.com/c/go/+/205238
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/internal/envcmd/env.go
src/cmd/go/internal/help/helpdoc.go
src/cmd/go/internal/modfetch/insecure.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/repo.go
src/cmd/go/testdata/script/mod_convert_tsv_insecure.txt [new file with mode: 0644]
src/cmd/go/testdata/script/mod_get_insecure_redirect.txt
src/cmd/go/testdata/script/mod_sumdb_cache.txt
src/internal/cfg/cfg.go