cmd/go: The repository under multiple groups will not be available. #43142
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
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have a private repo:
https://my.gitlab.com/group0/group1/group2/repo
. Andgroup0
,group1
andgroup2
are all group names.And then I want to use it as a dependency in another repo in go.mod file.
But
go mod tidy -v
thinks that the repo ismy.gitlab.com/group0/group1
What did you expect to see?
I want the
go mod
works.What did you see instead?
I add some logs in function
repoRootForImportDynamic
in filesrc/cmd/go/internal/get/vcs.go
logs are
The text was updated successfully, but these errors were encountered: