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

Use Drupal DB during bootstrap instead of CLI #3800

Merged
merged 4 commits into from
Nov 25, 2018
Merged

Conversation

weitzman
Copy link
Member

Removes a dependency on the SQL classes and Drush users may no skip installation of mysql CLI client if they don't want to run sql commands. This is nice for mnimalist Docker pwoered environments.

@weitzman
Copy link
Member Author

weitzman commented Nov 24, 2018

Unfortunately, site:install uses the Drush SQL classes so we can't quite install a site without mysql. This is doable with a bit more work, unless the database needs to be created. I'll see what I can do.

@weitzman
Copy link
Member Author

I dont think we need to tackle site:install right now. We've done the job of further compartmentalizing the Boot classes.

@greg-1-anderson
Copy link
Member

Looks like we maybe need to catch an exception so that bootstrap max can work cleanly when the requisite table does not exist.

I agree that this is a net benefit even if we don't get site:install converted right away.

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

2 participants