After successfully installing migrate_manifest via drush (drush dl migrate_manifest, drush en migrate_manifest), the corresponding command appears in the drush list of commands:

migrate-manifest Execute the migrations as specified in a manifest file.
(migrate-manifest2)

When trying to use the command (same for 'migrate-manifest' and 'migrate-manifest2'), drush fails with the following error message:

Command migrate-manifest needs the following modules installed/enabled to run: migrate_manifest.
The drush command 'migrate-manifest2' could not be executed. [error]

Uninstalling the module is not possible:
drush pmu migrate_manifest:

Extension migrate_manifest was not found and will not be uninstalled.

Same for re-installing:
drush dl migrate_manifest:

Install location /home/.drush/migrate_manifest already exists. Do you want to overwrite it? (y/n): y
Project migrate_manifest (8.x-1.0) downloaded to /home/.drush/migrate_manifest.

drush en migrate_manifest:

migrate_manifest was not found. [warning]
The following projects provide some or all of the extensions not found:
migrate_manifest
Would you like to download them? (y/n): n
There were no extensions that could be enabled.

When answering 'yes' to the last question, it will just download the module again and throw the same error when trying to enable it.

Tested with different drush versions (8.x-dev and 8.0.0-rc3), but no difference. Cleared the drush cache several times, but also no difference.

Comments

majusz created an issue. See original summary.

neclimdul’s picture

It looks like this is a bug in drush, it fails because I didn't create a .module file. I'll make sure one gets into the next release, until then try downloading it manually and enabling it.

neclimdul’s picture

Status: Active » Fixed

.module push up.

  • neclimdul committed 99a226a on 8.x-1.x
    Fix #2621994 Drush dl is unable to install migrate_manifest
    
    Empty...
majusz’s picture

Status: Fixed » Active

Thanks for your commit.

Installing the empty .module file doesn't change anything for me, though.

If you think this is a bug in drush, maybe I should post this in the drush issue queue. Or is there anything else that might be wrong on the side of this module?

neclimdul’s picture

Sorry, which symptoms are you still seeing?

majusz’s picture

I'm still seeing the same symptoms as described in my original post. The installation of the .module file you provided didn't change any of those. I have cleared the drush cache a few times afterwards, but still no change.

I also deleted the folder ~/.drush/migrate_manifest completely, downloaded migrate_manifest again, added the new migrate_manifest.module file - but it's still not possible to enable or use the migrate-manifest command.

neclimdul’s picture

Status: Active » Fixed

That process won't work until a new release is made. You will have to _manually_ install it. Download the module from the project page, enable it, use the drush command.

Status: Fixed » Closed (fixed)

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