Closed (fixed)
Project:
Provision
Version:
6.x-0.4-alpha3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2011 at 17:26 UTC
Updated:
4 Jul 2011 at 16:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
anarcat commentedThere is a --force flag in drush already that we use elsewhere (for example in provision-backup) and that I think we should reuse here, so I encourage you to use that too..
Also, try to use "false" instead of 0 when you mean false (as in the default value for that flag).
I wonder if provision_drupal_find_sites() works without bootstrapping the platform or changing that bootstrap level will break site deletion?
Otherwise this seems like a good idea.
Comment #2
EugenMayer commenteddrupal_find_sites does not work without, will always return "found one".
i will try to reuse force, and report back. Thank
Comment #3
anarcat commentedI'm sorry, I don't understand that.
Comment #4
EugenMayer commentedNo it does not work without a bootstrap, will always return "found". but in addition its one task of purge (force) to delete in any case.
Comment #5
EugenMayer commentedincorporated our suggestion anarcat and fixed bootstrap for "site check".
Comment #6
EugenMayer commentedwoops, patch
Comment #7
anarcat commentedIncredibly enough, this patch still applies, and looks about sound.
patch c0d53c7 applied to 2.x for a testing period, merge when tested.
Comment #8
j0nathan commentedSubscribing.
Comment #9
anarcat commentedmerged in 1.x.