Homec4science

Add support for marking files as "generated" by regexp against path

Authored by Dave Ingram <dmi@teamgroupspaces.com> on Jan 19 2012, 18:39.

Description

Add support for marking files as "generated" by regexp against path

Summary:
Not all auto-generated files can include the magical
"generated" annotation for one reason or another, but they may follow
path rules. This patch allows files to be marked as automatically
generated by matching the path with a regular expression.

Test Plan:
Alter 'differential.generated-paths' setting in config.
Create a new diff that affects a file matching one of those regular
expressions. Verify that Differential marks it as automatically
generated and therefore probably not worth reviewing (in the same way as
the magical "generated" annotation.

Reviewers: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D1455

Details

Committed
Dave Ingram <dmi@teamgroupspaces.com>Jan 19 2012, 19:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPH7f9fb3597d14: Make updating postponed tests work again for Facebook.
Branches
Unknown
Tags
Unknown

Event Timeline

Dave Ingram <dmi@teamgroupspaces.com> committed rPH3edf60627d5b: Add support for marking files as "generated" by regexp against path (authored by Dave Ingram <dmi@teamgroupspaces.com>).Jan 19 2012, 19:30