-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Support/document use of Drush 12 #1783
Comments
Fixing this will resolve docksal/service-cli#299 |
Where is the new release with these fixes planned? |
I have created an issue in the BLT project. If you run Drush commands by using |
Thanks @loopy3025. using However, this is not an ideal long-term solution. Removing Drush Launcher and updating the |
This is already defined in all of the images. However, I’m not sure how it would be to make the launcher not run.
Obviously, there are Docksal users with Drupal 9 still. @lmakarov will have to weigh in on what adjustments to make to the images. |
Drush Launcher could (possibly optionally) be removed from the image. Either by not installing it in the first place or removing it with Those using earlier versions of Drush, and Drupal 9 would still work without Drush Launcher because the project's version of Drush would be installed and in the system's |
Swapping the order of the echo -e "\n"'export PATH="${PROJECT_ROOT:-/var/www}/vendor/bin:$PATH"' >> $HOME/.profile; \ |
I think drush launcher needs only for Drupal 7 sites. Drupal 8+ sites have drush in vendor/ |
The concern I have with the change of order approach is that if the project has If we want to change the order of the included echo -e "\n"'export PATH="${PROJECT_ROOT:-/var/www}/vendor/bin/drush:$PATH:${PROJECT_ROOT:-/var/www}/vendor/bin"' >> $HOME/.profile; \ But at this point it just might be better to remove Drush Launcher if we don't need it. |
Sounds like we'll drop Drush Launcher in the next docksal/cli release. |
Note I believe this is fixed if you switch to https://github.com/docksal/service-cli/releases/tag/v3.6.0 I recommend we resolve this issue. |
Description
Drush 11 is not recommended for Drupal 10 and will be EOL in Nov 2023.
Drush 12 will not be compatible with Drush Launcher: drush-ops/drush-launcher#105
Docksal's current documentation on drush setup does not explain how to use Drush 12, and not use Drush Launcher.
Please document/support a way to remove Drush Launcher and/or documented how to update the
PATH
environment variable as noted in the recent update to Drush's install docs.Steps to reproduce the issue:
fin drush status
Describe the results you received:
The following message is displayed.
The text was updated successfully, but these errors were encountered: