I'm using drupal 8.3.6

which requires
"drush/drush": "master"

which has deprecated dl:
[notice] dl has been deprecated.

So to install drupalmoduleupgrader I ended up adding it to composer.json -
in the require:
"drupal/drupalmoduleupgrader": "1.x-dev"

then ran:
composer update

then:
cd modules/contrib/drupalmoduleupgrader
composer install

drush dmu-analyze
drush dmu-upgrade

both ran without any issues; and have saved us a ton of time!
Thank you for this kick-ass module!

CommentFileSizeAuthor
kick_ass.jpg116.81 KBKarinG
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

KarinG created an issue. See original summary.

KarinG’s picture

Issue summary: View changes
KarinG’s picture

Issue summary: View changes
bajah1701’s picture

Please update the documentation to reflect the different methods of installing the module given that drush 9 has deprecated dl.

bajah1701’s picture

Category: Bug report » Task
Priority: Normal » Minor
Status: Active » Needs review
Gábor Hojtsy’s picture

Status: Needs review » Fixed

I just removed drush dl mention from project page and the included readme, thanks.

Status: Fixed » Closed (fixed)

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

Shashwat Purav’s picture

Installed Drupal 8 using composer. Recieved "dl has been deprecated." error while tried to download a module using "drush dl" command.

Solution: Downgraded Drush version to 8 in composer.json and ran "composer update" command.