mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-23 21:18:19 +01:00
b4796d2837
Summary: Depends on D19400. Ref T13130. Currently, when you write Herald rules about other Herald rules, you can't pick a rule type or content type, so there's no way to get notified about edits to just global rules (which is the primary driving use case). Add a "Content type" field to let the rule match rules that affect revisions, tasks, commits, etc. Add a "Rule type" field to let the rule match global, personal, or object rules. Test Plan: - Wrote a global rule for other rules about global Herald rules: {F5540307} {F5540308} - Ran it against itself which matched: {F5540309} - Ran it against another rule (not a global rule about Herald rules), which did not match: {F5540311} - Also reviewed the fields in those transcripts in more detail to make sure they were extracting matching correctly. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13130 Differential Revision: https://secure.phabricator.com/D19403 |
||
---|---|---|
.. | ||
__tests__ | ||
rule | ||
HeraldActingUserField.php | ||
HeraldAlwaysField.php | ||
HeraldAnotherRuleField.php | ||
HeraldBasicFieldGroup.php | ||
HeraldContentSourceField.php | ||
HeraldDeprecatedFieldGroup.php | ||
HeraldEditFieldGroup.php | ||
HeraldField.php | ||
HeraldFieldGroup.php | ||
HeraldNewObjectField.php | ||
HeraldRelatedFieldGroup.php | ||
HeraldSupportFieldGroup.php |