While I wrote this for testing profile based installations, when I'm sandboxing a module I keep all modules in the sites directory, re-installing nukes all files and folders which means I have to re-download everything and may even lose some custom code if I wasn't smart enough to backup everything correctly.

Comments

ergonlogic’s picture

Issue summary: View changes

I think the way forward for this would be to wrap the call to provision-delete in an option check. Then we could instead run Provision_Service_db::destroy_site_database to just remove the DB, which is probably all we really need for development purposes. We'd probably also need to empty array of files to create on site install using hook_provision_drupal_create_directories_alter().

ergonlogic’s picture

Now that I've ported this to Aegir 3 (https://www.drupal.org/sandbox/ergonlogic/2386543), I'll work on this over there.