Created on 8 April 2024, 9 months ago
Updated 22 April 2024, 8 months ago

Problem/Motivation

See https://www.drush.org/12.x/commands/

  1. Drush 12 expects commandfiles to use a create() method to inject Drupal and Drush dependencies. Prior versions used a drush.services.yml file which is now deprecated and will be removed in Drush 13.
  2. Drush 12 expects all commandfiles in the <module-name>/Drush/<Commands|Generators> directory. The Drush subdirectory is a new requirement.

See similar issue πŸ’¬ Drush 12 compatibility Needs review for the Warmer module.

Steps to reproduce

Proposed resolution

  • Move commands to new src/Drush dir
  • Remove drush.services.yml; remove extra section from composer.json
  • Adjust composer.json; require "drush/drush": "^11.6 || ^12"
  • Use create() method in Drush commands (Not sure on that one πŸ€”)

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

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