]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2000-05-01 15:24:03 by gecko]
authorgecko <>
Mon, 1 May 2000 22:24:03 +0000 (14:24 -0800)
committergecko <>
Mon, 1 May 2000 22:24:03 +0000 (14:24 -0800)
Added the Errors-Email (for setting errors-to email address)   All that is
left to do to make service ready is change emails to use template email
format.  This error variable might not be used.. the error-to: can be set in
the template, too.

Debbugs/Config.pm
debbugs-service
devel/debbugs.cfg

index 6d02e134d66c1462c467794c7e5d32a3d5f0a3c8..fe2ceea29a48af329280b99823509f0a885d34ec 100644 (file)
@@ -57,6 +57,7 @@ my %ConfigMap = (
                "Long Name" => "project-long",
                "Owner Name" => "owner-name",
                "Owner Email" => "owner-email",
+               "Errors Email" => "errors-email",
                "Owner Webpage" => "owner-webpage",
                "Spool Dir" => "spool-dir",
                "Work Dir" => "work-dir",
index a9ed4e15f1a498d2d178a23c3d1a521271ef5667..3ca51920da0796084e44a7243f299624d889c3b1 100755 (executable)
@@ -127,10 +127,11 @@ for ( my $procline=0; $procline<=$#body; $procline++)
     $lowstate eq 'idle' || print "$lowstate ?\n";
     $mergelowstate eq 'idle' || print "$mergelowstate ?\n";
 
-    #get first line
+    #get line
     $_= $msg[$procline]; 
     s/\s+$//;  #strip ending white space, including newlines
 
+    #cleanup line
     next unless m/\S/;     #skip blank lines
     next if m/^\s*\#/;     #skip comment-only lines
     &transcript("> $_\n");
@@ -143,9 +144,9 @@ for ( my $procline=0; $procline<=$#body; $procline++)
     } elsif (m/^debug\s+(\d+)$/i && $1 >= 0 && $1 <= 1000) 
     {  $debug= $1+0;
         &transcript("Debug level $debug.\n\n");
-    } elsif (m/^(send|get)\s+\#?(\d{2,})$/i) {
-        $ref= $2+0; $reffile= $ref; $reffile =~ s,^..,$&/$&,;
-        &sendlynxdoc("db/$reffile.html","logs for $gBug#$ref");
+    } elsif (m/^(send|get)\s+\#?(\d{2,})$/i) 
+    {  $ref= $2+0; $reffile= $ref; $reffile =~ s,^..,$&/$&,;
+        &sendlynxdoc( "db/$reffile.html", "logs for $gBug#$ref" );
     } elsif (m/^send-detail\s+\#?(\d+)$/i) {
         $ref= $1+0; $reffile= $ref; $reffile =~ s,^..,$&/$&,;
         &sendlynxdoc("db/$reffile-b.html","additional logs for $gBug#$ref");
index 504410cb22f891361270cd4f2f6a296dfdd0e463..8c70e485ef7945ca259843be0018ed26e2cacf1c 100644 (file)
@@ -9,6 +9,7 @@ Short Name = "project-short"
 Long Name = "project-long"
 Owner Name = "owner-name"
 Owner Email = "owner-email"
+Errors Email = "errors-email"
 Spool Dir = "spool-dir"
 Work Dir = "work-dir"
 Web Dir = "www-dir"