Problem/Motivation

I get the following debug output during deployments:
taxonomy_entity_index should have an extra.drush.services section in its composer.json. See http://docs.drush.org/en/10.x/commands/#specifying-the-services-file.

Per drush major version 9/10 documentation https://docs.drush.org/en/9.x/commands/#specifying-the-services-file a module's composer.json file requires an extra.drush.services section in the modules composer.json file.

In Drush 9, the default services file, drush.services.yml, will be used in instances where there is no services section in the Drush extras of the project's composer.json file. In Drush 10, however, the services section must exist, and must name the services file to be used. If a future Drush extension is written such that it only works with Drush 10 and later, then its entry would read "drush.services.yml": "^10", and Drush 9 would not load the extension's commands. It is all the same recommended that Drush 9 extensions explicitly declare their services file with an appropriate version constraint.

Proposed resolution

Add required section to composer.json file.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

spiderman created an issue. See original summary.

spiderman’s picture

larowlan’s picture

The MR is showing no changes 🤔

colan’s picture

Status: Active » Needs review

Looks like it's there now.

  • larowlan committed 144f0f1 on 8.x-1.x authored by spiderman
    Issue #3188602 by spiderman: Drush 9/10 Compatibility - Module missing...
larowlan’s picture

Status: Needs review » Fixed

Cutting a new release, thanks

larowlan’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.