-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
metadata.yml
108 lines (93 loc) · 2.53 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name: 💡 Coding habits and activity
category: github
description: |
This plugin displays coding habits based on recent activity, such as active hours and languages recently used.
examples:
+recent activity charts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.habits.charts.svg
+mildly interesting facts: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.habits.facts.svg
index: 7
supports:
- user
- organization
scopes:
- public_access
inputs:
plugin_habits:
description: |
Enable habits plugin
type: boolean
default: no
plugin_habits_from:
description: |
Events to use
A higher number will increase stats accuracy
type: number
default: 200
min: 1
max: 1000
plugin_habits_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_habits_days:
description: |
Event maximum age
type: number
default: 14
min: 1
max: 30
plugin_habits_facts:
description: |
Mildly interesting facts
It includes indentation type, average number of characters per line of code, and most active time and day
type: boolean
default: yes
plugin_habits_charts:
description: |
Charts
It includes commit activity per hour of day and commit activity per day of week
Recent language activity may also displayed (it requires extras features to be enabled for web instances) for historical reasons
type: boolean
default: no
extras:
- metrics.api.github.overuse
- metrics.run.tempdir
- metrics.run.git
plugin_habits_charts_type:
description: |
Charts display type
- `classic`: `<div>` based charts, simple and lightweight
- `graph`: `<svg>` based charts, smooth
> ⚠️ `chartist` option has been deprecated and is now equivalent to `graph`
type: string
default: classic
values:
- classic
- graph
- chartist
extras:
- metrics.npm.optional.d3
plugin_habits_trim:
description: |
Trim unused hours on charts
type: boolean
default: no
plugin_habits_languages_limit:
description: |
Display limit (languages)
type: number
default: 8
min: 0
max: 8
zero: disable
plugin_habits_languages_threshold:
description: |
Display threshold (percentage)
type: string
default: 0%