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

Stop using drush launcher, use drush8 for drupal6/7, fixes #2514 #2720

Merged
merged 3 commits into from Dec 31, 2020

Conversation

rfay
Copy link
Member

@rfay rfay commented Dec 31, 2020

The Problem/Issue/Bug:

#2514: drush launcher really isn't useful in the post-drupal7-world. It's better for d8/d9 people to just site-install drush and pick up vendor/bin/drush, which is already in the $PATH in the web container

How this PR Solves The Problem:

  • No drush by default in /usr/local/bin
  • In Drupal7/6 /usr/local/drush8 is symlinked to /usr/local/bin/drush

Manual Testing Instructions:

  • Start a drupal7 project. ddev drush --version should show only drush 8 (and not drush launcher)
  • Start a drupal9 project. ddev drush --version will show the site-installed drush. If no site-installed drush, it will fail. It may be that the drush command should be updated here to check for the existence of drush in vendor/bin/drush

@rfay rfay force-pushed the 20201230_stop_using_drush_launcher branch from 9fdb7e5 to 975e141 Compare December 31, 2020 14:02
@rfay rfay merged commit 67f99f5 into ddev:master Dec 31, 2020
@rfay rfay deleted the 20201230_stop_using_drush_launcher branch December 31, 2020 20:10
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

1 participant