Problem/Motivation

Module drush commands are not compatible with Drush 11 (also Drush 10 I think).

Steps to reproduce

Install Drush 11 and run drush list. Commands in gathercontent.drush.inc are not found.

Proposed resolution

My proposal is create commands for Drush 10+, making this incompatible with Drush 9.

Remaining tasks

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

sime created an issue. See original summary.

sime’s picture

Issue summary: View changes

sime’s picture

I've done the initial conversion to scratch my itch, sorry I may not have any capacity to follow through with improvements. I think the list and status commands are ok I guess. The import command could be nicer to run for example.

drush gc-i 3049582 0 0

TODO:
* remove gathercontent.drush.inc
* Work out cleaner arguments/options for `drush gc-i`?

Berdir made their first commit to this issue’s fork.

  • Berdir committed 7a0698d7 on 6.x authored by sime
    Issue #3356027: Drush 10/11 compatibility
    
berdir’s picture

Status: Active » Fixed

Thanks. Yeah, the UX of the commands isn't great, but it's working as it did before as far as I see, so improving it seems like a separate issue.

Removed drush.inc and fixed some php warnings with the question.

Merged.

sime’s picture

Thanks so much!

Status: Fixed » Closed (fixed)

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