xforty / drush-deploy

Drupal deploy tool based on Capistrano and Drush
https://github.com/xforty/drush-deploy/wiki
Other
35 stars 4 forks source link

Disabling and uninstalling modules removed from make file #20

Open dkingofpa opened 11 years ago

dkingofpa commented 11 years ago

With a make file workflow such as drush-deploy, there may be times when a module is removed from the make file. When the code from that make file is deployed, the site can no longer find the removed module. It's in the db, but not in the code. @medlefsen has more detailed thoughts on this situation.

  1. Is this something we can actually solve in drush-deploy or does drupal core need to fix the situation?
  2. Are there ways we can detect removed modules and disable/uninstall on the current site prior to deploying to the new code?
  3. What happens on rollback if we already uninstalled the module?