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

2006-09-03 Thread Petter Reinholdtsen
Teaching kdm to read configuration from more than one file would have several advantages. Multilevel configuration, where kdm for example reads /usr/share/apps/kdm/kdmrc first, then overrides in /usr/share/apps/kdm/kdmrc.d/ and finally /etc/kde3/kdm/kdmrc, would solve these problems: - It would

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

2004-10-19 Thread Andras Korn
On Tue, Oct 19, 2004 at 01:31:20PM +0200, Adeodato Simó wrote: Hola, > 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 ne

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

2004-10-19 Thread Adeodato Simó
* 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

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

2004-10-12 Thread Josh Metzler
On Monday 11 October 2004 04:14 am, Andras Korn wrote: > 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 cha

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

2004-10-12 Thread Andras Korn
On Tue, Oct 12, 2004 at 07:04:19PM +0200, Achim Bohnet wrote: > > 1. generate kdmrc as it would look without kcm changes > > > > 2. diff with existing version; assume changes were made by kcm > > > > 3. propagate changes to kdmrc_kcm (a fourth config that takes precedence > > over user, debian a

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

2004-10-12 Thread Achim Bohnet
On Tuesday 12 October 2004 16:50, you wrote: > On Tue, Oct 12, 2004 at 03:54:50PM +0200, Achim Bohnet wrote: > > > > I've seen ucf in action, and I don't see how it can be readily applied > > > here, > > > or what its advantages over the proposed script would be. Do you have any > > > specific ap

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

2004-10-12 Thread Andras Korn
On Tue, Oct 12, 2004 at 03:54:50PM +0200, Achim Bohnet wrote: > > I've seen ucf in action, and I don't see how it can be readily applied here, > > or what its advantages over the proposed script would be. Do you have any > > specific approach in mind? > > AFAIU your goal is to make merging of ups

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

2004-10-12 Thread Achim Bohnet
On Tuesday 12 October 2004 09:14, Andras Korn wrote: > On Mon, Oct 11, 2004 at 10:59:19PM +0200, Achim Bohnet wrote: > > > > 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

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

2004-10-12 Thread Andras Korn
On Mon, Oct 11, 2004 at 10:59:19PM +0200, Achim Bohnet wrote: > > 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've seen ucf in action

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

2004-10-11 Thread Achim Bohnet
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 conf

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

2004-10-11 Thread Andras Korn
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