Leonel Nunez dijo [Mon, Aug 31, 2009 at 01:57:17PM -0600]: > > With Arch packages, we can add a post-upgrade hook to display > > messages about things that changed that the user should be aware > > of. Is there something similar for apt? > > debconf does the magic with the updates or message display
Nope - We have never used debconf for Cherokee's packaging :) Debconf is only used for configuration file generation based on user input. And it is meant to be used only when absolutely necessary - Whenever we can provide sane, working defaults for everybody, they are prefered over debconf. > > I think that automatically editing the user's config file is a Bad > > Idea, because, honestly, that their own file to deal with. Give > > them a message of important changes (or even just a "make sure to > > read the changelog, available at [url]") is much better, because > > it prevents problems such as > > That's what I think too. I will look into using ucf¹ (Update Configuration File: preserve user changes to config files). The problem is that, in some cases, if we don't automatically modify the user's configuration file, it will just break the server. And Cherokee's configuration file is not meant to be hand-editted except for specific cases. So I'd much rather avoid the user doing so. Anyway, for most configfile-invasive changes we have had nice helpers sent out by The Nice Cherokee Crew that have saved the day :-) > Right! and ppa is often named the Unstable for Debian Unstable :) That would be right if Debian's work were based on PPA, but it is seldom the case ;-) Greetings, ¹ http://packages.debian.org/sid/ucf -- Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244 _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
