Skip to content
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

[READY] Write python used during build before installing completers #808

Conversation

micbou
Copy link
Collaborator

@micbou micbou commented Aug 2, 2017

If ycmd compilation is successful but installing a completer fails, we don't create the PYTHON_USED_DURING_BUILDING file. This can be an issue if the user gives up on the completer installation and the client uses the Python from this file to start ycmd (like YCM does). This could explain issue ycm-core/YouCompleteMe#2729.


This change is Reviewable

@vheon
Copy link
Contributor

vheon commented Aug 2, 2017

:lgtm:


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@puremourning
Copy link
Member

Yep. Cheers! :lgtm: @zzbot r=vheon


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

📌 Commit ff75920 has been approved by vheon

@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

⌛ Testing commit ff75920 with merge 71761fa...

zzbot added a commit that referenced this pull request Aug 3, 2017
…pleters, r=vheon

[READY] Write python used during build before installing completers

If ycmd compilation is successful but installing a completer fails, we don't create the `PYTHON_USED_DURING_BUILDING` file. This can be an issue if the user gives up on the completer installation and the client uses the Python from this file to start ycmd (like YCM does). This could explain issue ycm-core/YouCompleteMe#2729.

<!-- 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/808)
<!-- Reviewable:end -->
@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

💔 Test failed - status-travis

@puremourning
Copy link
Member

Hmmm. Auto cancellation on travis? Wtf?

@zzbot retry


Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

⌛ Testing commit ff75920 with merge 67d3b8a...

zzbot added a commit that referenced this pull request Aug 3, 2017
…pleters, r=vheon

[READY] Write python used during build before installing completers

If ycmd compilation is successful but installing a completer fails, we don't create the `PYTHON_USED_DURING_BUILDING` file. This can be an issue if the user gives up on the completer installation and the client uses the Python from this file to start ycmd (like YCM does). This could explain issue ycm-core/YouCompleteMe#2729.

<!-- 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/808)
<!-- Reviewable:end -->
@bstaletic
Copy link
Collaborator

Hmmm. Auto cancellation on travis? Wtf?

Wouldn't be the first time it happened. Prevented us from merging one PR for a while recently.

@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

💔 Test failed - status-travis

@codecov-io
Copy link

codecov-io commented Aug 3, 2017

Codecov Report

Merging #808 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #808   +/-   ##
=======================================
  Coverage   94.75%   94.75%           
=======================================
  Files          79       79           
  Lines        5317     5317           
  Branches      170      170           
=======================================
  Hits         5038     5038           
  Misses        232      232           
  Partials       47       47

@micbou
Copy link
Collaborator Author

micbou commented Aug 3, 2017

I've disabled auto cancellation of branch builds on Travis. @zzbot shouldn't cancel its own builds anymore. Still, I think we should do something about it. Maybe report the issue on the homu repository. Ping @Valloric.

@zzbot retry


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

⌛ Testing commit ff75920 with merge ce79864...

zzbot added a commit that referenced this pull request Aug 3, 2017
…pleters, r=vheon

[READY] Write python used during build before installing completers

If ycmd compilation is successful but installing a completer fails, we don't create the `PYTHON_USED_DURING_BUILDING` file. This can be an issue if the user gives up on the completer installation and the client uses the Python from this file to start ycmd (like YCM does). This could explain issue ycm-core/YouCompleteMe#2729.

<!-- 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/808)
<!-- Reviewable:end -->
@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

💔 Test failed - status-travis

@zzbot
Copy link
Contributor

zzbot commented Aug 3, 2017

☀️ Test successful - status-travis
Approved by: vheon
Pushing ce79864 to master...

@zzbot zzbot merged commit ff75920 into ycm-core:master Aug 3, 2017
@micbou micbou deleted the write-python-used-during-build-before-completers branch August 6, 2017 18:12
zzbot added a commit to ycm-core/YouCompleteMe that referenced this pull request Sep 10, 2017
[READY] Update ycmd

This new version of ycmd includes the following changes:

 - PR ycm-core/ycmd#795: add option to make relative paths in flags from extra conf absolute;
 - PR ycm-core/ycmd#802: fix compilation on Haiku;
 - PR ycm-core/ycmd#804: add libclang detection on FreeBSD;
 - PR ycm-core/ycmd#808: write python used during build before installing completers;
 - PR ycm-core/ycmd#810: support unknown languages from tags;
 - PR ycm-core/ycmd#811: update Universal Ctags languages list;
 - PR ycm-core/ycmd#814: resolve symlinks in extra conf glob patterns;
 - PR ycm-core/ycmd#815: update JediHTTP;
 - PR ycm-core/ycmd#816: update Boost to 1.65.0;
 - PR ycm-core/ycmd#819: filter and sort candidates when query is empty;
 - PR ycm-core/ycmd#820: improve LLVM root path search for prebuilt binaries;
 - PR ycm-core/ycmd#822: inline critical utility functions;
 - PR ycm-core/ycmd#824: do not sort header paths in filename completer;
 - PR ycm-core/ycmd#825: implement partial sorting;
 - PR ycm-core/ycmd#830: add max_num_candidates option;
 - PR ycm-core/ycmd#831: fix multiline comments and strings issues;
 - PR ycm-core/ycmd#832: update Clang to 5.0.0.

The `g:ycm_max_num_candidates` and `g:ycm_max_num_identifier_candidates` options are added to the documentation.

The link to ycmd extra conf is updated.

Fixes #2562.

<!-- 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/2768)
<!-- Reviewable:end -->
zzbot added a commit to ycm-core/YouCompleteMe that referenced this pull request Sep 10, 2017
[READY] Update ycmd

This new version of ycmd includes the following changes:

 - PR ycm-core/ycmd#795: add option to make relative paths in flags from extra conf absolute;
 - PR ycm-core/ycmd#802: fix compilation on Haiku;
 - PR ycm-core/ycmd#804: add libclang detection on FreeBSD;
 - PR ycm-core/ycmd#808: write python used during build before installing completers;
 - PR ycm-core/ycmd#810: support unknown languages from tags;
 - PR ycm-core/ycmd#811: update Universal Ctags languages list;
 - PR ycm-core/ycmd#814: resolve symlinks in extra conf glob patterns;
 - PR ycm-core/ycmd#815: update JediHTTP;
 - PR ycm-core/ycmd#816: update Boost to 1.65.0;
 - PR ycm-core/ycmd#819: filter and sort candidates when query is empty;
 - PR ycm-core/ycmd#820: improve LLVM root path search for prebuilt binaries;
 - PR ycm-core/ycmd#822: inline critical utility functions;
 - PR ycm-core/ycmd#824: do not sort header paths in filename completer;
 - PR ycm-core/ycmd#825: implement partial sorting;
 - PR ycm-core/ycmd#830: add max_num_candidates option;
 - PR ycm-core/ycmd#831: fix multiline comments and strings issues;
 - PR ycm-core/ycmd#832: update Clang to 5.0.0.

The `g:ycm_max_num_candidates` and `g:ycm_max_num_identifier_candidates` options are added to the documentation.

The link to ycmd extra conf is updated.

Fixes #2562.

<!-- 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/2768)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants