-
Notifications
You must be signed in to change notification settings - Fork 2
/
hooks.config.example
46 lines (38 loc) · 1.04 KB
/
hooks.config.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
41
42
43
44
45
# gerrit-trac-hooks configuration file
#
# there are three kind of sections:
# 1. [hooks-settings] (hardcoded):
# this section is used for some
# global settings
# 2. [trac-default] (hardcoded):
# used if repo from incoming push
# is not found in any of the trac
# sections and "use_default" in
# [hook-settings] is set to True
# 3. [NAME-OF-YOUR-CHOICE]:
# used for representing your trac
# projects.
[hook-settings]
# should [trac-default] be used for repos which
# cannot be found in any of the trac section's
# "repositories"-list? (Default: False)
use_default = False
# path to git (Default: /usr/bin/git)
git_path = /usr/bin/git
[trac-default]
# path to your trac project folder
trac_env = /var/trac/xxx
[trac-x]
trac_env = /var/trac/x
repositories = internal-repo-one
internal-repo-two
[trac-xy]
trac_env = /var/trac/xy
repositories = repo-one
repo-two
repo-three
repo-four
[trac-xyz]
trac_env = /var/trac/xyz
repositories = special-repo-one
special-repo-two