go/src
Russ Cox 3cf1d77080 cmd/go: implement Go checksum database support
This CL adds support for consulting the Go checksum database
when downloading a module that is not already listed in go.sum.
The overall system is described at golang.org/design/25530-sumdb,
and this CL implements the functionality described specifically in
golang.org/design/25530-sumdb#command-client.

Although the eventual plan is to set GOPROXY and GOSUMDB to
default to a Google-run proxy serving the public Go ecosystem,
this CL leaves them off by default.

Fixes #30601.

Change-Id: Ie46140f93c6cc2d85573fbce0878a258819ff44d
Reviewed-on: https://go-review.googlesource.com/c/go/+/173951
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-04-29 12:39:27 +00:00
..
archive archive/zip: use Modified in FileHeader.FileInfo 2019-04-08 07:55:52 +00:00
bufio bufio: fix emptyFinalToken example to handle multiple Reads 2019-03-02 18:28:10 +00:00
builtin builtin: spec correction for panic() 2019-04-05 00:52:55 +00:00
bytes bytes, internal/bytealg: simplify Equal 2019-04-24 00:56:36 +00:00
cmd cmd/go: implement Go checksum database support 2019-04-29 12:39:27 +00:00
compress cmd/go: further reduce init work 2019-03-31 10:49:55 +00:00
container container/heap: avoid memory leak in example 2019-02-26 23:42:26 +00:00
context all: s/cancelation/cancellation/ 2019-04-16 20:27:15 +00:00
crypto crypto/tls: fix a minor MAC vs padding leak 2019-04-16 23:10:02 +00:00
database/sql database/sql: add NullInt32 2019-04-26 21:54:41 +00:00
debug debug/dwarf: more graceful handling of unsupported types 2019-03-15 17:33:46 +00:00
encoding encoding/json: document HTML escaping in Compact 2019-04-23 14:22:20 +00:00
errors errors: return false if nil error is passed to As 2019-04-10 15:59:35 +00:00
expvar expvar: improve Map.addKey for large number of keys 2019-04-16 17:18:01 +00:00
flag cmd/go: further reduce init work 2019-03-31 10:49:55 +00:00
fmt fmt: fix spelling mistake in example 2019-03-25 21:03:10 +00:00
go go/internal/gccgoimporter: revise previous anonymous field fix. 2019-04-24 19:36:29 +00:00
hash
html html/template: prevent test from failing with nil pointer dereference 2019-03-02 01:53:40 +00:00
image image: deprecate ZP and ZR 2019-04-07 03:44:17 +00:00
index/suffixarray
internal bytes, internal/bytealg: simplify Equal 2019-04-24 00:56:36 +00:00
io io: align style of test comments in multi_test.go 2019-02-26 23:01:20 +00:00
log log: expose Writer() method of the standard logger 2019-03-25 01:18:56 +00:00
math math: consolidate assembly stub implementations 2019-04-23 14:50:16 +00:00
mime mime: add .jpeg for builtin 2019-04-03 18:17:48 +00:00
net net/url: document, test that PathEscape escapes / to %2F 2019-04-26 13:52:08 +00:00
os os: disable the use of netpoll on directories as well on *BSDs 2019-04-19 19:24:47 +00:00
path path/filepath: add examples for Base, Dir and IsAbs 2019-03-25 02:57:06 +00:00
plugin cmd/compile: reorganize init functions 2019-03-18 20:10:55 +00:00
reflect all: clean up code with token.IsExported 2019-04-16 14:43:48 +00:00
regexp regexp: add ReplaceAllStringFunc example 2019-02-27 21:48:41 +00:00
runtime runtime: whitelist debugCall32..debugCall65536 in debugCallCheck 2019-04-29 04:05:29 +00:00
sort sort, internal/reflectlite: flesh out reflectlite enough for use by sort 2019-03-27 04:58:23 +00:00
strconv strconv: Document ParseFloat's special cases 2019-04-29 11:07:31 +00:00
strings strings: remove "a copy of the string" from ToUpper/ToLower comments 2019-04-14 16:19:31 +00:00
sync sync: update comment 2019-04-19 16:15:36 +00:00
syscall syscall: allow setting security attributes on processes 2019-04-28 05:44:03 +00:00
testdata
testing testing: fix minor bug with mutex profile error message 2019-04-24 19:48:39 +00:00
text text/template: allow using -}} with many spaces 2019-03-24 09:06:14 +00:00
time time: fix misleading error with the leading zero format 2019-04-26 14:01:55 +00:00
unicode all: update to Unicode 11 2019-04-25 20:33:22 +00:00
unsafe
vendor vendor: pull in text@v0.3.2 2019-04-26 19:27:51 +00:00
Make.dist
all.bash
all.bat
all.rc
bootstrap.bash bootstrap.bash: preserve file times when copying 2019-04-27 14:36:00 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
go.mod vendor: pull in text@v0.3.2 2019-04-26 19:27:51 +00:00
go.sum vendor: pull in text@v0.3.2 2019-04-26 19:27:51 +00:00
iostest.bash cmd/dist: build exec wrappers during bootstrap 2019-02-26 17:59:23 +00:00
make.bash cmd/go: add env -w and env -u to set and unset default env vars 2019-04-23 00:58:08 +00:00
make.bat cmd/go: add env -w and env -u to set and unset default env vars 2019-04-23 00:58:08 +00:00
make.rc cmd/go: add env -w and env -u to set and unset default env vars 2019-04-23 00:58:08 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash all: move internal/x to vendor/golang.org/x and revendor using 'go mod vendor' 2019-03-11 20:28:54 +00:00
run.bat
run.rc