Gnus development mailing list
 help / color / mirror / Atom feed
* Improving support for upgrading gnus
@ 2004-01-23 20:43 Kevin Greiner
  2004-01-28  7:13 ` Kai Grossjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Greiner @ 2004-01-23 20:43 UTC (permalink / raw)


My most recent post included a rewritten gnus-convert-old-newsrc.  The
new function should make it possible to move legacy support out of
individual gnus source files and into a separate source tree.  The
goal is to make gnus leaner, faster, and easier to maintain without
sacrificing support for the user community.

Here are the key new features in gnus-convert-old-newsrc.

1) The converter functions no longer need to be defined at the time
   gnus-convert-old-newsrc is compiled/loaded.  Unbound converters may
   be loaded, at run-time, from a location specified in the conversion
   table.

   - I'd like to see a consensus for moving legacy conversion code
     into a directory named legacy.  The code in this directory will
     be included in the gnus build and installation but it will only
     be loaded when upgrading an old installation to the current 
     version.

2) Multiple converters are sequentially invoked to successively
   convert very old versions into the current version.

   - This should make it easier to write converters since you only
     have to be concerned with the version immediately before the
     version originating the converter.

3) All conversions, whether a single trivial update or a massive
   sequence, must be authorized by the user.

   - This alters the user to the possibility that they are taking an
     irreversible step forward and points out that they should first
     make backups.

Personally, I'd like to clean up gnus-agent.el by moving support for
history files, uncompressed agentview files, the old regexp list in
gnus-agent-expire-days, etc. in legacy/gnus-agent.el.  I fairly 
certain other parts of gnus would also benefit.

So, comments anyone?

Kevin



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Improving support for upgrading gnus
  2004-01-23 20:43 Improving support for upgrading gnus Kevin Greiner
@ 2004-01-28  7:13 ` Kai Grossjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Grossjohann @ 2004-01-28  7:13 UTC (permalink / raw)


Great idea!

Kai



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-28  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23 20:43 Improving support for upgrading gnus Kevin Greiner
2004-01-28  7:13 ` Kai Grossjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).