Skip to content

Extract drivers - #6870

Merged
gabor-boros merged 16 commits into
nextfrom
remove-drivers
Jul 14, 2020
Merged

gabor-boros merged 16 commits into
nextfrom
remove-drivers

Conversation

@gabor-boros

@gabor-boros gabor-boros commented May 17, 2020 •

Copy link
Copy Markdown
Member

Background

Right now, the Python, Java, Javascript and Ruby drivers are living outside of this repository. We could remove the drivers folder and do a little cleanup. Although it would be easy to remove the
drivers folder, we need to count with and resolve the following "issues":

  • Rql tests are using the builtin python driver
  • Admin UI using the builtin javascript driver

Description

This PR removes all the drivers from the main repository and make sure we can still build the admin ui with any version of the javascript driver. As a "side effect" we remove bluebird dependency and add the javascript driver as an external dependency.

Since the JavaScript driver got extracted too (finally), we had to solve the Admin UI build issues. To mitigate the issue, we are replacing bluebird external dependency by RethinkDB's latest JavaScript driver.

Note: During the extraction of the python driver (some years ago) we were not aware the rql tests, so this PR fixes the compatibility issues with the extracted driver too. Right now, all the python scripts in the rql_test directory were migrated to fully support Python 3 and the code was formatted. Python 3 support for other Python files in the repo will come later since that would blow up the scope of this PR.

TODO before being ready for the review

  • Remove drivers folder
  • Remove related Make targets
  • Fix importing builtin drivers in rql tests and helpers
  • During build time we should prepare the requirements for the Admin UI

This PR would resolve #1740 (moving to rethinkdash is out of scope right now).

@gabor-boros gabor-boros self-assigned this May 17, 2020
@gabor-boros gabor-boros added this to the Sprint #1 milestone May 17, 2020
@gabor-boros gabor-boros changed the title [WIP] Remove drivers Remove drivers May 21, 2020
@gabor-boros
gabor-boros requested a review from srh May 21, 2020 08:21
@gabor-boros gabor-boros changed the title Remove drivers Extract drivers May 21, 2020
@gabor-boros

Copy link
Copy Markdown
Member Author

@srh can we merge this?

@gabor-boros
gabor-boros merged commit 2854a9c into next Jul 14, 2020
@gabor-boros
gabor-boros deleted the remove-drivers branch July 14, 2020 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move drivers out of the main tree

1 participant