-
Notifications
You must be signed in to change notification settings - Fork 774
[READY] Update Go completer #1098
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
Conversation
11bd8fe
to
325dd53
Compare
Switch Gocode to mdempsky's fork and use the official repository for Godef. Move Gocode and Godef submodules to third_party/go/src/github.com to allow building them in place. Since the status endpoint has been removed from Gocode, assume the server is healthy if it's running. Handle a null response from Gocode.
325dd53
to
2b3e1cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally, this is , but we should somehow remember to update gocode again, once go modules are supported.
Reviewed 9 of 9 files at r1.
Reviewable status: 0 of 2 LGTMs obtained (and 1 stale)
Codecov Report
@@ Coverage Diff @@
## master #1098 +/- ##
==========================================
+ Coverage 96.31% 97.56% +1.25%
==========================================
Files 89 89
Lines 6624 6948 +324
==========================================
+ Hits 6380 6779 +399
+ Misses 244 169 -75 |
Please merge this change and roll a release, it's making my days full of headaches. |
@flowchartsman We have a rule that requires two LGTM's from two team members before we merge any PR. If you really need this PR merged, do the following:
|
Sure. In the meantime, I'll venmo 50$ to whomever LGTMs and lands this. I do really need it :) |
We’re doing this in our spare time (see CONTRIBUTING.md). I don’t have a lot of that right now sorry so there has been a delay. I will try to get to it today but nagging doesn’t really help. |
Not nagging, showing appreciation for volunteer work. I’m not familiar enough with the codebase to do it myself, and it’s wrong to ask for a priority without offering to compensate to an expert, but if you find that it cheapens the work, I will find another way to contribute towards the project. Thanks in advance.
…Sent from my iPhone
On Sep 8, 2018, at 4:28 AM, Ben Jackson ***@***.***> wrote:
We’re doing this in our spare time (see CONTRIBUTING.md). I don’t have a lot of that right now sorry so there has been a delay. I will try to get to it today but nagging doesn’t really help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM sorry for the delay.
Reviewable status: 1 of 2 LGTMs obtained
Thanks for the review. @zzbot r+ |
📌 Commit 2b3e1cf has been approved by |
[READY] Update Go completer As discussed in issue #1097, switch the Gocode version to [mdempsky's fork](https://github.com/mdempsky/gocode). This requires moving the Gocode submodule to `third_party/go/src/github.com/mdempsky/gocode` and setting `GOPATH` to `third_party/go` when building Gocode. Do the same for Godef. This way, using [Manishearth's fork](https://github.com/Manishearth/godef) is not needed anymore. The following changes to the Go completer are required with this new version of Gocode: - the `status` endpoint has been removed so the server is now assumed to be healthy if it's running; - the `null` response is returned when there are no completions. Closes #1090. Closes #1092. Closes #1097. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/1098) <!-- Reviewable:end -->
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit late, but from me as well.
Reviewable status: 1 of 2 LGTMs obtained (and 1 stale)
☀️ Test successful - status-appveyor, status-travis |
[READY] Update ycmd Include the following changes: - PR ycm-core/ycmd#1075: remove Node.js workaround for Debian-based distributions; - PR ycm-core/ycmd#1077: update Boost to 1.68; - PR ycm-core/ycmd#1078: add semantic trigger for Julia; - PR ycm-core/ycmd#1081: improve type information on C++ member functions; - PR ycm-core/ycmd#1086: check if Python headers are installed before building; - PR ycm-core/ycmd#1088: raise proper exception for commands when file is still being parsed in C-family languages; - PR ycm-core/ycmd#1098: update Go completer; - PR ycm-core/ycmd#1099: update regex submodule; - PR ycm-core/ycmd#1100: add Python path to debugging information; - PR ycm-core/ycmd#1103: support framework headers completion and code navigation in C-family languages; - PR ycm-core/ycmd#1107: update Clang to 7.0.0; - PR ycm-core/ycmd#1109: update jdt.ls to 0.25.0; - PR ycm-core/ycmd#1110: handle null hover response from language servers; - PR ycm-core/ycmd#1111: update list of completion kinds defined by LSP; - PR ycm-core/ycmd#1113: send completion item kinds capability to language servers; - PR ycm-core/ycmd#1116: update Parso to 0.3.1 and Jedi to 0.13.1. Closes #3138. Closes #3145. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3175) <!-- Reviewable:end -->
As discussed in issue #1097, switch the Gocode version to mdempsky's fork. This requires moving the Gocode submodule to
third_party/go/src/github.com/mdempsky/gocode
and settingGOPATH
tothird_party/go
when building Gocode. Do the same for Godef. This way, using Manishearth's fork is not needed anymore.The following changes to the Go completer are required with this new version of Gocode:
status
endpoint has been removed so the server is now assumed to be healthy if it's running;null
response is returned when there are no completions.Closes #1090.
Closes #1092.
Closes #1097.
This change is