Page MenuHomePhabricator

Add Owners Package support for "Commit Hook: Content" Herald rules
ClosedPublic

Authored by epriestley on Feb 16 2018, 12:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 25, 11:30 PM
Unknown Object (File)
Wed, Jun 25, 10:49 PM
Unknown Object (File)
Fri, Jun 20, 9:28 PM
Unknown Object (File)
Thu, Jun 19, 12:58 PM
Unknown Object (File)
May 14 2025, 2:16 PM
Unknown Object (File)
May 14 2025, 10:35 AM
Unknown Object (File)
Apr 28 2025, 3:41 AM
Unknown Object (File)
Apr 22 2025, 10:47 AM
Subscribers
None

Details

Summary

See PHI370. Support the "Affected packages" and "Affected package owners" Herald fields in pre-commit hooks.

I believe there's no technical reason these fields aren't supported and this was just overlooked.

Test Plan

Wrote a rule which makes use of the new fields, pushed commits through it. Checked transcripts and saw sensible-looking values.

Diff Detail

Repository
rP Phabricator
Branch
precommit1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19586
Build 26512: Run Core Tests
Build 26511: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 16 2018, 5:49 PM
This revision was automatically updated to reflect the committed changes.