зеркало из https://github.com/mozilla/gecko-dev.git
Got rid of the "bonsai-hook@warp" nonsense. Added an optional "cchookmail"
entry in the config file, to allow us to set people who always get CC'd on mail to the hook.
This commit is contained in:
Родитель
8e1cdfed42
Коммит
29640df620
|
@ -226,18 +226,14 @@ $uname</td>
|
||||||
puts "</table>"
|
puts "</table>"
|
||||||
puts "[llength $checkinlist] checkins."
|
puts "[llength $checkinlist] checkins."
|
||||||
|
|
||||||
if {[cequal $treeid default]} {
|
set mailaddr [join $peoplelist ","]
|
||||||
set mailaddr "bonsai-hook@warp"
|
append mailaddr "?subject=Build%20Problem"
|
||||||
} else {
|
if {[info exists treeinfo($treeid,cchookmail)]} {
|
||||||
set mailaddr [join $peoplelist ","]
|
append mailaddr "&cc=$treeinfo($treeid,cchookmail)"
|
||||||
}
|
}
|
||||||
puts "<p>"
|
puts "<p>"
|
||||||
puts "<a href=showcheckins.cgi[BatchIdPart ?]>Show all checkins.</a><br>"
|
puts "<a href=showcheckins.cgi[BatchIdPart ?]>Show all checkins.</a><br>"
|
||||||
if {[cequal $treeid default]} {
|
puts "<a href=\"mailto:[set mailaddr]\">"
|
||||||
puts "<a href=\"mailto:[set mailaddr]@warp?subject=Build problem\">"
|
|
||||||
} else {
|
|
||||||
puts "<a href=\"mailto:[set mailaddr]?subject=Build problem\">"
|
|
||||||
}
|
|
||||||
puts "Send mail to \"the hook\".</a><br>"
|
puts "Send mail to \"the hook\".</a><br>"
|
||||||
} else {
|
} else {
|
||||||
puts "Nobody seems to have made any changes since the tree opened."
|
puts "Nobody seems to have made any changes since the tree opened."
|
||||||
|
|
Загрузка…
Ссылка в новой задаче