-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go completer has dependencies on outdated fork and crashes #586
Comments
Thanks for the report. @Manishearth is maintaining the fork so we need to wait for him to update it and then we'll update the submodule. |
That's not right. We don't depend on rogpeppe/godef, all dependencies are in-tree with paths rewritten, precisely to avoid this issue. https://github.com/Manishearth/godef/blob/ycmd_compat/go_local/types/types.go |
@Manishearth Well, then ymcd's submodule is not pointing to the right branch https://github.com/Valloric/ycmd/blob/master/.gitmodules#L28 |
Wait, no ... there's something wrong on my side. Let me take a look and I'll report back. |
I'm sorry, i ran |
@Manishearth while we're on the subject, since the original project does support the json output now (IIRC that was the reason for using a fork), are there any reasons why we're not using the original project? |
That was only part of the reason for using a fork, the other reason is that that project can't be built in-tree. Go has two mutually-exclusive modes of referring to package deps. Either you use Now, we could make the build steps If we just add upstream godef as a submodule, it won't build. Thus, to be able to pin to a version, we need to have something with the github.com paths rewritten as relative paths. The upstream repo can't do this because such projects cannot be I can rebase the fork to pull in any improvements, but we can't get rid of it 😢 |
@Manishearth thanks for the explanation. Has been a while since I coded with |
So, ycmd uses
https://github.com/Manishearth/godef.git
as a submodule for building the go completer but that fork is outdated, causing the following error:Upon further inspection, such fork depends on a
types.GoPath
variable which is no longer set by one of its dependencies (rogpeppe/godef@21b69de).Hope you can fix this. Let me know if I can help in any way.
The text was updated successfully, but these errors were encountered: