When running 'drush dl some_module' attempts to fully bootstrap the site. It would be nice if drush dl didn't bootstrap at all, or at least failed gracefully.

Drush on my mamp machine times out when it gets to drupal_bootstrap_full, and therefore prevents me from even downloading modules (I don't believe this to be a bug in drush, as drush works fine on our LAMPs). I've had to comment out line 644 of pm.drush.inc, where drush_bootstrap_max() is called to be able to download again.

So, to clarify here, my feature request is for drush dl to either not bootstrap at all, or to fail gracefully when attempting to bootstrap, and still download the latest stable release of a particular module/theme, etc.

Comments

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

dl tries to bootstrap as far as it can in order to determine where to put the module/theme/profile (i.e. multi-site or not). when it can't bootstrap further, it gracefully puts the download where it best decides. You need to find out why drush is timing out because it already does what you ask.

q0rban’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Ok, thanks moshe. I'll keep troubleshooting my problem and hopefully figure out why this is happening. I spent a while going through it with adrian last week on irc, and he couldn't figure out why it was happening either. Thanks for your response.