-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
drush-script for Drush9 #3017
Comments
I found the same issue that drush-script doesn't seem recognized. Short term I made sure that a global drush is installed. Drush Launcher can be installed using these settings:
I didn't find a drush bug report yet, but did see that some tests look like they just use "drush" for the executable in drush-script. EDIT: Need more coffee, this is the drush queue. :) |
The |
'drush' is documented as a read only property so not very helpful. I
suggest only exposing drush-script.
|
Having both It would also be useful to allow folks to specify a transport command to replace ssh as needed. Some folks are using a similar mechanism in Drupal Console to call straight into a docker container. The Drupal Console solution is an My thought was to have a |
Also, it's useful that this issue was added to the Drush queue, as we needed one for this. 😉 |
Hi and thanks for working hard on Drush 9 :) I also tried to specify a drush script path in my alias yml file, but I could not find a working syntax. Is this implemented in some way? If not, this issue is not only for Docker, Vagrant, etc. but also for simple remote aliases. |
Lets focus this issue on missing drush-script. The custom transport issue is #1910. I'll copy greg's comment there. |
Yep, sorry for hijacking this issue. |
Just wanted to throw in that's currently not possible to use drush aliases on Acquia Cloud with 8.4 and Drush9. The global installation is Drush8 and Drush9 locally can't be used without the drush-script path to point to the local install. The drush launcher does not help because it's not possible to install it there. |
This is definitely on our to-do list. Sorry it didn't make it in for beta6. Are you able to use the global Drush 8.1.14 with Drupal 8.4 on Acquia, or is a site-local Drush required? You could try using a global Drush 8.1.14 locally; it should be able to redispatch to a remote Drupal 8.4 with a site-local Drush 9. |
Can we use a policy file to dynamically modify the alias?
We previously loaded that policy automatically in BLT via drush/drushrc.php. However, drush no longer automatically loads that file. See #3027 and acquia/blt#2105. |
The main problem is that |
I'm going to implement |
In one of our projects i updated to Drupal 8.4 and could not find a suitable set of dependencies using composer without updating to Drush9.
Now i'm sitting here and want to update the drush aliases. I looked on #3010 and added following to drush/project.alias.yml:
The ssh connection seems to work but the remote side can't find drush. How should i set the pathes?
What is wrong and what do i need to adjust?
for
drush @project.dev cr
i get the following output:The text was updated successfully, but these errors were encountered: