You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2007/07/04 15:41:19 UTC

NOTICE: new sandbox promotion rules

as noted in bug 5545, the 3.3.x updates (and possibly 3.2.x updates to
come?) now use "tflags publish" to mean something slightly different;
rules in the sandboxes that *don't* include that line will never make it
into the published set.

If you have rules in your "rulesrc" sandboxes that you want to be
published (or at least, published assuming they pass the quality
thresholds), please add the "tflags publish" line for each one.

Here's a quick helper VIM command that does this, assuming you have
the cursor on a rule line:

:.,.!perl -pe '/^\S+\s+(\S+)/ and print "tflags $1 publish\n";'

And to do the entire file from current cursor position to EOF, adding
a tflags publish line for every "describe" line:

:.,$!perl -pe '/^describe\s+(\S+)/ and print "tflags $1 publish\n";'

or for every line of specific rule type (in this case meta):

:.,$!perl -pe '/^meta\s+(\S+)/ and print "tflags $1 publish\n";'


Hope that helps ;)

--j.