commit | 4a62c34209b5ed911aca21b89147f43706995bee | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Thu Mar 04 15:45:56 2021 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Thu Mar 04 17:45:47 2021 +0100 |
tree | 8c922c43b671452a8be045a9ebf7ee2d052d4b02 | |
parent | ed64fb63e5dac049ae62f5b620de17238fce95a5 [diff] |
PathCodeOwners: Skip resolving global imports that will be ignored If the code owner config that is being resolved has any matching per-file rule that ignores parent and global code owners we can skip resolving global imports with import mode GLOBAL_CODE_OWNER_SETS_ONLY as they only import global code owners that we already know will be ignored. The newly added test covers a case that would be failing if we would skip all global imports if the code owner config that is being resolved has any matching per-file rule that ignores parent and global code owners (rather than just skipping global imports with import mode GLOBAL_CODE_OWNER_SETS_ONLY). Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Icbdd7571da5ac017489f382e870a45f747a9e9b2
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.