Page MenuHomePhabricator

Prepare to support an "Ignore generated files" flag in Owners
ClosedPublic

Authored by epriestley on May 4 2018, 8:30 PM.
Tags
None
Referenced Files
F19102285: D19426.diff
Fri, Dec 5, 6:23 AM
F18856006: D19426.id46473.diff
Nov 1 2025, 7:36 AM
F18855038: D19426.diff
Nov 1 2025, 2:23 AM
F18848969: D19426.id.diff
Oct 30 2025, 7:06 AM
F18835704: D19426.diff
Oct 26 2025, 6:09 PM
F18729959: D19426.diff
Sep 30 2025, 12:02 PM
F18618871: D19426.id46473.diff
Sep 15 2025, 1:09 AM
F18609991: D19426.id46467.diff
Sep 14 2025, 4:04 AM
Subscribers
None

Details

Summary

Depends on D19425. Ref T13130. See PHI251. Now that changesets have a durable "generated" attribute, we can let owners packages check it when we're computing which packages are affected by a revision.

There's no way to actualy configure a package to have this behavior yet.

Test Plan
  • Created a revision affecting a generated file and a non-generated file.
    • When I faked mustMatchUngeneratedPaths() to return true;, saw the non-generated file get no packages owning it.
    • Normally: lots of packages owning it).
  • Created a revision affecting only generated files.
    • When I faked things, saw no Owners actions trigger.
    • Normally: some packages added reviewers or subscribers.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable