-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
- Loading branch information
Showing
11 changed files
with
238 additions
and
316 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.