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
F14069632: D7786.diff
Wed, Nov 20, 8:46 AM
F14067899: D7786.diff
Tue, Nov 19, 6:04 PM
F14053520: D7786.diff
Fri, Nov 15, 4:47 PM
F14043795: D7786.diff
Tue, Nov 12, 1:03 PM
F14027399: D7786.diff
Fri, Nov 8, 7:04 AM
F14014654: D7786.diff
Sun, Nov 3, 6:33 AM
F14013080: D7786.id17616.diff
Sat, Nov 2, 12:31 AM
F14013079: D7786.id.diff
Sat, Nov 2, 12:31 AM
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.