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
F14761835: D19426.diff
Thu, Jan 23, 3:27 AM
Unknown Object (File)
Tue, Jan 21, 9:47 AM
Unknown Object (File)
Fri, Jan 17, 9:07 PM
Unknown Object (File)
Wed, Jan 1, 6:21 PM
Unknown Object (File)
Dec 16 2024, 1:56 AM
Unknown Object (File)
Dec 16 2024, 1:50 AM
Unknown Object (File)
Dec 12 2024, 1:14 AM
Unknown Object (File)
Dec 2 2024, 8:07 PM
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