Page MenuHomePhabricator

Modularize HeraldRule transactions

Authored by epriestley on Mar 7 2019, 1:02 PM.



Ref T13249. See PHI1115. I initially wanted to make bin/policy unlock --owner <user> H123 work to transfer ownership of a Herald rule, although I'm no longer really sure this makes much sense.

In any case, this makes things a little better and more modern.

I removed the storage table for rule comments. Adding comments to Herald rules doesn't work and probably doesn't make much sense.

Test Plan

Created and edited Herald rules, grepped for all the transaction type constants.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Mar 7 2019, 1:02 PM
Owners added a subscriber: Restricted Owners Package.Mar 7 2019, 1:02 PM
epriestley requested review of this revision.Mar 7 2019, 1:04 PM
amckinley accepted this revision.Mar 7 2019, 6:40 PM
amckinley added inline comments.

Unused variable.

This revision is now accepted and ready to land.Mar 7 2019, 6:40 PM
epriestley retitled this revision from Modularize Herald transactions to Modularize HeraldRule transactions.Mar 7 2019, 6:40 PM
epriestley updated this revision to Diff 48361.Mar 7 2019, 7:53 PM
  • Remove unused variable.
This revision was automatically updated to reflect the committed changes.