|author||Russ Cox <email@example.com>||Wed Jun 20 12:19:38 2018 -0400|
|committer||Russ Cox <firstname.lastname@example.org>||Wed Jun 27 18:58:24 2018 +0000|
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 <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org> Reviewed-by: Bryan C. Mills <email@example.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.
go get -u golang.org/x/vgo.
You can also manually git clone the repository to
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.