I just tried creating a new Drupal 8.8 version with this command:

composer -n create-project drupal/recommended-project:^8.8@dev drupal88

It looks like Drush isn't included, and that I have to add it with composer require drush/drush

Is this correct? It seems odd to not include Drush by default ...

Comments

ressa created an issue. See original summary.

Mixologic’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Composer initiative

Drush isn't part of drupal core. Its common, and typical, but for 'official' templates, we typically only really require / provide things that are in the core process, or things that have been vetted through the dependency process to make releases possible and safe. If drush wants to drop support for versions of php that core supports, for example, it can become an complicated issue.

In any case maybe drush could be considered a dependency for the templates. I'll tag this with the initiative tag as one of the drush maintainers is on the initiative team.

What will likely happen is that drush will get added to the 'suggests' for the templates here: #3082983: Decide what to "suggest" in Composer Project Templates

ressa’s picture

Thanks for pointing me to #3082983: Decide what to "suggest" in Composer Project Templates @mixologic, I will follow up over there. If for example Drush could become a dependency in drupal/recommended-project that would be fine.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

ressa’s picture

Mixologic’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Im going to go ahead and close this, as we're definitely not going to include drush as a core requirement anytime soon. It may end up in core itself, but not in the templates.

jcnventura’s picture

Status: Closed (won't fix) » Postponed (maintainer needs more info)

A lot of us in #3159647: Add drush/drush to Drupal Composer project templates disagree with that 'definitely'.

Mixologic’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Well, by some measure of 'soon' that was true. But since this is effectively a duplicate of #3159647: Add drush/drush to Drupal Composer project templates we should keep focus over there.