forked from markjaquith/WP-Stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit-notifier-config.yml
More file actions
193 lines (157 loc) · 6.4 KB
/
git-notifier-config.yml
File metadata and controls
193 lines (157 loc) · 6.4 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# set to true if you want to ignore empty merge messages
ignore_merge: false
# Optional parameter for the subject-line of the mail
emailprefix: PROJECTNAME
# Set limit on maximum number of lines per file diff
lines_per_diff: 300
# Show file list only when too many files
too_many_files: 50
# Show summary before changes
show_summary: true
# Whether to expand css inline. May be compatible with more mail readers
# but consumes much more space and more cpu. Defaults to true
# expand_css: true
# Determine whether to add plaintext alternative section to generated email.
# This allows text-only readers an option, but greatly increases the size
# of generated emails. Defaults to true
# add_plaintext: true
# Subject: the subject may be set by specifying a template.
#
# Substitution into the template is available for the following
# words, via the form ${word}
#
# prefix - The emailprefix set, defaulting to repo_name
# repo_name - Name of the git repo
# branch_name - Name of the git branch
# slash_branch_name - /branch_name (master is "" unless show_master_branch_name)
# commit_id - The git commit id (hash)
# description - The git description tag ("git describe --always")
# message - The commit message
# commit_number - The commit number within the push; 1-based
# commit_count - The number of commits within the push
# commit_count_phrase - The number of commits, as "1 commit", "2 commits", etc.
# commit_count_phrase2 - "2 commits: ", "3 commits: ", etc, or "" if just one
#
# The default subject template varies a little depending on whether
# or not group_email_by_push is set.
#
#subject: "[${prefix}${slash_branch_name}] ${commit_count_phrase2}${message}"
#subject: "[${prefix}${slash_branch_name}][${commit_number}] ${message}"
# defines what branches to email for (defaults to all)
# include_branches: ['master', 'some_other_branch']
# include_branches: 'master, some_other_branch'
# include_branches:
# - master
# - some_other_branch
# The recipient (or newsgroup for nntp) for the commit
# It can send to multiple destinations, just separate email addresses by ",".
mailinglist: devteam@matmon.com
# The from address. If not defined it will use
# the address that is configured in git
# from: sender@example.com
# If reply_to_author is set to true, the Reply-To address is same as the author's
# email address, if not it will be same as the from address.
# Defaults to false
# reply_to_author: false
# stylesheet file (embedded template/styles.css by default)
# stylesheet: /absolute/path/to/readable/stylesheet.css
# custom template file (embedded template/email.html.erb)
# custom_template: /absolute/path/to/readable/email.html.erb
# select the delivery method: smtp, nntp, sendmail, or debug
delivery_method: sendmail
# Optionally group email by push: don't send an email for each commit when true.
group_email_by_push: true
# settings for the smtp server
smtp_server:
address: localhost
port: 25
domain: localhost
user_name: user@localhost
password: password
authentication: plain
enable_tls: false
# settings for the tls smtp server (gmail,etc)
# If you use gmail, just uncomment follow section and configure password
#smtp_server:
# address: smtp.gmail.com
# port: 587
# domain: smtp.gmail.com
# user_name: username@gmail.com
# password: password
# authentication: plain
# enable_tls: true
# settings for sendmail
sendmail_options:
location: /usr/sbin/sendmail
arguments: -i -t
# settings for nntp/newsgroup
nntp_settings:
address: your.nntp.host.here
port: 119
# Decorate files and commit ids with link to a webview. Possible values: none, gitweb,
# gitorious, cgit, trac, gitlabhq, or redmine
link_files: none
# If link_files is set to "gitweb", you need to configure the path to your gitweb
# instance and the project name.
gitweb:
path: http://developerserver/path_to_gitweb
project: test.git
# If link_files is set to "gitorious", you need to configure the path to your gitorious
# instance, the project name and the repository name.
gitorious:
path: http://example.com/path_to_gitorious
project: backend
repository: sql-scripts
# if link_files is set to "cgit", you need to configure the path to your cgit
cgit:
path: http://example.com/path_to_cgit
project: backend
# If link_files is set to "trac", you need to configure the path to your trac
# instance
trac:
path: http://example.com/changeset
# If link_files is set to "gitlabhq", you need to configure the path to your gitlabhq
# instance
gitlabhq:
path: http://gitlabhq.example.com
version: 1.2
# If link_files is set to "redmine", you need to configure the path to your redmine
# instance
redmine:
path: http://redmine.example.com
# project: project-name
# keywords: [refs, fixes]
# project defaults to git repository name, keywords defaults to refs, fixes (for use with message_integration)
# commit message URL map
message_map:
# '\brefs\s*\#(\d+)': 'http://example.com/redmine/issues/show/\1'
# Uncomment if you want to create links in your commit text
message_integration:
# mediawiki: http://example.com/wiki # will rework [[text]] to MediaWiki pages
# redmine: http://redmine.example.com # will rework refs #123 to Redmine issues
# bugzilla: http://bz.example.com # will rework BUG 123 to Bugzilla bugs
# fogbugz: http://yourondemand.fogbugz.com/? # will rework BugzId: 123 to FogBugz cases
# Track unique commits per branch?
# The name of this option is confusing.
#
# If set to false, notifications are issued only for commits that are unique to the current branch.
# If set to true, notifications are issued for any commit on the current branch, whether or not
# it also occurs on other branches.
#
# In other words, setting this to false will filter out commits that have already been displayed
# at some time in the past, for another branch. The confusing "unique" in the option name can
# be thought of as implying that commits for each branch are considered in isolation, without
# considering other branches.
unique_commits_per_branch: false
# Skip commits older than N days
#skip_commits_older_than: 7
show_master_branch_name: true
# ignore whitespace?
ignore_whitespace: true
# adding parameters to send webhooks
# webooks:
# url: http://example.com:8081/commits
# This is developer debugging options. Do not uncomment it if You aren't Jedi
# debug:
# enabled: true
# log_directory: /path/to/log/directory