bugzilla/ ./defparams.pl Bugzilla/BugMail.pm

Jeremy Newman jnewman at wine.codeweavers.com
Wed Mar 21 15:53:07 CDT 2007


ChangeSet ID:	30989
CVSROOT:	/opt/cvs-commit
Module name:	bugzilla
Changes by:	jnewman at winehq.org	2007/03/21 15:53:07

Modified files:
	.              : defparams.pl 
	Bugzilla       : BugMail.pm 

Log message:
	Jan Zerebecki <jan.wine at zerebecki.de>
	Add product and component header in notification mails.

Patch: http://cvs.winehq.org/patch.py?id=30989

Old revision  New revision  Changes     Path
 1.3           1.4           +2 -0       bugzilla/defparams.pl
 1.1.1.1       1.2           +2 -0       bugzilla/Bugzilla/BugMail.pm

Index: bugzilla/defparams.pl
diff -u -p bugzilla/defparams.pl:1.3 bugzilla/defparams.pl:1.4
--- bugzilla/defparams.pl:1.3	21 Mar 2007 20:53: 7 -0000
+++ bugzilla/defparams.pl	21 Mar 2007 20:53: 7 -0000
@@ -494,6 +494,8 @@ To use the wonders of Bugzilla, you can 
 To: %to%
 Subject: [Bug %bugid%] %neworchanged%%summary%
 X-Bugzilla-Reason: %reasonsheader%
+X-Bugzilla-Product: %product%
+X-Bugzilla-Component: %component%
 
 %urlbase%show_bug.cgi?id=%bugid%
 
Index: bugzilla/Bugzilla/BugMail.pm
diff -u -p bugzilla/Bugzilla/BugMail.pm:1.1.1.1 bugzilla/Bugzilla/BugMail.pm:1.2
--- bugzilla/Bugzilla/BugMail.pm:1.1.1.1	21 Mar 2007 20:53: 7 -0000
+++ bugzilla/Bugzilla/BugMail.pm	21 Mar 2007 20:53: 7 -0000
@@ -855,6 +855,8 @@ sub NewProcessOnePerson ($$$$$$$$$$$$$) 
     } else {
       $substs{"diffs"} = $difftext . "\n\n" . $newcomments;
     }
+    $substs{"product"} = $values{'product'};
+    $substs{"component"} = $values{'component'};
     $substs{"summary"} = $values{'short_desc'};
     $substs{"reasonsheader"} = join(" ", @reasons);
     $substs{"reasonsbody"} = $reasonsbody;



More information about the wine-cvs mailing list