aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/templates/hook_sendmail.pl
blob: 54b4fe22a882a988188decd2e3ed1e98e654ed90 (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 -%>