[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#43864: Adding package names to bug report e-mails



This is pretty trivial to do, but is this still wanted? Or has
X-$gProject-PR-Package: $data->{package} made this superfluous?

I was thinking of something on the lines of the following, but haven't
yet tested it:

--- process.in  5 Aug 2004 15:09:30 -0000       1.86
+++ process.in  22 Dec 2004 02:27:52 -0000
@@ -608,6 +608,9 @@
 $orgsender= defined($header{'sender'}) ? "Original-Sender: $header{'sender'}\n" : '';
 $newsubject= $subject;  $newsubject =~ s/^$gBug#$ref:*\s*//;
 
+# Add package name to the subject [#43864]
+$newsubject = qq([$data->{package}] $newsubject);
+
 $xcchdr= $header{ 'x-debbugs-cc' };
 if ($xcchdr =~ m/\S/) {
     push(@resentccs,$xcchdr);


Don Armstrong

-- 
Dropping non-free would set us back at least, what, 300 packages?  It'd take  
MONTHS to make up the difference, and meanwhile Debian users will be fleeing
to SLACKWARE.

And what about SHAREHOLDER VALUE? 
 -- Matt Zimmerman in <gYuD3D.A.ayC.nGB39@murphy>

http://www.donarmstrong.com              http://rzlab.ucr.edu



Reply to: