]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: merge module support from x/vgo repo
authorRuss Cox <rsc@golang.org>
Thu, 12 Jul 2018 03:55:39 +0000 (23:55 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 12 Jul 2018 20:46:50 +0000 (20:46 +0000)
commitf7248f05946c1804b5519d0b3eb0db054dc9c5d6
tree73a9d64a6af33d4feefa5f3acf6eb7f7206a8a95
parentf22dd66b23ec1a703a3984cad1840bc8692cf1d0
cmd/go: merge module support from x/vgo repo

This CL corresponds to CL 123361, the final manual CL in that repo,
making this the final manual sync.

All future commits will happen in this repo (the main Go repo),
and we'll update x/vgo automatically with a fixed patch+script.

Change-Id: I572243309c1809727604fd704705a23c30e85d1a
Reviewed-on: https://go-review.googlesource.com/123576
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
156 files changed:
src/cmd/go/go_test.go
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/internal/envcmd/env.go
src/cmd/go/internal/fix/fix.go
src/cmd/go/internal/fmtcmd/fmt.go
src/cmd/go/internal/generate/generate.go
src/cmd/go/internal/get/discovery.go
src/cmd/go/internal/get/get.go
src/cmd/go/internal/get/pkg_test.go
src/cmd/go/internal/get/vcs.go
src/cmd/go/internal/get/vcs_test.go
src/cmd/go/internal/help/help.go
src/cmd/go/internal/help/helpdoc.go
src/cmd/go/internal/list/list.go
src/cmd/go/internal/load/flag.go
src/cmd/go/internal/load/pkg.go
src/cmd/go/internal/load/search.go
src/cmd/go/internal/modcmd/mod.go [new file with mode: 0644]
src/cmd/go/internal/modcmd/vendor.go [new file with mode: 0644]
src/cmd/go/internal/modcmd/verify.go [moved from src/cmd/go/internal/vgo/verify.go with 59% similarity]
src/cmd/go/internal/modconv/convert.go [moved from src/cmd/go/internal/modfetch/convert.go with 56% similarity]
src/cmd/go/internal/modconv/convert_test.go [moved from src/cmd/go/internal/modfetch/convert_test.go with 75% similarity]
src/cmd/go/internal/modconv/dep.go
src/cmd/go/internal/modconv/glide.go
src/cmd/go/internal/modconv/glock.go
src/cmd/go/internal/modconv/godeps.go
src/cmd/go/internal/modconv/modconv.go
src/cmd/go/internal/modconv/modconv_test.go
src/cmd/go/internal/modconv/tsv.go
src/cmd/go/internal/modconv/vconf.go
src/cmd/go/internal/modconv/vjson.go
src/cmd/go/internal/modconv/vmanifest.go
src/cmd/go/internal/modconv/vyml.go
src/cmd/go/internal/modfetch/bitbucket/fetch.go [deleted file]
src/cmd/go/internal/modfetch/cache.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/cache_test.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/codehost/codehost.go
src/cmd/go/internal/modfetch/codehost/git.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/codehost/git_test.go [moved from src/cmd/go/internal/modfetch/gitrepo/fetch_test.go with 69% similarity]
src/cmd/go/internal/modfetch/codehost/shell.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/codehost/vcs.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/coderepo.go
src/cmd/go/internal/modfetch/coderepo_test.go
src/cmd/go/internal/modfetch/domain.go [deleted file]
src/cmd/go/internal/modfetch/fetch.go [new file with mode: 0644]
src/cmd/go/internal/modfetch/github/fetch.go [deleted file]
src/cmd/go/internal/modfetch/gitrepo/fetch.go [deleted file]
src/cmd/go/internal/modfetch/googlesource/fetch.go [deleted file]
src/cmd/go/internal/modfetch/gopkgin.go [deleted file]
src/cmd/go/internal/modfetch/proxy.go
src/cmd/go/internal/modfetch/query.go [deleted file]
src/cmd/go/internal/modfetch/repo.go
src/cmd/go/internal/modfetch/unzip.go
src/cmd/go/internal/modfile/read.go
src/cmd/go/internal/modfile/read_test.go
src/cmd/go/internal/modfile/rule.go
src/cmd/go/internal/modfile/rule_test.go [new file with mode: 0644]
src/cmd/go/internal/modfile/testdata/replace2.golden
src/cmd/go/internal/modfile/testdata/replace2.in
src/cmd/go/internal/modget/get.go [new file with mode: 0644]
src/cmd/go/internal/modinfo/info.go
src/cmd/go/internal/modload/build.go [new file with mode: 0644]
src/cmd/go/internal/modload/help.go [new file with mode: 0644]
src/cmd/go/internal/modload/import.go [new file with mode: 0644]
src/cmd/go/internal/modload/import_test.go [new file with mode: 0644]
src/cmd/go/internal/modload/init.go [moved from src/cmd/go/internal/vgo/init.go with 62% similarity]
src/cmd/go/internal/modload/list.go [new file with mode: 0644]
src/cmd/go/internal/modload/load.go [new file with mode: 0644]
src/cmd/go/internal/modload/query.go [new file with mode: 0644]
src/cmd/go/internal/modload/query_test.go [new file with mode: 0644]
src/cmd/go/internal/modload/search.go [new file with mode: 0644]
src/cmd/go/internal/module/module.go
src/cmd/go/internal/mvs/mvs.go
src/cmd/go/internal/mvs/mvs_test.go
src/cmd/go/internal/par/work.go [new file with mode: 0644]
src/cmd/go/internal/par/work_test.go [new file with mode: 0644]
src/cmd/go/internal/search/search.go
src/cmd/go/internal/semver/semver.go
src/cmd/go/internal/semver/semver_test.go
src/cmd/go/internal/str/path.go
src/cmd/go/internal/txtar/archive.go [new file with mode: 0644]
src/cmd/go/internal/txtar/archive_test.go [new file with mode: 0644]
src/cmd/go/internal/vgo/build.go [deleted file]
src/cmd/go/internal/vgo/fetch.go [deleted file]
src/cmd/go/internal/vgo/get.go [deleted file]
src/cmd/go/internal/vgo/list.go [deleted file]
src/cmd/go/internal/vgo/load.go [deleted file]
src/cmd/go/internal/vgo/search.go [deleted file]
src/cmd/go/internal/vgo/vendor.go [deleted file]
src/cmd/go/internal/web2/web.go
src/cmd/go/internal/work/action.go
src/cmd/go/internal/work/build.go
src/cmd/go/internal/work/exec.go
src/cmd/go/internal/work/init.go
src/cmd/go/main.go
src/cmd/go/mod_test.go [new file with mode: 0644]
src/cmd/go/proxy_test.go [new file with mode: 0644]
src/cmd/go/testdata/addmod.go [new file with mode: 0644]
src/cmd/go/testdata/mod/README [new file with mode: 0644]
src/cmd/go/testdata/mod/example.com_v1.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/golang.org_x_text_v0.0.0-20170915032832-14c0d48ead0c.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/golang.org_x_text_v0.3.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180214005133-e7a685a342c0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180214005840-23179ee8a569.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180628003336-dd9747d19b04.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709153244-fd906ed3b100.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709160352-0d003b9c4bfa.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162749-b44a0b17b2d1.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162816-fe488b867524.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162918-a91498bed0a7.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180710144737-5d9f230bcfba.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.1.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.2.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.2.1.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.3.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.4.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.5.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.5.1.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.5.2.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v1.5.3-pre1.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v2.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v2_v2.0.1.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_quote_v3_v3.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_sampler_v1.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_sampler_v1.2.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_sampler_v1.2.1.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_sampler_v1.3.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_sampler_v1.3.1.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/rsc.io_sampler_v1.99.99.txt [new file with mode: 0644]
src/cmd/go/testdata/rsc.io_quote_0d003b9.txt [new file with mode: 0644]
src/cmd/go/testdata/rsc.io_quote_5d9f230.txt [new file with mode: 0644]
src/cmd/go/testdata/rsc.io_quote_a91498b.txt [new file with mode: 0644]
src/cmd/go/testdata/rsc.io_quote_b44a0b1.txt [new file with mode: 0644]
src/cmd/go/testdata/rsc.io_quote_fe488b8.txt [new file with mode: 0644]
src/cmd/go/testdata/savedir.go [new file with mode: 0644]
src/cmd/go/testdata/testcover/pkg1/a.go [new file with mode: 0644]
src/cmd/go/testdata/testcover/pkg2/a.go [new file with mode: 0644]
src/cmd/go/testdata/testcover/pkg2/a_test.go [new file with mode: 0644]
src/cmd/go/testdata/testcover/pkg3/a.go [new file with mode: 0644]
src/cmd/go/testdata/testcover/pkg3/a_test.go [new file with mode: 0644]
src/cmd/go/testdata/testonly2/t.go [new file with mode: 0644]
src/cmd/go/testdata/vendormod.txt [new file with mode: 0644]
src/cmd/go/testdata/vendormod/go.mod [deleted file]
src/cmd/go/testdata/vendormod/v1.go [deleted file]
src/cmd/go/testdata/vendormod/v2.go [deleted file]
src/cmd/go/testdata/vendormod/v3.go [deleted file]
src/cmd/go/testdata/vendormod/w/go.mod [deleted file]
src/cmd/go/testdata/vendormod/w/w.go [deleted file]
src/cmd/go/testdata/vendormod/x/go.mod [deleted file]
src/cmd/go/testdata/vendormod/x/x.go [deleted file]
src/cmd/go/testdata/vendormod/y/go.mod [deleted file]
src/cmd/go/testdata/vendormod/y/y.go [deleted file]
src/cmd/go/testdata/vendormod/z/go.mod [deleted file]
src/cmd/go/testdata/vendormod/z/z.go [deleted file]
src/cmd/go/vendor_test.go