Gentoo Archives: gentoo-dev

From: Stuart Herbert <stuart@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] auto updating untouched config files
Date: Sun, 02 May 2004 18:01:35
Message-Id: 200405021915.13363.stuart@gentoo.org
In Reply to: Re: [gentoo-dev] auto updating untouched config files by Thomas de Grenier de Latour
1 On Sunday 02 May 2004 16:12, Thomas de Grenier de Latour wrote:
2 > The first time you update a config file with dispatch-conf, you
3 > will be prompt to accept the diff just like with etc-update. But
4 > the point is that it keeps backup (numbered files or RCS
5 > repository) of all files it updates, with both the vanilla
6 > versions and your own versions. So on the next updates, it has the
7 > information needed to know whether your config file is customized
8 > or not.
9 >
10 > So for instance the first time you update baselayout you have all
11 > the files to accept manually, and the second time only the
12 > modified one.
13 >
14 > It also does a three-part diff beetween old-vanilla, current and
15 > new-vanilla files, and thus the updates it suggests are already
16 > merged with your customisation when possible. Imho, that's really
17 > a smart tool, which only lacks cosmetic stuff like manpage or
18 > --pretend option.
19
20 Urgh ;-) Wouldn't it be better all round to just have Portage handle this
21 properly - where it has access to the CONTENTS file - rather than end up with
22 a second repository of installation information?
23
24 Shrugs,
25 Stu
26 --
27 Stuart Herbert stuart@g.o
28 Gentoo Developer http://www.gentoo.org/
29 Missed the php|cruise? http://dev.gentoo.org/~stuart/cruise-2004/
30
31 GnuPG key id# F9AFC57C available from http://pgp.mit.edu
32 Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
33 --

Replies

Subject Author
Re: [gentoo-dev] auto updating untouched config files Thomas de Grenier de Latour <degrenier@×××××××××××.fr>