Skip to content

Simplify Drupal Drush configuration #4819

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pjcdawkins
Copy link
Collaborator

@pjcdawkins pjcdawkins commented Aug 6, 2025

Why

Parallel to platformsh-templates/drupal11#11

Simplify Drush configuration removing the need for a ./drush/upsun_generate_drush_yml.php file.

What's changed

  • Move now-unnecessarily complex Drush configuration from a PHP script to a couple of lines in .environment
  • Remove now unnecessary reference to the config-reader library for Upsun + Drupal
  • Remove dependencies which was unnecessarily requiring Composer 2 (it's default in PHP 8.2+)
  • Inline the deploy script

I'm ignoring the nextjs-drupal template and tutorial (we could handle that separately?), and ancient Drupal versions (< 10).

Where are changes

Updates are for:

  • platform (sites/platform templates)
  • upsun (sites/upsun templates)

Copy link

github-actions bot commented Aug 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants