[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#275951: Please split kdmrc into multiple files for ease of maintenance



Package: kdm
Version: 4:3.3.0a-1
Severity: wishlist

Hi,

Currently, upgrading kdm is a mess if kdmrc has been edited by hand. Even
the diff output is barely usable because there are many comments in the file
that often also change across versions.

It'd be nice if kdmrc could be split into several small files, each of which
would contain related settings and (almost) no comments. The comments, being
very verbose, belong in /usr/share/doc/kdm/examples/.

The default configuration, as shipped, should imo only contain settings that
are different from the program's defaults; this would make actual changes a
lot easier to spot.

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?

Best regards,

Andras

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/>	QOTD:
           Ask not for whom the bell tolls; let the machine get it.



Reply to: