commit | ba6cd40cdaed246b80a461a2da3e3fa095de448f | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Feb 24 10:11:35 2021 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Wed Feb 24 10:50:38 2021 +0100 |
tree | d594dd13c0f334bd848a28ba89623d2e1d8b2943 | |
parent | 3fa1f12d0c7117516db35e344b8b9391806699c5 [diff] |
Consider only emails that belong to multiple active accounts as ambiguous Code owner emails that belong to multiple accounts are detected as ambiguous and their code ownership is ignored. This is intended however if an email belongs to multiple accounts and only of them is active, that's fine as there is exactly one active account to which the code ownership is assigned. For CodeOwnerResolver this means that it has to load the accounts, and check if they are active, before deciding if an email is ambiguous. Doing this changes, actually improves, the debug logs in case there is an orphaned email. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I50f06e4e055ee04ac17c8873f0e08c0d6aca4b5e
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