Repository navigation
Expand file tree
/
Copy pathgitstats.conf
More file actions
83 lines (63 loc) · 2.92 KB
/
Copy pathgitstats.conf
File metadata and controls
83 lines (63 loc) · 2.92 KB
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
[gitstats]
# Maximum number of domains to display in "Domains by Commits"
max_domains = 10
# Maximum length of file extensions shown in statistics
max_ext_length = 10
# CSS stylesheet for the generated report
style = gitstats.css
# Maximum number of authors to list in "Authors"
max_authors = 20
# Number of top authors to highlight in monthly/yearly breakdowns
authors_top = 5
# Maximum number of authors to display per tag in "Tags" page
# When a tag has more authors than this limit, the remaining authors are summarized
# Example: "author1 (10), author2 (8), ... and 45 more authors"
# Set to -1 to show all authors (no limit)
max_tags_authors = 50
# Maximum number of "other" authors listed by name in the "These didn't make it to the top"
# paragraph on the Authors page. When exceeded, the rest are summarized as "and N more".
max_authors_list = 50
# Start of commit range (empty = include all commits). For example, 10 for last 10 commits
commit_begin =
# End of commit range (default: HEAD)
commit_end = HEAD
# Enable linear history for line statistics (1 = enabled, 0 = disabled)
linear_linestats = 1
# Project name to display (default: repository directory name)
project_name =
# Number of parallel processes to use when gathering data, at most:
# never more than the machine has processors
# With 1, the git commands run one at a time
processes = 8
# Starting date for commits, passed as --since to Git (optional)
# Format: YYYY-MM-DD
start_date =
# Ending date for commits, passed as --until to Git (optional)
# Format: YYYY-MM-DD
end_date =
# Comma-separated list of authors to filter commits
# Only commits from these authors will be included (uses OR logic)
# If empty, all authors are included
authors =
# Comma-separated list of file extensions to exclude from line counting
# Files detected as binary (containing null bytes) are automatically excluded
# Example: png,jpg,bin,exe,dll,class,jar,zip,tar
exclude_exts =
# Shareable badge (badge.svg and badges/ in the report output)
# Metric shown by the default badge.svg: commits, last-commit, authors, files, lines
# All metrics are always pre-rendered in badges/<metric>.svg regardless of this choice
badge_metric = commits
# Left-side badge text
badge_label = gitstats
# Value-segment color: a shields.io color name (brightgreen, green, yellow,
# orange, red, blue, lightgrey), a hex value like #30a14e, or any SVG color.
# Empty = gitstats brand blue.
badge_color =
# Badge shape: flat (rounded corners, subtle gradient) or flat-square (sharp corners)
badge_style = flat
# AI-powered features: not set here. A gitstats.conf can come with the
# repository being analyzed, so gitstats ignores any ai_*, ollama_*, *_url
# or *_key setting in it. Use the command line instead, for example
# gitstats . --ai --ai-provider ollama -c ollama_base_url=http://localhost:11434
# and environment variables for API keys (OPENAI_API_KEY, ANTHROPIC_API_KEY,
# GOOGLE_API_KEY). See docs/source/configuration.rst.