Add DDEV Drupal Contrib for ease-of-maintenance
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3537202. --> Reported by: [joelpittet](https://www.drupal.org/user/160302) Related to !64 !60 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>I've been maintaining my contrib projects using <a href="https://github.com/ddev/ddev-drupal-contrib">https://github.com/ddev/ddev-drupal-contrib</a> for some time now, and have just been leaving the .ddev folder uncommitted (via <code>./git/info/exclude</code>).</p> <p>But now that DDEV has become the <a href="https://www.drupal.org/docs/getting-started/installing-drupal/install-drupal-using-ddev-for-local-development">recommendation for Drupal local development</a>, I feel it is now safe to commit the <code>.ddev</code> folder to the project (as recommended by <a href="https://github.com/ddev/ddev-drupal-contrib/">ddev-drupal-contrib</a>) and then document in the README.md how to setup a local environment for contribution/maintenance.</p> <blockquote><p>Optional. Commit the changes in the <code>.ddev</code> folder after this plugin installs. This saves other users from having to install this integration.</p></blockquote> <p>Other projects where <code>.ddev</code> has been committed.</p> <p><a href="https://git.drupalcode.org/project/og/-/tree/2.x?ref_type=heads">https://git.drupalcode.org/project/og/-/tree/2.x?ref_type=heads</a><br> <a href="https://git.drupalcode.org/project/domain_perm/-/tree/2.0.x?ref_type=heads">https://git.drupalcode.org/project/domain_perm/-/tree/2.0.x?ref_type=heads</a><br> <a href="https://www.drupal.org/project/svg_image_field/issues/3449084">https://www.drupal.org/project/svg_image_field/issues/3449084</a><br> <a href="https://www.drupal.org/project/date_filter/issues/3532384">https://www.drupal.org/project/date_filter/issues/3532384</a><br> <a href="https://www.drupal.org/project/calendar/issues/3518635">https://www.drupal.org/project/calendar/issues/3518635</a><br> <a href="https://www.drupal.org/project/label_help/issues/3449755">https://www.drupal.org/project/label_help/issues/3449755</a></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ul> <li>Commit the <code>.ddev/</code> folder and simplified <code>config.yaml</code> file</li> <li>Since DDEV doesn't auto-install Drush anymore, add <code>drush/drush</code> 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 functional DDEV local environment including drush, and it seems this is currently the only way.</li> <li>Add CONTRIBUTING.md to document how to use DDEV Drupal Contrib and keep our dependencies up-to-date.</li> </ul> > Related issue: [Issue #3532385](https://www.drupal.org/node/3532385)
issue