Details
Is there any way to specify in a commit message who the auditor should be?
Specifically, for a small set of files we work with, we still are unable to use arc. So I have a Herald rule as recommended in the docs that adds a certain project as an auditor to commits for which no differential revision exists.
This is very coarse though and while often correct, sometimes ends up needlessly involving the #default_audits project members. Many times, the committer knows who should audit the actual change. But right now, they have to specify that person later through the web UI, and there's no way for them to remove the #default_audits reviewer.
Ideally what I'd like to do is something where they can specify the reviewer in the commit message and only add #default_audits if no specific reviewer is listed. Is there any way to accomplish that with Herald/built-in commit message parsing?
Answers
Post-commit audit is worse-off than pre-commit. As You might know, it's possible to specify reviewer on per-diff basis. Generally You should be able to add "Auditors: user_name" or "Auditors: #project"
Other than this... See T5132