Drush 12/13 compatibility

Created on 4 March 2025, about 1 month ago

Respect the submission guidelines above! Drupal.org issue forks cause additional work for the project maintainer!

Setup

Not applicable

Issue

Problem/Motivation

Remaining tasks

  • Move Commands directory into a Drush directory
  • Adapt namespace in SearchApiSolrCommands
  • Inject dependencies through the create() method in SearchApiSolrCommands
  • For a Drush10/11 backward compatibility: Move search_api_solr.commands declaration from drush.services.yml to search_api_solr.services.yml and adapt its path with the new namespace
  • Delete drush.services.yml
📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇫🇷France MacSim

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

Merge Requests

Comments & Activities

  • Issue created by @MacSim
  • Pipeline finished with Failed
    about 1 month ago
    Total: 133s
    #440221
  • Pipeline finished with Failed
    about 1 month ago
    Total: 137s
    #440231
  • 🇫🇷France MacSim

    Setting the status to "Needs review" since the composer install problem raised in pipelines is already on 4.0.x

    Dear reviewers,
    please make sure that the commands are available on Drush 12/13 and still available on Drush 11.

    Note for the maintainers: when you'll want to drop drush 11 support, you'll just need to remove the drush services declarations from search_api_solr.services.yml and modules/search_api_solr_admin/search_api_solr_admin.services.yml
    You could also force a drush 12 minimum version by adding the following lines to your composer.json in order to raise a conflict alert if someone tries to use an earlier version:

    "conflict": {
       "drush/drush": "<12"
    }
    
Production build 0.71.5 2024