-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sidney Markowitz writes:
> First, +1 on the general idea of facilitating rule submission by having a
> rules project.
> 
> Justin Mason wrote:
> > I'd like to see if there's a way to combine the two somehow so that new
> > SVN commits that update sandbox rules, are immediately mass-checked alone.
> > However, I can't see a way to do that reliably from SVN commits alone,
> > because (for example) meta rules may depend on other rules that were not
> > changed as part of the same commit.   So I think the "email with attached
> > rules file" is still a better model.
> 
> Perhaps we could use SVN to check in rule submissions so they are version
> controlled and tracked, and have emails refer to file paths and version
> numbers instead of attaching the rules. Would that be too complex for the
> people we want to attract compared to mailing in sets of rules as attachments?

I dunno -- that seems pretty scary.  Also, it doesn't fix the problem
where you have a meta rule in the change which relies on a predicate
from a previous change, at all.

If you just get the submitter who wants the mass-check to send in
the entire file containing the rules they want checked, it's pretty
easy for them to take care of that angle; if they don't, the --lint
will fail immediately anyway.

I've been thinking about this a little, and using list-driven mass-checks
actually works pretty well when you think about it -- no need to
install svn, no need to even maintain a corpus.  writing rules is
all that's needed.

fwiw, if the list is archived (possibly privately in an mbox somewhere)
it's still tracked and version-controlled that way anyway, even if
svn isn't in the picture.

Could the list be a semi-private one, with moderated subscription and
posting?  That'd take care of rules in development being exposed
to spammers while they're still being worked on, at least partially.


PS: I've wikified the discussion so far:
http://wiki.apache.org/spamassassin/RulesProjectPlan

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFC3rTBMJF5cimLx9ARAswGAJsGOPZxQg+XfkQHZIATgTdWprVQnwCgtH6I
9B9YEEKm8VVS2QpxVu+GXl0=
=DZG7
-----END PGP SIGNATURE-----

Reply via email to