If a dependency requires you to select which release you want to install you get stuck in a loop where you must cancel the dependency download and must cancel enabling the module.
Example:
drush dl media_browser_plus
drush en media_browser_plus
The following projects have unmet dependencies:
media_browser_plus requires multiform
Would you like to download them? (y/n): y
There is no recommended release for project multiform.
Choose one of the available releases:
[0] : Cancel
[1] : 7.x-1.x-dev - 2011-Jun-09 - Development
[2] : 7.x-1.0-beta2 - 2011-Mar-25 - Supported
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drush-1218268.patch | 1.19 KB | jonhattan |
Comments
Comment #1
mrf commentedComment #2
moshe weitzman commentedThis might a dupe. Have some recollection about reading this before.
Comment #3
carn1x commentedSubscribe
Comment #4
jonhattanA way to fix this is to pass interactive flag to drush_invoke_process. Aditionally we need to disable DRUSH_AFFIRMATIVE context to avoid a infinite loop.
Other way is to implement pm-download --latest to avoid fallback to --select
Comment #5
moshe weitzman commentedSeems reasonable to me.
Comment #7
jonhattancommitted.
Comment #8
jonhattanComment #9
msonnabaum commentedBackported.