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
F13273196: D7786.diff
Fri, May 31, 1:40 AM
F13264374: D7786.id17616.diff
Mon, May 27, 4:30 PM
F13258076: D7786.id17621.diff
Sun, May 26, 6:34 AM
F13234286: D7786.diff
Tue, May 21, 3:16 AM
F13213096: D7786.diff
Fri, May 17, 7:22 AM
Unknown Object (File)
Tue, May 7, 7:58 AM
Unknown Object (File)
Fri, May 3, 8:50 AM
Unknown Object (File)
Thu, May 2, 1:13 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.