Bug#473223: smokeping: configuration merging is a nightmare

2008-03-31 Thread Niko Tyni
On Mon, Mar 31, 2008 at 01:20:55AM +0300, Niko Tyni wrote: > The three way merge needs the old configurations around, so the source > package now includes all default configuration files since Etch (divided > into section-specific files.) There are some identical files that could > be eliminated b

Bug#473223: smokeping: configuration merging is a nightmare

2008-03-30 Thread Niko Tyni
On Sun, Mar 30, 2008 at 02:12:52PM +0200, Jose Carlos Garcia Sogo wrote: > I'm going to experiment a bit with using 'ucf --three-way' instead of > > letting dpkg do the prompting, so this is not quite finished yet. It > > should work as is, though. There's now a 'ucf' branch on git.debian.org doi

Bug#473223: smokeping: configuration merging is a nightmare

2008-03-30 Thread Jose Carlos Garcia Sogo
On Sun, Mar 30, 2008 at 1:26 PM, Niko Tyni <[EMAIL PROTECTED]> wrote: > On Sun, Mar 30, 2008 at 01:45:29AM +0100, Jose Carlos Garcia Sogo wrote: > > > The only thing I am not sure is if conversion should be made in preinst > or > > postinst, before restarting daemon. What have done other packages

Bug#470295: Bug#473223: smokeping: configuration merging is a nightmare

2008-03-30 Thread Niko Tyni
On Sun, Mar 30, 2008 at 01:45:29AM +0100, Jose Carlos Garcia Sogo wrote: > The only thing I am not sure is if conversion should be made in preinst or > postinst, before restarting daemon. What have done other packages in such > situation? > Also, don't forget to keep old config file and print a bi

Bug#473223: smokeping: configuration merging is a nightmare

2008-03-29 Thread Jose Carlos Garcia Sogo
When I saw the title for this bug, I thinked just the same, that the config file should be splitted in some different files. I think you have explained the solution right. The only thing I am not sure is if conversion should be made in preinst or postinst, before restarting daemon. What have done o

Bug#473223: smokeping: configuration merging is a nightmare

2008-03-29 Thread Niko Tyni
Package: smokeping Version: 2.3.2-1 Severity: normal I'm adding two new variables to the "don't touch" section of the configuration file for the next version, and they really need to get into everybody's configs for things to continue working. I'm sure that just about everybody is by now used to