spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.@apache.org
Subject svn commit: r345173 - /spamassassin/trunk/build/automc/automc-by-mail
Date Thu, 17 Nov 2005 02:43:26 GMT
Author: jm
Date: Wed Nov 16 18:43:23 2005
New Revision: 345173

URL: http://svn.apache.org/viewcvs?rev=345173&view=rev
Log:
minor tweaks

Modified:
    spamassassin/trunk/build/automc/automc-by-mail

Modified: spamassassin/trunk/build/automc/automc-by-mail
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/build/automc/automc-by-mail?rev=345173&r1=345172&r2=345173&view=diff
==============================================================================
--- spamassassin/trunk/build/automc/automc-by-mail (original)
+++ spamassassin/trunk/build/automc/automc-by-mail Wed Nov 16 18:43:23 2005
@@ -10,6 +10,8 @@
 my $BB_URL = 'http://buildbot.spamassassin.org/preflight/__SLAVE__'.
 		'/force?username=mail&comments=__WHY__';
 
+my $WHY = 'rules received via email';
+
 # name of the Buildbot slaves to trigger
 my @SLAVES = qw(
 
@@ -106,8 +108,9 @@
 
   foreach my $slave (@SLAVES) {
     my $url = $BB_URL;
+    my $why = $WHY; $why =~ s/\s+/%20/gs;
     $url =~ s/__SLAVE__/$slave/gs;
-    $url =~ s/__WHY__/mail/gs;
+    $url =~ s/__WHY__/$why/gs;
 
     print "invoking force-build: $url\n";
     get($url);



Mime
View raw message