Comments

msti’s picture

StatusFileSize
new1.74 KB

Patch.

msti’s picture

StatusFileSize
new1.74 KB

coding standards fix

msti’s picture

StatusFileSize
new1.74 KB

Changed alias as it conflicts with registry rebuild module

The last submitted patch, 2: drush_rules_revert-2474577-1.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 3: drush_rules_revert-2474577-3.patch, failed testing.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: drush_rules_revert-2474577-3.patch, failed testing.

msti’s picture

StatusFileSize
new1.74 KB

this one applies

msti’s picture

Status: Needs work » Needs review
dasjo’s picture

I'm wondering if you could use features drush integration instead of writing a specific one for rules here

kenorb’s picture

It would be great if we can add option to revert all rules (rules-revert-all).

kenorb’s picture

StatusFileSize
new2.6 KB

Attached patch provides extra rules-revert-all command. Credits to @bdziewierz.

Collins405’s picture

Just 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!

kenorb’s picture

Status: Needs review » Reviewed & tested by the community

@Collins405 Can you confirm the patch is working fine for you?

Collins405’s picture

@kenorb Absolutely, I used rules-revert and rules-revert-all on a huge multi site environment, and it worked perfectly.

fago’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

At 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!

thetwentyseven’s picture

StatusFileSize
new1.6 KB

It seems that the "rules-revert" patch from #12 was applied in the current module, but not the "rules-revert-all". This patch fixed that.