commit | 5fa6316b025b95db6f7d986cb197df810aaafdbf | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Mon Nov 30 11:30:26 2020 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Tue Dec 01 09:57:37 2020 +0100 |
tree | e51263ef2b284c2a5681d2e378723e4f2129823a | |
parent | ecddf27d17a43e480f2522d3f9babed54d9fa4ce [diff] |
PathCodeOwners: Add an AutoValue class to represent the result PathCodeOwners resolve a code owner config for a path. Add an AutoValue class to represent the result of resolving the code owner config and move the get() and ignoreParentCodeOwners() into it, as they operate on the resolved code owner config. Since in the context of the new AutoValue class the meaning of the get() method is not that clear, rename it to getPathCodeOwners(). Having a dedicated result class will allow us to add further properties to in in follow-up changes (e.g. a flag to tell whether there have been unresolved imports). Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Ibd6e390b91ee15427c7da730bec1c5db9c209c35
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
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md