From 31e136cfff339849933b8a686600704b5b4083ba Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Fri, 28 May 1999 01:18:29 +0000 Subject: Notify by mail whenever a related bug changes status. --- processmail | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'processmail') diff --git a/processmail b/processmail index ccc8da271..26fd4a2d0 100755 --- a/processmail +++ b/processmail @@ -121,7 +121,16 @@ sub DescDependencies { push(@list, FetchOneColumn()); } if (@list) { - $result .= "$title: " . join(',', @list) . "\n"; + my @verbose; + foreach my $i (@list) { + SendSQL("select bug_status, resolution from bugs where bug_id = $i"); + my ($bug_status, $resolution) = (FetchSQLData()); + if ($resolution ne "") { + $resolution = "/$resolution"; + } + push(@verbose, $i . "[$bug_status$resolution]"); + } + $result .= "$title: " . join(', ', @verbose) . "\n"; } my $tmp = $me; $me = $target; -- cgit v1.2.3-24-g4f1b