]> Cypherpunks repositories - gostls13.git/commit
cmd: update vendored golang.org/x/mod
authorMichael Matloob <matloob@golang.org>
Mon, 31 Aug 2020 20:29:13 +0000 (16:29 -0400)
committerMichael Matloob <matloob@golang.org>
Tue, 1 Sep 2020 17:38:07 +0000 (17:38 +0000)
commitab88d97deb216cdd93712dedca3be4d7a561743e
treeb029dd8cab84fedbb344a386ad47a53814a42182
parentd7a6a44deb3a56aa3f94b75f7ab4ffa1a0fa8cef
cmd: update vendored golang.org/x/mod

This pulls in golang.org/cl/250920 which rejects Windows shortnames as
path components in module.CheckImportPath (as is already done in
cmd/go/internal/get's copy of CheckImportPath). This will allow us to replace
the copy of CheckImportPath with the original.

This also pulls in golang.org/cl/250919 which rejects + in CheckPath and
CheckImportPath, and golang.org/cl/235597, which adds methods to the zip
package for gorelease, but shouldn't affect cmd.

This change also updates the cmd/go test case TestScript/mod_bad_filenames
to reflect that golang.org/x/mod/zip error messages now include filenames
for bad file names that can't be included in zip archives.

Updates #29101

Change-Id: I7f654325dc33b19bc9c6f77a56546747add5a47f
Reviewed-on: https://go-review.googlesource.com/c/go/+/251877
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go.mod
src/cmd/go.sum
src/cmd/go/testdata/script/mod_bad_filenames.txt
src/cmd/vendor/golang.org/x/mod/module/module.go
src/cmd/vendor/golang.org/x/mod/zip/zip.go
src/cmd/vendor/modules.txt