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 big warning.
I'm doing it in the preinst so that dpkg can prompt for changed files when unpacking. That should take care of the backup and the warnings too. > BTW, I think that git repo should go live right now. If I someday go to get > a new server and can recover SVN hist, we can later complete it in git, I just took all the packages archive.debian.org and snapshot.debian.net had and imported them into collab-maint at Alioth. $ git clone ssh://git.debian.org/git/collab-maint/smokeping.git (s/ssh/git/ for anonymous read-only access, of course). The git workflow needs some work/thought here: the 'clean' target wants to remove generated files under doc/ and git shouldn't track those in the Debian branch. I pushed the unreleased 2.3.5-1 there too. Cc'ing #470295, in case somebody anxious for a working master/slave setup wants to try it out. 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. Cheers, -- Niko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

