Problem/Motivation

When running $ drush deploy with drush version 10 the following error occurs:

[info] structure_sync should have an extra.drush.services section in its composer.json. See http://docs.drush.org/en/10.x/commands/#specifying-the-services-file.

Steps to reproduce

Proposed resolution

Add the following section to the composer.json file of this module:

  "extra": {
    "drush": {
      "services": {
        "drush.services.yml": "^9 || ^10"
      }
    }
  }

This is also done in other modules like acquia_connector, config_inspector, pathauto and many others.

Remaining tasks

Add the extra section and create composer.json file for this module.

User interface changes

API changes

Data model changes

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

ndf created an issue. See original summary.

ndf’s picture

Status: Active » Needs review
louis-cuny’s picture

Looks good to me. I did read drush's documentation but what I don't understand is, is it needed or not ?
With drush 11 I don't get the message and everything seems to work

  • louis-cuny committed 8118cc8 on 2.x authored by ndf
    Issue #3266587: [drush 10] structure_sync should have an extra.drush....
louis-cuny’s picture

Status: Needs review » Fixed

Just merged into 2.x, thank you @ndf

Status: Fixed » Closed (fixed)

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