ref(plugins/languages): indepth mode (#1118)

This commit is contained in:
Simon Lecoq
2022-10-16 13:58:41 -04:00
committed by GitHub
parent 85d8187c78
commit e863269d79
15 changed files with 779 additions and 351 deletions

View File

@@ -117,13 +117,43 @@ inputs:
- metrics.run.tempdir
- metrics.run.git
plugin_languages_indepth_custom:
description: |
Indepth mode - Custom repositories
Specify a list of additional repositories to analyze.
Below are the supported syntax formats:
- `owner/repo` (e.g. `lowlighter/metrics`)
- `owner/repo@branch` (e.g. `lowlighter/metrics@main`)
- `owner/repo@branch:commits` (e.g. `lowlighter/metrics@main:v1.0..v1.1`)
- See [`git rev-list`](https://git-scm.com/docs/git-rev-list#_description) documentation for more information about `commits` syntax
It is possible to specify repositories that are not hosted on [github.com](https://github.com) by passing a full url instead.
In this case the repository must be accessible directly.
> This option bypass [`plugin_languages_skipped`](/source/plugins/languages/README.md#plugin_languages_skipped)
type: array
format: comma-separated
default: ""
example: lowlighter/metrics, lowlighter/metrics@main, lowlighter/metrics@latest:v1.0..v1.1
plugin_languages_analysis_timeout:
description: |
Indepth mode - Analysis timeout
type: number
default: 15
min: 1
max: 30
max: 60
plugin_languages_analysis_timeout_repositories:
description: |
Indepth mode - Analysis timeout (repositories)
type: number
default: 7.5
min: 0
max: 15
zero: disable
plugin_languages_categories:
description: |
@@ -151,7 +181,7 @@ inputs:
plugin_languages_recent_load:
description: |
Events to load (recently-used section)
Indepth mode - Events to load (recently-used section)
type: number
default: 300
min: 100
@@ -159,7 +189,7 @@ inputs:
plugin_languages_recent_days:
description: |
Events maximum age (day, recently-used section)
Indepth mode - Events maximum age (day, recently-used section)
type: number
default: 14
min: 0