Re: Proposal to improve approx configuration upgrades

2009-10-09 Thread Dominique Dumont
Le mercredi 7 octobre 2009 13:09:06, vous avez écrit : > I don't really want to add a dependency on another package for such a > simple task. Anyone deploying a caching proxy server should be able > to read a man page and edit a config file. Ok. Looks like you're not convinced... Could you at le

Re: Proposal to improve approx configuration upgrades

2009-10-08 Thread Dominique Dumont
Le mercredi 7 octobre 2009 21:13:45, Steve Langasek a écrit : > > ucf has a rather crude upgrade strategy: either accept upstream or keep > > your file or use your favorite editor. > > That's not true. ucf supports three-way merges. You're right. But three-way merge still requires the end-user

Re: Proposal to improve approx configuration upgrades

2009-10-07 Thread Jonas Smedegaard
On Wed, Oct 07, 2009 at 12:13:45PM -0700, Steve Langasek wrote: On Wed, Oct 07, 2009 at 05:19:10PM +0200, Dominique Dumont wrote: > Also, I haven't looked into either one in enough detail, but how does > your approach differ from ucf? ucf has a rather crude upgrade strategy: either accept ups

Re: Proposal to improve approx configuration upgrades

2009-10-07 Thread Steve Langasek
On Wed, Oct 07, 2009 at 05:19:10PM +0200, Dominique Dumont wrote: > > Also, I haven't looked into either one in enough detail, but how does > > your approach differ from ucf? > ucf has a rather crude upgrade strategy: either accept upstream or keep your > file or use your favorite editor. That's

Re: Proposal to improve approx configuration upgrades

2009-10-07 Thread Dominique Dumont
Hello Eric Le mercredi 7 octobre 2009 13:09:06, vous avez écrit : > I don't really want to add a dependency on another package for such a > simple task. Simple, but it may be repetitive. Here a real life comment made by one of your users on #debian-perl: (03:02:23 PM) dusty: ddumont1: thanks f

Re: Proposal to improve approx configuration upgrades

2009-10-07 Thread Dominique Dumont
Le mardi 6 octobre 2009 17:09:05, Dominique Dumont a écrit : > The patch for approx is much simpler (See attachment): Ahem, here's the patch in attachment. Sorry. All the best diff -Naur approx-4.0/debian/approx.postinst approx-dev/debian/approx.postinst --- approx-4.0/debian/approx.postinst 2009

Proposal to improve approx configuration upgrades

2009-10-06 Thread Dominique Dumont
Hello Le jeudi 17 septembre 2009 14:11:01, Dominique Dumont a écrit : > So, I've written a wiki page [1] that explains: > - how configuration upgrade are managed by Config::Model > - how to implement such upgrades with Approx example: > * create a configuration model for approx.conf > * the p