aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/templates/hook_sendmail.pl
blob: aab1db5a00b7d1b518225a7a873c6b0ac9f34df5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/perl -MSVN::Notify::Config=$0
--- #YAML:1.0

'':
  PATH: "/usr/bin:/usr/local/bin"
  handler: Alternative
  alternative: HTML::ColorDiff
  with-diff: 1
  max_diff_length: 20000
  from: root@<%= domain %>
  to:
<%- commit_mail.each do |mail|  -%>
    - <%= mail %>
<%- end -%>
<%- if i18n_mail != '' -%>
'.*\.pot$':
  PATH: "/usr/bin:/usr/local/bin"
  handler: Alternative
  alternative: HTML::ColorDiff
  with-diff: 1
  max_diff_length: 20000
  from: root@<%= domain %>
  to: <%= i18n_mail %>
<%- end -%>