http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5545
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From [EMAIL PROTECTED] 2007-07-30 08:36 -------
OK, I've now gone ahead and done this in trunk.
If a sandbox file contains the comment "#testrules", all rules defined beyond
that point will be considered testing rules by the "listpromotable" script, as
if they were named with the "T_" prefix (but without requiring that).
if you want to publish a rule in the "#testrules" scope, add "tflags publish"
and it'll be forced active (as before). in other words, it just affects the
default mode.
since it's a comment, it's fully backwards compatible; SA 2.x, 3.{0,1,2}.x will
all be unaffected if they come across it in a file, and --lint will not notice.
the code is a no-op unless the 'keep_config_parsing_metadata' boolean is on in
the Mail::SA constructor (as it is in the listpromotable script).
: jm 54...; svn commit -m "bug 5545: allow 'tflags publish' to be made
default/non-default on a per-file basis for sandbox rules files, using a
'#testrules' comment"
Sending build/mkupdates/listpromotable
Sending lib/Mail/SpamAssassin/Conf/Parser.pm
Transmitting file data ..
Committed revision 561013.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.