SA Bugzilla – Bug 5558
build/mkrules should strip "score" lines from sandbox rules
Last modified: 2007-08-22 05:01:21 UTC
(this is related distantly to bug 5545) Occasionally we get contributed rulesets which contain "score" lines. However when we want to try out the rules in a sandbox, for testing, we do not want these test rules to be given active scores (at least until we're happy with them). Currently, this requires hand-editing the contribution to comment out the score lines. It'd be neater if this was automatic, either by (a) the script discussed in bug 5545, if that happens; (b) a change to the mkrules script, which automatically discards ALL "score" lines from sandbox files; or (c) a change to mkrules which discards "score" lines for ONLY T_ rules / "tflags nopublish" rules, therefore allowing promoted rules to still have their scores set in the sandbox file. (c) would be nicest I think.
ok, done svn commit -m "bug 5558: comment out 'score' lines for non-promoted sandbox rules automatically" build/mkrules Sending build/mkrules Transmitting file data . Committed revision 568571.
done