]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-03-10 00:45:37 by cjwatson]
authorcjwatson <>
Mon, 10 Mar 2003 08:45:37 +0000 (00:45 -0800)
committercjwatson <>
Mon, 10 Mar 2003 08:45:37 +0000 (00:45 -0800)
Implement send-detail again. It's slightly different from the way it used
to be, in that it now sends both interesting and boring messages rather
than just boring messages, but that seems more useful anyway.

html/server-request.html.in
scripts/service.in

index 3817335f63dbdb0362a9e9dc310e62967cb88580..dcf57b5aaf3597b88ece2c383736746ff3418b70 100644 (file)
@@ -39,9 +39,7 @@ server.
 
   <dd>Requests the transcript for the $gBug report in question.
   <code>send-detail</code> sends all of the `boring' messages in the
-  transcript, such as the various auto-acks (you should usually use
-  <code>send</code> as well, as the interesting messages are not sent by
-  <code>send-detail</code>).
+  transcript as well, such as the various auto-acks.
 
 <dt><code>index</code> [<code>full</code>]
 <dt><code>index-summary by-package</code>
index 75e7fae4119e23709905f4e149d8d2cc66fb7538..25c1df588ebe013e2ef84ced2795e4ae47015cda 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: service.in,v 1.70 2003/03/10 00:10:52 cjwatson Exp $
+# $Id: service.in,v 1.71 2003/03/10 00:45:37 cjwatson Exp $
 # ^ more or less ^
 #
 # Usage: service <code>.nn
@@ -160,9 +160,10 @@ for ($procline=0; $procline<=$#bodylines; $procline++) {
     } elsif (m/^(send|get)\s+\#?(\d{2,})$/i) {
         $ref= $2+0;
         &sendlynxdoc("bugreport.cgi?bug=$ref","logs for $gBug#$ref");
-    } elsif (m/^send-detail\s+\#?(\d+)$/i) {
-       &transcript("This BTS function is currently disabled, sorry.\n\n");
-       $ok++; # well, it's not really ok, but it fixes #81224 :)
+    } elsif (m/^send-detail\s+\#?(\d{2,})$/i) {
+       $ref= $1+0;
+       &sendlynxdoc("bugreport.cgi?bug=$ref&boring=yes",
+                    "detailed logs for $gBug#$ref");
     } elsif (m/^index(\s+full)?$/i) {
        &transcript("This BTS function is currently disabled, sorry.\n\n");
        $ok++; # well, it's not really ok, but it fixes #81224 :)