[10.2] Support Drush ^12 commands

Created on 29 May 2024, 29 days ago
Updated 25 June 2024, 2 days ago

Problem/Motivation

Since:

Drush versions below 12.4.3 are incompatible with Drupal 10.2.

(as per drupal 10.2.0 release notes β†’ )

module's Drush commands could perhaps be updated according to:
https://www.drush.org/12.x/commands/

Drush 12 expects all commandfiles in the <module-name>/src/Drush/<Commands|Generators> directory. The Drush subdirectory is a new requirement.

Proposed resolution

For versions of the module compatible with Drupal ^10.2, make the necessary changes to the current drush commands:
https://git.drupalcode.org/project/rules/-/tree/8.x-3.x/src/Commands?ref...
as suggested in the documentation above.

The file drush.services.yml could maybe be removed and the composer.json updated.
Review other files that would need to be updated.

Examples of similar issues, with code examples (patches, commits or merge requests):

πŸ“Œ Task
Status

Active

Version

4.0

Component

Rules Core

Created by

πŸ‡«πŸ‡·France DYdave

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024