This patch, written by me and sponsored by A Mountain Top, adds the ability for Drush to enable and disable modules in Drupal. It has been tested by me using various modules, and various dependency scenarios, and comes through like a trooper each time.
Robin
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1195745.patch | 7.59 KB | robin monks |
Comments
Comment #1
robin monks commentedGah, patch didn't attach...
Comment #2
moshe weitzman commentedI've been torn on this for a long time. I hate copying so much dependancy code from core. Any chance you can submit a patch for D7 to factor it out so we can avoid the code duplication. If your patch gets into 7, I'd feel better about putting this in D6. I don't really want to maintain this for a long time.
Any other opinions?
Comment #3
clemens.tolboomHe guys, this is already done in drush_mm. See #303861: Adding contrib drush modules and off course http://drupal.org/project/drush_mm
I like parts of the patches though. Clearing caches and actions.
I propose to add these to my project. What do you think?
Regards,
Clemens
Comment #4
robin monks commentedclemens.tolboom, definitely, add this to your module.
That said, I would much rather see this go into coder itself, so, moshe: exactly what would you like to see for HEAD to make this happen?
Robin
Comment #5
moshe weitzman commentedRobin - I would like to see no code duplication between drush and core. That implies that core gets refactored so that we can just call its dependancy functions.
Comment #6
clemens.tolboomXLinking #319501: Cleaning up when enabling and / or disabling.
@Robin : Please have a look over there :-)
Comment #7
moshe weitzman commented#151561: expanding module installation