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

chore: drop q module #833

Merged
merged 2 commits into from
Jan 7, 2020
Merged

chore: drop q module #833

merged 2 commits into from
Jan 7, 2020

Conversation

erisu
Copy link
Member

@erisu erisu commented Sep 26, 2019

Motivation and Context

Description

  • Remove all q usages

Testing

Notice: Node 6 and 8 tests in Travis CI and AppVeyor fails. This PR is intended for next major as it uses APIs from Node >=10. PR #832 will be required first.

Checklist

  • I've run the tests to see all new and existing tests pass

@erisu erisu added this to the 9.0.0 milestone Sep 26, 2019
@timbru31
Copy link
Member

CI failures are due to Node.js 6 and 8 which are removed in PR #832

@raphinesse
Copy link
Contributor

Rebased against master

Copy link
Contributor

@raphinesse raphinesse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but should be merged after #862 since this PR omits removal of some Q usage that is done there.

@codecov-io
Copy link

codecov-io commented Jan 6, 2020

Codecov Report

Merging #833 into master will decrease coverage by 0.14%.
The diff coverage is 58.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #833      +/-   ##
==========================================
- Coverage   66.46%   66.32%   -0.15%     
==========================================
  Files          19       19              
  Lines        1855     1850       -5     
==========================================
- Hits         1233     1227       -6     
- Misses        622      623       +1
Impacted Files Coverage Δ
bin/templates/cordova/lib/prepare.js 35.47% <0%> (-0.34%) ⬇️
bin/templates/cordova/lib/build.js 30.06% <0%> (-0.49%) ⬇️
...n/templates/cordova/lib/builders/ProjectBuilder.js 67.61% <100%> (-0.19%) ⬇️
bin/templates/cordova/lib/run.js 100% <100%> (ø) ⬆️
bin/templates/cordova/lib/Adb.js 100% <100%> (ø) ⬆️
bin/templates/cordova/lib/check_reqs.js 49.49% <12.5%> (-0.01%) ⬇️
bin/templates/cordova/Api.js 52.87% <66.66%> (-0.62%) ⬇️
bin/lib/create.js 92.72% <90%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3cc75c...8644935. Read the comment docs.

Copy link
Contributor

@raphinesse raphinesse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what you did, but all the changes that were made to this PR by erisu#1 are reverted now. Please re-apply them.

* Fix faulty transformation of Q.when

* Simplify thenResolve transformation

Removes unnecesary Promise wrapping in onFulfilled callback.

* Transform .done calls to .then or .catch

The important thing is that we always handle rejections.

* Remove Q from specs

Requires Jasmine 3.5

* Replace Q.timeout w/ Promise.race & custom function
@erisu
Copy link
Member Author

erisu commented Jan 7, 2020

Thank you for the review and helping with the rebase @raphinesse

@erisu erisu merged commit 0e6ad28 into apache:master Jan 7, 2020
@erisu erisu deleted the drop-q branch January 7, 2020 12:23
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.

4 participants