Add Ddev Drupal Contrib for ease-of-maintenance

Created on 25 May 2024, 7 months ago
Updated 8 June 2024, 7 months ago

Problem/Motivation

I've been maintaining my contrib projects using https://github.com/ddev/ddev-drupal-contrib for some time now, and have just been leaving the .ddev folder uncommitted.

But now that Ddev has become the gold standard for Drupal local development, I feel it is now safe to commit the .ddev folder to the project (as recommended by ddev-drupal-contrib) and then document in the README.md how to setup a local environment for contribution/maintenance.

Optional. Commit the changes in the .ddev folder after this plugin installs. This saves other users from having to install this integration.

Other projects where .ddev has been committed (by Moshe - Maintainer of Ddev Drupal Contrib).

https://git.drupalcode.org/project/domain_perm/-/tree/2.0.x?ref_type=heads

Proposed resolution

  • Commit the .ddev/ folder and config.yaml file, compatible with version 1.23.0 of Ddev.
  • Since Ddev doesn't auto-install Drush anymore, add drush/drush to dev dependencies of the composer.json for standard cli tooling access. Note this module currently doesn't have any custom Drush commands, but it helps to have a fully functionaly Ddev local environment including drush, and it seems this is currently the only way.
  • Update README.md to document how to use Ddev Drupal Contrib and run code-quality analysis tooling on your local environment.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024