HomePhabricator

Migrate Herald conditions and actions after mailing list changes

Description

Migrate Herald conditions and actions after mailing list changes

Summary:
Ref T8455. It looks like for at least some installs, there are a lot of rules which use mailing lists and they aren't easy to just manually go fix.

Migrate conditions and actions of known types which contain mailing list PHIDs from old MLST PHIDs to new USER PHIDs.

Test Plan:

  • Created a "Subscribers include..." condition using a mailing list, migrated it forward into a user.
  • Created a "add ccs..." action including a mailing list, migrated it forward into a user.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8455

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