Add Ddev Drupal Contrib for ease-of-maintenance

Created on 22 May 2024, 7 months ago
Updated 13 June 2024, 6 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.
  • Add CONTRIBUTING.md to document how to use Ddev Drupal Contrib and keep our dependencies up-to-date.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.3

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