I'm working on a patch contributor workflow, and installing Drupal from the command line is pretty key for that. Therefore i think it's important that Drush add Drupal 8 compatibility for basic developer commands (site-install, cc, etc.).

It works just fine after telling site-install it is compatible with Drupal 8 (in core.drush.inc) and copying a couple Drupal 7 engines to Drupal 8 (found in the commands/core/drupal folder and included with drush_include_engine(), the ones needed for site-install are site_install_X.inc and environment_X.inc).

The coming patch is against 'master', the result of git clone --branch master http://git.drupal.org/project/drush.git.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mlncn’s picture

Status: Active » Needs review
FileSize
9.22 KB

And here's the patch.

claar’s picture

sub

mlncn’s picture

Note: This is something of a duplicate issue, though a possible re-working of the engine system is under discussion at #1105826: Create 8.x version of various engines

greg.1.anderson’s picture

It seems to me that the engine files should be specifiable from drush extensions, so that d5 and d8 support could, for example, be maintained outside of core if desired.

While this sounds nice in concept, the downside is that it is probably unlikely that all of the necessary hooks needed for an older or newer version of Drupal would be available in drush core, so I don't know that it would be worth the effort unless someone came up with a really simple solution.

moshe weitzman’s picture

Status: Needs review » Fixed

I fixed up 'core' element on commands and missing engines so we should be done here.

Status: Fixed » Closed (fixed)
Issue tags: -dgd7

Automatically closed -- issue fixed for 2 weeks with no activity.