You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/11/17 03:43:26 UTC

svn commit: r345173 - /spamassassin/trunk/build/automc/automc-by-mail

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);