Allow to configure a file extension for the code owner config files

Allows to use different owner configurations for upstream and internal
in the same repository. E.g. if upstream uses 'OWNERS' code owner config
files (no file extension configured) one could set 'internal' as file
extension internally so that internally 'OWNERS.internal' files are used
and the existing 'OWNERS' files are ignored.

This is important since otherwise the import of upstream code that uses
'OWNERS' files might not be possible (e.g. if upstream uses a different
syntax or the upstream 'OWNERS' files contain users that do not exist
interally the 'OWNERS' files may be rejected as invalid).

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I75fb012bc11fab909cfce9c3f40888c8bc03e1d0
17 files changed
tree: 0f445937b51d0f0802a403e4f8ad8443c831f3ef
  1. java/
  2. javatests/
  3. proto/
  4. resources/
  5. ui/
  6. .eslintrc.json
  7. .gitreview
  8. BUILD
  9. LICENSE
  10. package.json
  11. README.md
README.md

Gerrit Code Review code-owners plugin

This plugin provides support for defining code owners for files in a repository.

If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.

Also see resources/Documentation/about.md