On Wed, Nov 15, 2006, Loïc Minier wrote:
>                                     I doubt that debbugs will ever do
>  this, so I'll mention this to the PTS maintainer, in case it would be
>  possible to add a rule allowing debbugs to spam the PTS.

 I've sent the attached patch to Raphaël Hertzog.

-- 
Loïc Minier <[EMAIL PROTECTED]>
        10 SIN
        20 GO TO ROBOT HELL             -- Temple of Robotology
Index: bin/dispatch.pl
===================================================================
--- bin/dispatch.pl     (révision 1438)
+++ bin/dispatch.pl     (copie de travail)
@@ -129,6 +129,9 @@
     if ($mail->head()->get('X-Bugzilla-Product')) {
        # Bugzilla(s) are trusted sources
        $needs_approval = 0;
+    } elsif ($mail->head()->get('X-Debian-PR-Message')) {
+       # Debbugs is a trusted source
+       $needs_approval = 0;
     }
     # Check for spam
     if (defined($spamc) && $spamc) {

Reply via email to