Please add support for rules revert via drush.
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | rules-revert-2474577-2.patch | 1.6 KB | thetwentyseven |
| #12 | rules-revert-2474577.patch | 2.6 KB | kenorb |
| #8 | drush_rules_revert-2474577-4.patch | 1.74 KB | msti |
| #3 | drush_rules_revert-2474577-3.patch | 1.74 KB | msti |
| #2 | drush_rules_revert-2474577-1.patch | 1.74 KB | msti |
Comments
Comment #1
mstiPatch.
Comment #2
msticoding standards fix
Comment #3
mstiChanged alias as it conflicts with registry rebuild module
Comment #8
mstithis one applies
Comment #9
mstiComment #10
dasjoI'm wondering if you could use features drush integration instead of writing a specific one for rules here
Comment #11
kenorb commentedIt would be great if we can add option to revert all rules (rules-revert-all).
Comment #12
kenorb commentedAttached patch provides extra rules-revert-all command. Credits to @bdziewierz.
Comment #13
Collins405 commentedJust want to say thank you for the patch in #12, it works great.
You have literally saved me hours of faffing through the UI on a multisite!
Comment #14
kenorb commented@Collins405 Can you confirm the patch is working fine for you?
Comment #15
Collins405 commented@kenorb Absolutely, I used rules-revert and rules-revert-all on a huge multi site environment, and it worked perfectly.
Comment #16
fagoAt this point, we do not add new feature to rules 7.x any more. I'd appreciate if you can put it into a small module pr drush extension on its own though!
Comment #17
thetwentyseven commentedIt seems that the "rules-revert" patch from #12 was applied in the current module, but not the "rules-revert-all". This patch fixed that.