forked from lowlighter/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yml
80 lines (69 loc) · 2.2 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: 👨💻 Lines of code changed
category: github
description: |
This plugin displays the number of lines of code added and removed across repositories.
examples:
+Repositories and diff history: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.history.svg
Compact display in base plugin: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.svg
index: 3
supports:
- user
- organization
- repository
scopes:
- public_access
inputs:
plugin_lines:
description: |
Enable lines plugin
type: boolean
default: no
plugin_lines_skipped:
description: |
Skipped repositories
type: array
format:
- newline-separated
- comma-separated
default: ""
example: my-repo-1, my-repo-2, owner/repo-3, ...
inherits: repositories_skipped
plugin_lines_sections:
description: |
Displayed sections
- `base` will display the total lines added and removed in `base.repositories` section
- `repositories` will display repositories with the most lines added and removed
- `history` will display a graph displaying lines added and removed over time
> ℹ️ `base` requires at least [`base: repositories`](/source/plugins/base/README.md#base) to be set
type: array
format: comma-separated
default: base
example: repositories, history
values:
- base
- repositories
- history
plugin_lines_repositories_limit:
description: |
Display limit
type: number
default: 4
min: 0
plugin_lines_history_limit:
description: |
Years to display
Will display the last `n` years, relative to current year
type: number
default: 1
zero: disable
plugin_lines_delay:
description: |
Delay before performing a second query
When non-zero, will perform a second query after specified delay (in seconds).
The GitHub endpoint used may return inaccurate results on first query (these values seems to be cached on the fly),
after returning correct results upon performing another query.
Using this option may mitigate the occurrence of weird values.
type: number
default: 0
min: 0
zero: disable