forked from lowlighter/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yml
94 lines (81 loc) · 2.18 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
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
+midly 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_days:
description: |
Event maximum age
type: number
default: 14
min: 1
max: 30
plugin_habits_facts:
description: |
Midly 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
- `chartist`: `<svg>` based charts, smooth
type: string
default: classic
values:
- classic
- chartist
extras:
- metrics.npm.optional.chartist
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%