Page MenuHomePhabricator

Make the "Add Auditors" Herald rules use modern transactions
ClosedPublic

Authored by epriestley on Jan 30 2017, 6:02 PM.
Tags
None
Referenced Files
F13274846: D17263.diff
Fri, May 31, 4:08 AM
F13260892: D17263.diff
Mon, May 27, 12:31 AM
F13260191: D17263.id.diff
Sun, May 26, 11:35 PM
F13248984: D17263.id41529.diff
Fri, May 24, 5:51 AM
F13243359: D17263.diff
Thu, May 23, 3:49 AM
F13221706: D17263.diff
Sun, May 19, 2:59 AM
F13214498: D17263.id41539.diff
Fri, May 17, 10:54 AM
F13204171: D17263.diff
Wed, May 15, 12:23 AM
Subscribers
None

Details

Summary

Ref T10978. Convert "Add Auditors" rules in Herald to modern modular transactions.

Here and in D17262 (and in the next change), I've removed "audit reasons". There are several reasons for this:

  • They're pretty hacky.
  • They store English-language (well, usually) text in the database, which can't be translated.
  • I think they may not be necessary. When they were written, Herald did not apply transactions, so it was less clear when Herald was doing something. In modern code, it does, so Herald auditors are clear. The owenrs/package rules are now more clear, too. I'd like to see evidence that confusion still exists before rebuilding this feature in a modern, translatable way, since I think we may not need it at all.
Test Plan

Ran bin/repository reparse --herald <commit> to re-run Herald rules. Saw rules add auditors appropriately.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable