]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix handling of gopkg.in/macaroon-bakery.v2-unstable
authorRuss Cox <rsc@golang.org>
Thu, 9 Aug 2018 21:03:05 +0000 (17:03 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 10 Aug 2018 00:47:31 +0000 (00:47 +0000)
commit479da24aac375d4d61dd34733b4fda643141991e
tree0dae0111b8d6d6ccc3de96a7fd9b7884cb05b4ef
parent9f5336d8d055e5768b5316bf6d32b1a5a705702e
cmd/go: fix handling of gopkg.in/macaroon-bakery.v2-unstable

When we added v2.0.0+incompatible we generalized the API
enough to make it easy to also accepting these gopkg-specific
v2-unstable suffixes. Do that.

Fixes #23989.

Change-Id: Ieabed11a5250c2999d73450c10b20f4c645ad445
Reviewed-on: https://go-review.googlesource.com/128901
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/modfetch/coderepo.go
src/cmd/go/internal/modfetch/pseudo.go
src/cmd/go/internal/module/module.go
src/cmd/go/proxy_test.go
src/cmd/go/testdata/mod/gopkg.in_dummy.v2-unstable_v2.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/script/mod_gopkg_unstable.txt [new file with mode: 0644]