Skip to content

Support drush instead of using too-simple core commands #29

@rfay

Description

@rfay

I'm pretty sure we can support drush successfully with this technique, discussed in https://drupal.slack.com/archives/C62H9CWQM/p1714512734554949

hooks:
  post-start:
    exec: git stash && composer require drush/drush && git stash apply

Then we can use ddev drush si and all the other wonderful riches of drush...without messing up the composer.json or composer.lock.

It's slightly intrusive, and DDEV itself would never do anything like that by policy... but this is an opinionated add-on.

I'll be happy to do a PR to add this to config.ddev-drupal-core-dev.yaml after

Tests and everything else could then be run using DDEV's settings.ddev.php, using all database types, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions