commit | fb092e2d2be452b23fd421c523eb37f17d466e57 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Nov 25 14:58:07 2020 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Fri Nov 27 14:08:33 2020 +0100 |
tree | e841836ab5ba05e83ee42ca8244b71018a62d51a | |
parent | d999787d3eb1332ada1ce6cd62bf9f8f45b5b7fc [diff] |
Read all required approvals that are configured We want to allow configuring multiple override approvals. As a first step towards this we extend the config backend to read all configured required approvals so that they get available for upper layers (namely CodeOwnersPluginConfiguration). With this change we still only support a single override approval. If multiple override approvals are configured we use the last one. This is the same behavior as before this change, since also JGit uses the last configured value if a single config value is read, but multiple values are configured. Follow-up changes will adapt the upper layers to support multiple override approvals. Change-Id: I2a4387340e0336ea3ebe599b6e0fce913fa3689a Signed-off-by: Edwin Kempin <ekempin@google.com>
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