-
Notifications
You must be signed in to change notification settings - Fork 121
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 Drush 9.0.0-rc1 + #656
Support Drush 9.0.0-rc1 + #656
Conversation
src/Service/Drush.php
Outdated
[$this->getDrushExecutable(), 'version', '--format=string'], | ||
// Run the version check in the home directory, to avoid a Drupal | ||
// installation giving a misleading result. | ||
$this->getHomeDir() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was peeking a bit on this PR. Wouldn't this be inconsistent with site-local drush. You could or could not have a global drush installed. And even if you do, what you do for a project is specific to the local version of drush, not the global one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. This is running the site-local Drush (if available), because the getDrushExecutable() returns an absolute path, but it's running it with the home directory as the CWD. Although I can't remember exactly what problem this solves anymore (it seems like a workaround for earlier Drush 9 versions again).
* Move to class properties instead of static variables for caches * Cache the Drush executable (in a class property) * Fix aliases cache property, to run "drush sa" less often
f2b38d5
to
45f1592
Compare
Merged for release on approx. 6th December |
Not related to this issue, but just mentioning. Drush 9-rc1 doesn't seem to work properly on platform. Running a
Apparently as /app is not writable, config commands are not even exposed to drush. |
@hanoii add a mount for |
@pjcdawkins thanks! |
Fixes issue #655