drush icon indicating copy to clipboard operation
drush copied to clipboard

Remove support for Drush as a global project

Open weitzman opened this issue 4 years ago • 3 comments

Folks can use Drush Launcher or any of the alternatives described there.

weitzman avatar Feb 24 '21 18:02 weitzman

Remove RedispatchToSiteLocal class and its call in \Drush\Preflight\Preflight::preflight

weitzman avatar Mar 13 '22 13:03 weitzman

@weitzman Drush launcher doesn't support aliases, and it seems that adding alias support there isn't gaining traction.

Instead of removing redispatchToSiteLocal, maybe instead we should only simplify the bootstrap logic, so that Drush can only bootstrap a Drupal site that it shares a vendor directory with.

This would allow us to retain the global Drush as an alias-aware launcher, and would also give us a place to put archive:restore.

greg-1-anderson avatar Mar 13 '22 14:03 greg-1-anderson

That makes sense, I think.

weitzman avatar Mar 13 '22 14:03 weitzman

See #5521. drush can still be used as a global drush (unsupported) but a site-local version is still required.

weitzman avatar May 01 '23 03:05 weitzman