Bug#275951: Please split kdmrc into multiple files for ease of maintenance
* Achim Bohnet [Mon, 11 Oct 2004 22:59:19 +0200]:
> On Monday 11 October 2004 10:14, Andras Korn wrote:
> > Package: kdm
> > Version: 4:3.3.0a-1
> > Severity: wishlist
> > The split-out configfiles could be merged via an update-kdmrc script. An
> > even more sophisticated and only slightly more complex approach would be to
> > have three groups of configfiles: upstream, debian and local, and merge
> > these so that any options present in a later file override the ones in
> > earlier files (some grepping can do this). This would really make upgrades a
> > snap.
> > I'm willing, I guess, to implement the last proposal with the three groups
> > of files as a shell script; would you accept it?
> Good idea! Before implementing such a script have a look at
> the ucf pkg ;)
I think it wouldn't result difficult to implement this *if* one looks
into using /usr/bin/genkdmconf, which is capable of generating kdm
configuration files which are the result of *merging* existing files
and new defaults and/or options.
currently, genkdmconf is run once at build time and the resulting files
are shipped (see kdebase/kdm/kfrontend/Makefile.am). I think it would
make sense to run genkdmconf in the postinst script, so that local
changes get merged.
Andras, if you're still interested in the issue, please follow-up and
we can discuss the implementation details. if not, I'll put this in my
TODO list (I myself have been annoyed by this behavior longer than I
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Listening to: Pauline en la playa - Insignificancia en si menor
Military justice is to justice what military music is to music.
-- Groucho Marx