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
Comment #2
MixologicDrush 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
Comment #3
ressaThanks 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-projectthat would be fine.Comment #5
ressaAdding relevant issue.
Comment #6
MixologicIm 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.
Comment #7
jcnventuraA lot of us in #3159647: Add drush/drush to Drupal Composer project templates disagree with that 'definitely'.
Comment #8
MixologicWell, 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.