IssueRaiser

cmd/go: allow replacement modules to alias other active modules

### What version of Go are you using (`go version`)? Go tip: `go version devel +f2131f6e0c Wed Aug 8 21:37:36 2018 +0000 darwin/amd64` ### Does this issue reproduce with the latest release? Yes (it is not reproduced with `go version go1.11beta2 darwin/amd64`) ### What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOCACHE="/Users/ikorolev/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/var/folders/_b/d1934m9s587_8t_6ngv3hnc00000gp/T/tmp.cqU8g8OM/gopath" GOPROXY="" GORACE="" GOROOT="/Users/ikorolev/.gvm/gos/go1.11beta3" GOTMPDIR="" GOTOOLDIR="/Users/ikorolev/.gvm/gos/go1.11beta3/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/var/folders/_b/d1934m9s587_8t_6ngv3hnc00000gp/T/tmp.cqU8g8OM/vgo-a-user/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_b/d1934m9s587_8t_6ngv3hnc00000gp/T/go-build138999780=/tmp/go-build -gno-record-gcc-switches -fno-common" ``` ### What did you do? Sorry, no standalone reproduction, since issue is connected with repository forking Assume we have a repository A: https://github.com/mwf/vgo-a with the only feature: ```go package a var A = "A" ``` Than we have a `fork1` https://github.com/mwf/vgo-a-fork

Posted by mwf on Aug 9, 2018, 7:35 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

github (Software)

cmd/go: allow replacement modules to alias other active modules

mwfAug 9, 2018, 7:35 PM

### What version of Go are you using (`go version`)? Go tip: `go version devel +f2131f6e0c Wed Aug 8 21:37:36 2018 +0000 darwin/amd64` ### Does this issue reproduce with the latest release? Yes (it is not reproduced with `go version go1.11beta2 darwin/amd64`) ### What operating system and processor architecture are you using (`go env`)? ``` GOARCH="amd64" GOBIN="" GOCACHE="/Users/ikorolev/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/var/folders/_b/d1934m9s587_8t_6ngv3hnc00000gp/T/tmp.cqU8g8OM/gopath" GOPROXY="" GORACE="" GOROOT="/Users/ikorolev/.gvm/gos/go1.11beta3" GOTMPDIR="" GOTOOLDIR="/Users/ikorolev/.gvm/gos/go1.11beta3/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/var/folders/_b/d1934m9s587_8t_6ngv3hnc00000gp/T/tmp.cqU8g8OM/vgo-a-user/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_b/d1934m9s587_8t_6ngv3hnc00000gp/T/go-build138999780=/tmp/go-build -gno-record-gcc-switches -fno-common" ``` ### What did you do? Sorry, no standalone reproduction, since issue is connected with repository forking Assume we have a repository A: https://github.com/mwf/vgo-a with the only feature: ```go package a var A = "A" ``` Than we have a `fork1` https://github.com/mwf/vgo-a-fork

Comments (0)

No comments yet. Start the discussion.

Comment on this issue