x/vgo: problem with multimodule repos hosted on Gitlab #26017
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version go1.10.1 darwin/amd64 vgo:2018-02-20.1
Latest
vgo
:What did you do?
I have a test project with multiple submodules which works just fine - https://github.com/mwf/vgotest
vgo
understands the submodules just fine if hosted on github.comThe problem appears when you host the same code (import paths are modified, of course) with Gitlab (doesn't matter, private server or gitlab.com).
Please check https://gitlab.com/mwf/vgotest
What did you expect to see?
I expect
vgo
to find the submodules in project, no matter which.git
-repo hosting is used.What did you see instead?
vgo
just can't determine the correct module root.First I tried to follow the Download protocol described in https://research.swtch.com/vgo-module, but then I checked it with github.com - it seems it doesn't follow it.
So there must be some rules to determine the root in your vgo code, which work OK for github but fail for gitlab.
I also tried all potential solutions like adding
go.mod
to the project root, tagging the repo in different ways - nothing helps :)Could we do anything here?
I did some issue search - #24044 is fixed, nothing else connected to Gitlab.
The text was updated successfully, but these errors were encountered: