Tags: patch

Dear debbugs maintainers,

I spent half an hour before understanding that the bug I was trying to
usertag was "not found" by the BTS because it was archived. This is
difficult to figure out, because other archived bugs are found without a
problem.

I found this bug report, and I agree with Helge that it would be helpful
to change the error message. In the sources of debbugs (apt-get source
debbugs), I could not figure out wether it was debbugs-service or
scripts/service.in which has to be modified, so I prepared a patch for
each of them.

I hope it can help to solve this problem.

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan
--- debbugs-service.old 2006-08-24 18:51:39.786128224 +0900
+++ debbugs-service     2006-08-24 18:54:50.821086496 +0900
@@ -689,7 +689,7 @@
 #    &transcript("$action\n\n")
 #    endmerge
 
-sub notfoundbug { &transcript("$gBug number $ref not found.\n\n"); }
+sub notfoundbug { &transcript("$gBug number $ref not found or already archived 
(manipulation no longer\npossible).\n\n"); }
 sub foundbug { &transcript("$gBug#$ref: $s_subject\n"); }
 
 sub getmerge {
--- service.in.old      2006-08-24 19:06:44.274132776 +0900
+++ service.in  2006-08-24 19:07:04.023130472 +0900
@@ -837,7 +837,7 @@
 #    &transcript("$action\n\n")
 #    endmerge
 
-sub notfoundbug { &transcript("$gBug number $ref not found.\n\n"); }
+sub notfoundbug { &transcript("$gBug number $ref not found or already archived 
(manipulation no longer\npossible).\n\n"); }
 sub foundbug { &transcript("$gBug#$ref: $data->{subject}\n"); }
 
 sub getmerge {

Reply via email to