Skip to content
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

Switch to Drush 8 for Drupal 8 #729

Closed
omega8cc opened this issue Jun 3, 2015 · 12 comments
Closed

Switch to Drush 8 for Drupal 8 #729

omega8cc opened this issue Jun 3, 2015 · 12 comments

Comments

@omega8cc
Copy link
Owner

omega8cc commented Jun 3, 2015

We can't move past this point, because Drush 8-dev dropped support for PHP 5.3, while Drush 7.0.0 dropped support for Drupal 8 entirely. This means that we have to temporarily drop support for Drupal 8 officially, until we can move forward and start using Drush 8 (and forcefully drop support for PHP 5.3, as a consequence, which may cause problems for some old D6 contrib, perhaps).

References:

https://pantheon.io/blog/introducing-drush-8
https://github.com/drush-ops/drush/releases/tag/7.0.0
drush-ops/drush@ded6ccf

@omega8cc omega8cc changed the title Use Drush 7.0-rc2 until BOA is ready to drop PHP 5.3 support Use Drush 7.0-rc2 and drop Drupal 8 support until BOA is ready to drop PHP 5.3 support Jun 3, 2015
@omega8cc
Copy link
Owner Author

omega8cc commented Jun 4, 2015

That said, we should try to include Drupal 8.0.0-Beta11 if possible, since Drush 7.0-rc2 is supposed to support Beta10.

@omega8cc omega8cc added this to the 2.4.4 milestone Jun 30, 2015
@omega8cc
Copy link
Owner Author

There was no point in trying to support Drupal 8 beta with Drush 7.0-rc2. Instead, we need to introduce dual support for Drush 7 and Drush 8, as we did before with Drush 4, 5 and 6, so we could re-introduce support for Drupal 8 per Octopus instance without forcing all instances to use Drush 8 with PHP 5.5+.

@omega8cc omega8cc reopened this Aug 18, 2015
@omega8cc omega8cc changed the title Use Drush 7.0-rc2 and drop Drupal 8 support until BOA is ready to drop PHP 5.3 support Add support for Drush 8 and Drush 7 running in parallel for Drupal 8 +backward compatibility mode Aug 18, 2015
@omega8cc omega8cc modified the milestones: 2.5.0, 2.4.4 Aug 18, 2015
@omega8cc
Copy link
Owner Author

For some reason, latest Drupal 8.0.0-beta15 (vanilla, no patches!) just works again with BOA-2.4.5, which still comes with Drush 7.0-rc2

@omega8cc
Copy link
Owner Author

This means that current BOA stable supports Drupal 6, 7 and 8, out of the box, with the same Drush version used. Pretty good D8 reloading!

@florisvanwoudenberg
Copy link

We have installed Drupal 8 in a clean boa 2.4.6, but ran into issues where Drush 7 is still used and we cannot execute drush cr because of updates in drush.

Are there plans to include drush 8 in boa?

@omega8cc
Copy link
Owner Author

Yes, this issue (as visible in its title above) is for adding Drush 8 (in BOA-2.5.0 milestone shown on the right here).

@omega8cc
Copy link
Owner Author

omega8cc commented Oct 3, 2015

It looks like Drupal 8.0.0-beta15 was the last version still working with Drush 7.0-rc2.

Drupal 8.0.0-beta16 removed conf_path() which effectively renders Drush 7.0-rc2 useless for D8 core newer than beta15.

We should probably consider more aggressive approach and just switch to Drush 8 (head), and effectively stop supporting PHP 5.3 (and 5.4)

Similarly like we did with PHP 5.2 in the past, we will first block ability to upgrade for any Octopus instance which still runs on PHP 5.3, but we will not remove PHP 5.3 yet.

This will greatly simplify and speed up development, so we don't need to deal with legacy and not secure software no one should run.

Now the question is: does Aegir 3 support Drush 8? Probably not :| https://www.drupal.org/node/1194602#comment-10343893

@EdNett
Copy link

EdNett commented Nov 6, 2015

Hi,

Since Drupal 8.0.0 is going to be released before November ends, could you think about doing the following with the install and upgrade script logic:
Download only drush 7 and 8 when only php 5.5 and/or 5.6 are specified in the barracuda and octopus configuration file. BOA must support drupal 8 once it's released, right?

This way BOA users can have one instance for D6 and 7 sites which supports php 5.3 and 5.4, and a separate instance for d 7 and d8 sites which allow only php 5.5 and 5.6 and 7 (I assume it's about time to start adding php 7 as an option, right?)

I'm just really looking forward to starting to build and use d8. Thus, I'm respectfully suggesting that this issue be moved forward to BOA 2.4.7 or 2.4.8 at the latest - as 2.5.0 will be too long after drupal 8 is released, right?

Best regards,

Ed

@EdNett
Copy link

EdNett commented Nov 7, 2015

Or - another idea - How about having a separate octopus instance for a drupal 8 ONLY instance? We could require php 5.5 or later, and have 5.6 and 7.0 as options, and only allow d8 sites and platforms. Doing it this way might save a lot of time and work, since nothing needs to be changed in the existing installations. Is this possible? Or, am I missing a major point - Is the aegir hostmaster and provisioning system incompatible with d8 and drush 8? In any case, could you please let us know if we won't be able to host drupal 8 sites on BOA in the next 2 or 3 months - if we need to make other arrangements, please?

Thank you.

@omega8cc omega8cc changed the title Add support for Drush 8 and Drush 7 running in parallel for Drupal 8 +backward compatibility mode Switch to Drush 8 for Drupal 8 and remove Drush 7 Nov 14, 2015
@omega8cc omega8cc modified the milestones: 3.0.0, 2.5.0 Nov 14, 2015
@omega8cc
Copy link
Owner Author

You will be stuck in BOA-2.4.7 if you still want Drush 7 and PHP 5.3 for some reason. BOA-3.0.0 will remove PHP 5.3 and 5.4, along with Drush 7. We can't make it volatile "on the fly", depending on PHP versions installed.

@omega8cc omega8cc changed the title Switch to Drush 8 for Drupal 8 and remove Drush 7 Switch to Drush 8 for Drupal 8 Dec 19, 2015
@BrianGilbert
Copy link

Is head working with the stable releases of D8 yet?

@omega8cc
Copy link
Owner Author

@BrianGilbert Yes, but you need to use drush branch: https://twitter.com/omega8cc/status/702139876729298944

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants