@PLUGIN@ - Configuration

The global configuration of the @PLUGIN@ plugin is stored in the gerrit.config file in the plugin.@PLUGIN@ subsection.

In addition some configuration can be done on the project level in @PLUGIN@.config files that are stored in the refs/meta/config branches of the projects.

Parameters that are not set for a project are inherited from the parent project.

Global configuration in gerrit.config

plugin.@PLUGIN@.backend : The code owners backend that should be used.
Can be overridden per project by setting codeOwners.backend in @PLUGIN@.config.
The supported code owner backends are listed at the Backends page.
By default find-owners.

plugin.@PLUGIN@.requiredApproval : Approval that is required from code owners to approve the files in a change.
The required approval must be specified in the format “+”.
The configured label must exist for all projects for which this setting applies (all projects that have code owners enabled and for which this setting is not overridden).
Can be overridden per project by setting codeOwners.requiredApproval in @PLUGIN@.config.
By default “Code-Review+1”.

Project configuration in @PLUGIN@.config

codeOwners.backend : The code owners backend that should be used for the project.
Overrides the global setting plugin.@PLUGIN@.backend in gerrit.config.
The supported code owner backends are listed at the Backends page.
If not set, the global setting plugin.@PLUGIN@.backend in gerrit.config
is used.

codeOwners.<branch>.backend : The code owners backend that should be used for this branch.
The branch can be the short or full name. If both configurations exist the one for the full name takes precedence.
Overrides the per repository setting codeOwners.backend.
The supported code owner backends are listed at the Backends page.
If not set, the project level configuration codeOwners.backend is used.

codeOwners.requiredApproval : Approval that is required from code owners to approve the files in a change.
The required approval must be specified in the format “+”.
The configured label must exist for all projects for which this setting applies (all child projects that have code owners enabled and for which this setting is not overridden).
Overrides the global setting plugin.@PLUGIN@.requiredApproval in gerrit.config.
If not set, the global setting plugin.@PLUGIN@.requiredApproval in gerrit.config is used.

Part of Gerrit Code Review