-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.init.yml
66 lines (61 loc) · 1.75 KB
/
config.init.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
# Each source can have a default before/after set
default_source:
before: 1 hour
after: 1 hour
# List all the different sources you want to parse
# Available sources:
# - git
# - svn
# - xls
# - csv
sources:
-
git: https://github.com/soundasleep/gittime
# You can customise before/after here, based on your commit style:
before: 2 hours
after: 30 seconds
# You can select only commits that match a path (each of these are a regexp):
# only:
# - \.github/
# - README.*
-
svn: https://svn.riouxsvn.com/gittime-example
-
xls: excel.xls
# You can specify a fallback author if any field is empty:
fallback:
author: anonymous
-
csv: sample.csv
fixed:
author: jevon.wright
# ... add more as necessary
# Different sources may have different ways of expressing
# authors. Use this to map source authors to a consistent author label.
# Case insensitive, and you can use regular expressions here.
authors:
jevon:
- jevon.*
- Jevon.*
# ... add more as necessary
# You can restrict reporting for only specific author labels:
# only:
# authors:
# - jevon
# For Git, xls, and csv sources, you can also categorise commits into categories.
# Each path changed in a commit is matched against the first category match
# found using path regexps, and given a (1.0/total number of paths changed)% weighting.
# These categories are then added together into each generated report.
categories:
test:
- spec
config:
- config.*yml
docs:
- README
# an 'other' category will capture everything else
# For more complex setups, you can merge multiple files together.
# Each file is loaded and deep merged, but has the same schema as your config.yml.
# merge:
# - .file1.yml
# - .file2.yml