AmazeeLabs/drush_deploy — pull request #3 by Leksat (2014-10-01 10:03:01+00:00)
Title: Changed bootstrap level

I ran into problem with drush deploy after updating drush to the latest version.

I got:

$drush deploy @live -v
Please specify the name of your application [error]
Please specify the repository that houses your application's code [error]

I fixed this by changing the bootstrap level in the deploy_drush_command() from DRUSH_BOOTSTRAP_DRUSH to DRUSH_BOOTSTRAP_DRUPAL_SITE.

I had the same issue with my safe-sync command: if the bootrsrap level is less than DRUSH_BOOTSTRAP_DRUPAL_SITE, the aliases are not loaded from sites/default folder.

BTW, you can check https://github.com/AmazeeLabs/drush_safe_sync when you have time. Probably you'll like it ;)