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:
terry%netscape.com 1999-03-02 01:55:49 +00:00
Родитель 8e1cdfed42
Коммит 29640df620
1 изменённых файлов: 5 добавлений и 9 удалений

Просмотреть файл

@ -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."