HomePhabricator

Index and show Owners packages affected by Herald rules

Authored by epriestley on Apr 12 2019, 11:09 PM.

Description

Index and show Owners packages affected by Herald rules

Summary:
Depends on D20412. See PHI1147.

  • Index the targets of "Add Reviewer", "Add Blocking Reviewer", "Add Auditor", "Add Subscriber", and "Remove Subscriber" Herald rules. My major goal is to get Owners packages. This will also hit projects/users, but we just don't read those edges (for now, at least).
  • Add a "Related Herald Rules" panel to Owners Package pages.
  • Add a migration to reindex Herald rules for the recent build plan stuff and this, now that such a migration is easy to write.

Test Plan:
Ran migration, verified all rules reindexed.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Differential Revision: https://secure.phabricator.com/D20413