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
F15532793: D7786.diff
Wed, Apr 23, 5:18 PM
F15524910: D7786.diff
Mon, Apr 21, 11:10 AM
F15490985: D7786.id17621.diff
Fri, Apr 11, 10:18 PM
F15453244: D7786.id.diff
Sat, Mar 29, 10:25 AM
F15429362: D7786.id17616.diff
Mar 24 2025, 1:47 AM
F15395352: D7786.id17616.diff
Mar 16 2025, 6:06 AM
F15392543: D7786.id.diff
Mar 15 2025, 3:50 PM
F15392159: D7786.diff
Mar 15 2025, 1:33 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

Branch
hobj2
Lint
No Lint Coverage
Unit
No Test Coverage

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–240

v. nice

src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
235–240

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