]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: add -insecure deprecation to release notes
authorwitchard <witchard@hotmail.co.uk>
Tue, 22 Sep 2020 18:02:52 +0000 (18:02 +0000)
committerJay Conrod <jayconrod@google.com>
Thu, 24 Sep 2020 13:29:01 +0000 (13:29 +0000)
Updates #37519.

Change-Id: Iddf88a24334d4740f9c40caa2354127298692eeb
GitHub-Last-Rev: deda4c858b5c5582fa63ae7f1eee5f57292670c4
GitHub-Pull-Request: golang/go#41545
Reviewed-on: https://go-review.googlesource.com/c/go/+/256419
Reviewed-by: Jay Conrod <jayconrod@google.com>
Trust: Jay Conrod <jayconrod@google.com>
Trust: Bryan C. Mills <bcmills@google.com>

doc/go1.16.html

index 09717dac8534c107fb3abb3042aed9da05bd5a4f..3164acbb6dc85ce74ee1ef464bdef9876ba85aba 100644 (file)
@@ -85,6 +85,16 @@ Do not send CLs removing the interior tags from such phrases.
   that is still considered to be a passing test.
 </p>
 
+<p><!-- golang.org/issue/37519 -->
+  The <code>go</code> <code>get</code> <code>-insecure</code> flag is
+  deprecated and will be removed in a future version. The <code>GOINSECURE</code>
+  environment variable should be used instead, since it provides control
+  over which modules may be retrieved using an insecure scheme. Unlike the
+  <code>-insecure</code> flag, <code>GOINSECURE</code> does not disable module
+  sum validation using the checksum database. The <code>GOPRIVATE</code> or
+  <code>GONOSUMDB</code> environment variables may be used instead.
+</p>
+
 <h4 id="all-pattern">The <code>all</code> pattern</h4>
 
 <p><!-- golang.org/cl/240623 -->