Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/vgo: can't find git tag for non-root module #24840
What version of Go are you using (
You have a
Did you intend for that?
Untested, but I think you need the
I tried that and it didn't change anything.
From original issue:
I also tried adding the root
I pushed a new lib github.com/nicksnyder/hola which demonstrates this other issue. It has a structure like this:
I pushed a commit to github.com/nicksnyder/app to create two test cases, one against
Can you tell me what is supposed to work?
Apologies, I didn't read the original issue carefully enough.
Now I actually think this is a duplicate of #24687 (comment)
This horrendous script tries to recreate the scenario you described above. To recreate yourself:
See my versions of those three repos:
The end result is much the same:
As you can see things are failing for
And that's what's also going on in #24687 (comment)
I updated github.com/nicksnyder/app because it has some unintended issues in it, and now I can reproduce the error that seems to be similar to the one you reported in the other issue:
If I then pin the module to 2.0.0 (e.g.
I think we can close this issue since the original reproduction was for a setup that was not documented to work. Instead, I am going to open a new issue with fresh reproduction steps for a setup that is supposed to work. Completely fine if you want to immediately mark it as a duplicate, but it isn't obvious to me that it is.