On Thursday 27 May 2004 22:18 CET Justin Mason wrote:
> Malte S. Stretz writes:
> > Moin,
> >
> > I'd like to kick some parts of the codebase, especially spamc and
> > spamd, through a reformatter so the style gets consistent and better to
> > understand. The coding style was discussed some weeks ago, I'll update
> > the Wiki accordingly before I start.
> >
> > As this can cause some headaches with outstanding patches, anybody
> > who's still got stuff to commit for spamc or spamd should speak up
> > within the next two weeks or so.
>
> I already did this a couple of months ago (in spamc code at least),
> using the ASF coding style "indent" rules.
Oh, right. I just had a short glance at the code and some comments are
wrongly indented thats what made it look weird to me :)
I'll change the rest of the "if (const = var)" to the more readable "if (var
== const)".
> One thing I'd like to get into spamd would be a better architecture for
> where user configs get read. Big sites perpetually have to hack spamd
> to get it to use virtual user configs/configs from SQL/configs from
> LDAP/for all users/ some subset of users/with a shared bayes-storage
> dir/with a per-domain bayes-storage dir/etc. etc., repeat ad infinitum.
>
> It's messy, and IMO, a plugin API that they can use instead of the
> current patchwork of command-line options, would be better. I haven't
> put any time into thinking about it though.
Yes, I know. It was one of the top things on my todo list and I already put
some planning behind it. But then I was "distracted" by other stuff and my
proposed but never finished Conf.pm rewrite delayed other things already
enough so I decided to drop it for 3.0. And I doubt that I [wc]ould finish
it anyway.
If anybodys interested in what I thought about, I can try to phrase my
thoughts and plans though. That's always the hardest part ;-)
Cheers,
Malte
--
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
<http://www.catb.org/~esr/faqs/smart-questions.html>