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 2006/08/23 16:26:18 UTC
rulesrc/core -- let's drop it
as part of bug 4982, I'm trying to get the rulesrc external to work with
the 3.1.x branch.
Right now, the contents of rulesrc/core are not mixing well -- they're
basically the "core" rules from SVN trunk:
20_advance_fee.cf 20_drugs.cf 20_meta_tests.cf 20_ratware.cf
20_body_tests.cf 20_fake_helo_tests.cf 20_phrases.cf 20_uri_tests.cf
20_compensate.cf 20_head_tests.cf 20_porn.cf 50_scores.cf
same for the "lang" rules files:
rulesrc/lang/de/30_text_de.cf rulesrc/lang/pl/25_body_tests_pl.cf
rulesrc/lang/fr/30_text_fr.cf rulesrc/lang/pl/30_text_pl.cf
rulesrc/lang/it/30_text_it.cf rulesrc/lang/pt_br/30_text_pt_br.cf
rulesrc/lang/nl/30_text_nl.cf
Problem is, build/mkrules thinks that it should compile the rules
from there, into rules/*. But those files conflict with the existing
3.1.x ruleset in rules/20_drugs.cf, etc.
So:
- should we switch 3.1.x to using the rules from rulesrc/core, same as
trunk is now doing? This may be too much of a change for
mid-maintainance cycle.
- should rulesrc/core and rulesrc/lang be moved out of the "rulesrc"
external, back into the code's SVN repository, so that 3.1.x and
trunk can use different "core" rulesets?
- or, should mkrules be hacked for 3.1.x to ignore files in rulesrc/core
and rulesrc/lang, and we have two different means to build the ruleset
for 3.1.x and 3.2.0?
--j.
Re: rulesrc/core -- let's drop it
Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, Aug 23, 2006 at 03:26:18PM +0100, Justin Mason wrote:
> as part of bug 4982, I'm trying to get the rulesrc external to work with
> the 3.1.x branch.
>
> So:
>
> - should we switch 3.1.x to using the rules from rulesrc/core, same as
> trunk is now doing? This may be too much of a change for
> mid-maintainance cycle.
>
> - should rulesrc/core and rulesrc/lang be moved out of the "rulesrc"
> external, back into the code's SVN repository, so that 3.1.x and
> trunk can use different "core" rulesets?
>
> - or, should mkrules be hacked for 3.1.x to ignore files in rulesrc/core
> and rulesrc/lang, and we have two different means to build the ruleset
> for 3.1.x and 3.2.0?
Well, my first thought is that I don't want 3.1 to have the same mkrules
business as 3.2. I still don't really like the way it works, and was hoping
we'd get it changed around before releasing 3.2.
In relation to that, since we're just talking about 3.1 updates and not
changing the 3.1 tarball rules directory (right?), I don't think it really
matters what's in rulesrc. Let's just make sure the updates look appropriate
before doing anything with them.
--
Randomly Generated Tagline:
For a good time type ECHO FFFF:0000 |DEBUG > NUL