Page MenuHomePhabricator

Add "raw author name" and "raw committer name" as Herald fields for commit content hooks
ClosedPublic

Authored by epriestley on Dec 27 2013, 12:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 11:02 AM
Unknown Object (File)
Nov 25 2024, 8:04 PM
Unknown Object (File)
Nov 18 2024, 11:36 AM
Unknown Object (File)
Nov 15 2024, 12:12 PM
Unknown Object (File)
Nov 13 2024, 12:39 PM
Unknown Object (File)
Nov 9 2024, 10:20 PM
Unknown Object (File)
Nov 7 2024, 7:15 PM
Unknown Object (File)
Nov 7 2024, 6:38 PM
Subscribers

Details

Summary

Ref T4195. A legitimate rule which needs this field is "do not allow commits as root". Interestingly, we have exactly one commit as root in each Phabricator, Arcanist and libphutil.

Since the committer and author don't need to be Phabricator accounts (just the Pusher), the existing "Committer" and "Author" fields can't express this rule (they'll be empty).

Test Plan

{F93406}

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped