x/tools/gopls: gopls errors out without access to a repo, even if repo is vendored #41301
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What did you do?
We have a private repo that contains a dep, and not everyone (including me) has read access to the repo. However, the repo is vendored and the source is available in the vendor directory.
For example
Note that the vendored source is available at
myproduct/vendor/github.com/apublic/repo
What did you expect to see?
All tooling should work normally. I don't understand why
gopls
is attempting to fetch source from the repo instead of using the vendored source.What did you see instead?
"Repository not found" errors (with user and repo information redacted):
Build info
Go info
The text was updated successfully, but these errors were encountered: