blob: 89a6806e0c35e5a51e66574d4371e7c363348556 [file] [view]
# Analytics plugin configuration
The configuration is located on `$GERRIT_SITE/etc/analytics.config` and allows
to customize the default parameters for the analytics extraction.
## Parameters
- `contributors.botlike-filename-regexp`
List of regexps that identify a bot-like commit, commits that modify only
files whose name is a match will be flagged as bot-like.
Default: empty
Example:
```ini
[contributors]
botlike-filename-regexp = .+\\.xml
botlike-filename-regexp = .+\\.bzl
botlike-filename-regexp = BUILD
botlike-filename-regexp = WORKSPACE
```
Keep in mind that plugin configurations are written in [git-config style syntax](https://git-scm.com/docs/git-config#_syntax),
so you should be escaping regular expressions accordingly.