commit | 97ff4ad34612eed56f1dc6c6aaee19617e45e2be | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Jun 20 12:19:38 2018 -0400 |
committer | Russ Cox <rsc@golang.org> | Wed Jun 27 18:58:24 2018 +0000 |
tree | 58a0744dc94caa1e473272537cb722148f50de26 | |
parent | 1b96834c2946460ab74b529df6b753fc0a03f628 [diff] |
cmd/go/internal/modfetch: fix Lookup, Import; add ImportRepoRev - Explain Lookup and Import, module paths vs import paths. - Add ImportRepoRev, because neither Lookup nor Import is appropriate for translating legacy versioning system configs. There's more to do in ImportRepoRev, but it's already more accurate than before. - Drop the old ad-hoc logic about github/bitbucket/etc in favor of resolving source code hosts using the "go get" logic. This enables paths like git.apache.org/thrift.git/lib/go/thrift again. - Structure $GOPATH/src/mod/cache a little more: make separate top-level directories mod/cache/download and mod/cache/vcs. Fixes golang/go#23983. Fixes golang/go#24687. Fixes golang/go#25590. Fixes golang/go#25654. Change-Id: I0de2d75c5846a1c054079e1c67b9a1100ed161c8 Reviewed-on: https://go-review.googlesource.com/120042 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
This repository holds a prototype of what the go command might look like with integrated support for package versioning.
See research.swtch.com/vgo for documents about the design.
Use go get -u golang.org/x/vgo
.
You can also manually git clone the repository to $GOPATH/src/golang.org/x/vgo
.
See CONTRIBUTING.md.
This is still a very early prototype. You are likely to run into bugs. Please file bugs in the main Go issue tracker, golang.org/issue, and put the prefix x/vgo:
in the issue title.
Thank you.