/
config.yaml.example
40 lines (40 loc) · 2.08 KB
/
config.yaml.example
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
---
:title: Puzzles' Wit # Title displayed on all pages.
:git_bin: git # Your git binary. (Searches $PATH.)
:commit_time_format: "%Y/%m/%d %H:%M:%S" # See Time#strftime.
:commits_per_page: 50 # How many commits are shown on a page in commit view.
:tab_width: 4 # Width, in spaces, of tabs when displayed in a browser.
:groups: # Repositories are grouped together in an ordered list of groups.
- :name: FooBar # A group named FooBar.
:repos: # FooBar contains the following repositories:
- :name: Foo # The Foo repository.
:path: ~/git/foo/.git/ # Location.
:owner: You # Who owns this repository.
:description: Implements FooClass # A short, one-liner description.
:repos:
- :name: Bar # The Bar repository.
:path: ~/git/bar/.git/
:owner: You
:description: Implements Barclass (topic branches)
# The replacement feature allows the commit messages in commit view to be
# substituted. This is a great help for things like bugtracker integration.
# In this example, a string like ISSUE #42 becomes a hyperlink to the issue
# on the bugtracker.
- :regexp: "(ISSUE)\s+#(\d+)" # Regular expression to match.
# Replacement string; may contain backreferences.
:replace: "\1 #<a href="http://my.project/bugtracker/?id=\2">\2</a>"
:global: true # Substitute globally?
# You can choose to track local, remote, or both types of branches.
# By default, only local branches are tracked.
:track_local: true
:track_remotes: false
# Using regular expressions, you can define a set of branches you'd like to
# track or ignore. Local and remote branches can be configured separately.
# By default, all branches are included according to the track_local and
# track_remotes settings above. This feature works well with similarly-named
# branches. For the example, below, assume a tree with several branches
# named topic-X, where X is a wildcard, mixed in with other branches.
:local_include_regexp: ^topic-.+ # will match topic-X branches only
:local_exclude_regexp: nil
:remote_include_regexp: nil
:remote_exclude_regexp: nil