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.
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@.fileExtension : The file extension that should be used for code owner config files.
Allows to use different owner configurations for upstream and internal in the same repository. E.g. if upstream uses OWNERS code owner config files (no file extension configured) one could set internal as file extension internally so that internally OWNERS.internal files are used and the existing OWNERS files are ignored.
Can be overridden per project by setting codeOwners.fileExtension in @PLUGIN@.config.
By default unset (no file extension is used).
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”.
plugin.@PLUGIN@.overrideApproval : Approval that is required to override the code owners submit check.
The override 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.overrideApproval in @PLUGIN@.config.
By default unset which means that the override functionality is disabled.
plugin.@PLUGIN@.enableExperimentalRestEndpoints : Whether experimental REST endpoints are enabled.
By default false.
codeOwners.disabled : Whether the code owners functionality is disabled for the project.
If true the code owners API is disabled and submitting changes doesn't require code owner approvals.
This allows projects to opt-out of the code owners functionality.
By default false.
codeOwners.disabledBranch : An exact ref, a ref pattern or a regular expression to disable the code owners functionality for the matched branches.
For matched branches the code owners API is disabled and submitting changes doesn't require code owner approvals.
This allows branches to opt-out of the code owners functionality.
Can be set multiple times.
By default unset.
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.fileExtension : The file extension that should be used for the code owner config files in this project.
Allows to use different owner configurations for upstream and internal in the same repository. E.g. if upstream uses OWNERS code owner config files (no file extension configured) one could set internal as file extension internally so that internally OWNERS.internal files are used and the existing OWNERS files are ignored.
Overrides the global setting plugin.@PLUGIN@.fileExtension in gerrit.config.
If not set, the global setting plugin.@PLUGIN@.fileExtension in gerrit.config 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.
codeOwners.overrideApproval : Approval that is required to override the code owners submit check.
The override 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).
Overrides the global setting plugin.@PLUGIN@.overrideApproval in gerrit.config.
If not set, the global setting plugin.@PLUGIN@.overrideApproval in gerrit.config is used.
Part of Gerrit Code Review