http://bugzilla.spamassassin.org/show_bug.cgi?id=3049
------- Additional Comments From [EMAIL PROTECTED] 2004-02-22 15:19 ------- Subject: Re: Implement sa-learn --loaddb dumpfile functionality On Sat, Feb 21, 2004 at 11:23:22PM -0800, [EMAIL PROTECTED] wrote: > ------- Additional Comments From [EMAIL PROTECTED] 2004-02-21 23:23 ------- > > It would be really handy to be able to populate a bayes database file from a > > dump file. This would allow folks to dump a database, edit it and then > re-load > it. > > Okay, why is it handy? > It started with this message: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=1069 I worked up a quick and dirty script that handled just the DB_File case and then Justin posted this message: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=1095 So, I moved it into sa-learn, which made it easier to tie it everything else. It's really become a nice little utility for some of the testing I've been doing with the bayes stuff, so I'd like to keep it. > I'm not sure this belongs in sa-learn as well. A separate tool might be > better > to avoid complicating sa-learn and the SA code. By putting it in sa-learn, CmdLearn and then the BayesStore* backends it makes it easy to support whatever storage backends we want to support it under without a whole bunch of special logic in a seperate script, or a flat out seperate script per backend store. After thinking about it a little bit, I'd be open to expanding our dump to include the seen data as well and parsing that on load along with the token data. Michael ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
