Great Circle Associates Majordomo-Workers
(April 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Config file commentary.
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Tue, 23 Apr 1996 10:41:27 -0500 (CDT)
To: cwilson @ slurp . neu . sgi . com (Chan Wilson)
Cc: majordomo-workers @ greatcircle . com
In-reply-to: <199604231304.PAA29861@slurp.neu.sgi.com> from "Chan Wilson" at Apr 23, 96 03:04:37 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Chan Wilson writes: ]
> 
> The current scheme of returning the list configuration file is simply
> a direct dump of whatever happens to be in <listname>.config.
> Usually, this isn't a problem, but when adding or replacing list
> variables, a problem arises: The new variables won't be seen, and
> obsoleted variables will get bounced back as unknown by newconfig.
> 
> What I'm proposing to do is have the list config file be a pure list of
> 
>      variable = value
> 
> with *no* commentary.  When the 'config' command returns the list
> configuration, it will return a "commented" version with any new
> variables added and old variables removed.  'newconfig' will then
> simply be a dump of the $config_opts{$list} hash.

And what happens to any comments I might insert? Eaten by the
"de-commenter", no doubt. The easiest thing to do is to supply a
conversion program to run on existing installations to update the config
files. That reduces the changes and complexity required in Majordomo for
something that only needs to be done once for all lists.

JMO, but it seems to me that incompatible changes such as this are
inappropriate for a minor revision, i.e. 1.93 --> 1.94, and should be
reserved for major revisions, i.e. 1.93 --> 2.0.0 (yes, I think the
current Mj revision numbering is broken too).

-- 
 Dave Wolfe    *Not a spokesman for Motorola*
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598


Follow-Ups:
References:
Indexed By Date Previous: Re: Config file commentary.
From: Dave Barr <barr@math.psu.edu>
Next: Re: Config file commentary.
From: Brent@GreatCircle.COM (Brent Chapman)
Indexed By Thread Previous: Re: Config file commentary.
From: Dave Barr <barr@math.psu.edu>
Next: Re: Config file commentary.
From: Chan Wilson <cwilson@slurp.neu.sgi.com>

Google
 
Search Internet Search www.greatcircle.com