Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.drush provision-delete calls drush_get_option('force', FALSE) in
if (!drush_get_option('force', FALSE) && drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_ROOT) && provision_drupal_find_sites()) (files http/delete.provision.inc and platform/delete.provision.inc)
but provision-delete doesn't have this option (force) and can't respect the --force argument.
If you have a drush7 and broken platform you can't delete it without --force option, because drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_ROOT) returns DRUSH_NO_SITE (We could not find an applicable site for that command.).
This is easy to reproduce: Just add a platform with git from http://git.drupal.org/project/hosting.git or other repo without drupal. As result this platform can't be verified and can't be deleted.
Patch fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| drush-provision-delete-force-option.patch | 502 bytes | formatC'vt |











Comments
Comment #2
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commentedThanks, committed.