Page MenuHomePhabricator

Give Herald rules a standard "Hnnn" object name
ClosedPublic

Authored by epriestley on Dec 18 2013, 6:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 19 2024, 7:07 PM
Unknown Object (File)
Dec 14 2024, 3:33 AM
Unknown Object (File)
Dec 5 2024, 7:19 AM
Unknown Object (File)
Nov 20 2024, 10:45 AM
Unknown Object (File)
Nov 20 2024, 8:46 AM
Unknown Object (File)
Nov 19 2024, 6:04 PM
Unknown Object (File)
Nov 15 2024, 4:47 PM
Unknown Object (File)
Nov 12 2024, 1:03 PM
Subscribers

Details

Reviewers
btrahan
Commits
Restricted Diffusion Commit
rP1ff3ef382d84: Give Herald rules a standard "Hnnn" object name
Summary

Allow Herald rules to be referred to with H123, etc., like other object types are. Herald rules now have proper PHIDs and an increasingly prominent role in triggering application actions. Although I suspect users will rarely use H123 in Remarkup to mention rules, this can simplify some of the interfaces which relate objects across systems.

Test Plan

Looked at various interfaces and saw H123 names. Mentioned H123 in remarkup.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I think this is a great change because even though I agree it will be rarely used it will be crazy helpful when used, especially where we can add it in like you did with the commit worker.

src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
235โ€“241

v. nice

src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
235โ€“241

Yeah, this kind of thing is the big value in doing this to me too.