]> Cypherpunks repositories - gostls13.git/commit
cmd/go: automatically check and use vendored packages
authorBryan C. Mills <bcmills@google.com>
Tue, 1 Oct 2019 19:48:17 +0000 (15:48 -0400)
committerBryan C. Mills <bcmills@google.com>
Wed, 9 Oct 2019 18:12:31 +0000 (18:12 +0000)
commit1736f3a126ce0980e2584aebb35c94e8b33b1bfb
tree4f8cc7232a36b9d4195fd3862cd539244b05ae53
parentdae8e719614f6e3d2e4e66071e5c91964b404676
cmd/go: automatically check and use vendored packages

This implements the proposal described in
https://golang.org/issue/33848#issuecomment-537222782.

Fixes #33848

Change-Id: Ia34d6500ca396b6aa644b920233716c6b83ef729
Reviewed-on: https://go-review.googlesource.com/c/go/+/198319
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
17 files changed:
doc/go1.14.html
src/cmd/go.mod
src/cmd/go/internal/modcmd/vendor.go
src/cmd/go/internal/modload/import.go
src/cmd/go/internal/modload/init.go
src/cmd/go/internal/modload/load.go
src/cmd/go/internal/work/init.go
src/cmd/go/testdata/script/mod_ambiguous_import.txt
src/cmd/go/testdata/script/mod_internal.txt
src/cmd/go/testdata/script/mod_test_files.txt
src/cmd/go/testdata/script/mod_vendor.txt
src/cmd/go/testdata/script/mod_vendor_auto.txt [new file with mode: 0644]
src/cmd/go/testdata/script/mod_vendor_build.txt
src/cmd/go/testdata/script/mod_vendor_unused.txt [new file with mode: 0644]
src/cmd/vendor/modules.txt
src/go.mod
src/vendor/modules.txt