Open jpresky opened 4 years ago
Here is the issue being tracked in etcd https://github.com/etcd-io/etcd/issues/12068
Thanks for the report! I'll see if there's a way we can accept input more leniently on our end.
@jpresky
Sorry for the delay into reading into this more deeply. I've put a lot of work into this repo recently to get it up to v1.0. I'm able to index both coreos/etcd as well as etcd-io/bbolt. Are you trying to index another repository that I didn't list here?
Just curious: isn't it caused by the missing replace
directive in go.mod of the project which is analyzed by lsif-go?
Ref:
From what I can tell the target project is not declaring its dependencies in go.mod correctly, and lsif-go wouldn't be able to do anything about it in this case. @jpresky, you say that go get
works but lisf-go
fails because it tries to pull in "additional" packages. Are you able to run tests on the code of this repo? (go get
will fetch deps but not test deps, which lsif-go does require by default).
I am following the instructions listed here to run this job: https://docs.gitlab.com/ee/user/project/code_intelligence.html
go get works fine but running the binary runs into problems because it looks like lsif-go downloads a few more modules.
there is a mismatch in the path of bbolt in the gomod and how it is imported in code.
Relevant issue here: https://github.com/etcd-io/bbolt/issues/224
I imagine when they fix it, lsif-go will also need to be updated to reference the latest etcd, which imports bbolt.