cmd/go: confusing error message 'post-v1 module path ".../v1"' #27917
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I don't know how to interpret and act on the error message.
I didn't use the mentioned module path (ending with 'v1') anywhere in my go.mod files.
I was trying to move a package to a separate submodule in the same repo
following the package migration instruction found in #27858 (comment).
Started with the clone of upstream
v0.0.1
that containsred
andpalette
packages in one single module, I created a single commit that moves the
red
package to a separate module by creating a new
red/go.mod
file, andupdates the
go.mod
to require[email protected]
. Then, tagged the commit withred/v1.0.0
and also withv0.0.2
.The above error is what I got when I ran
go tidy
orgo build
before pushingthe commit and tags to origin.
I don't expect
go tidy
orgo build
to work anywaybecause the tags are not yet pushed to upstream (that's another issue).
But the error message is not the kind of what I expected.
The text was updated successfully, but these errors were encountered: