Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] auto updating untouched config files
Date: Sun, 02 May 2004 15:11:19
Message-Id: 20040502171203.180ceafc@eusebe
In Reply to: Re: [gentoo-dev] auto updating untouched config files by Stuart Herbert
1 On Sun, 2 May 2004 15:59:17 +0100
2 Stuart Herbert <stuart@g.o> wrote:
3
4 >
5 > If it's something you run post-emerge, it can't do the job
6 > properly, because the CONTENTS file for the previous version
7 > have gone.
8 >
9
10 The first time you update a config file with dispatch-conf, you
11 will be prompt to accept the diff just like with etc-update. But
12 the point is that it keeps backup (numbered files or RCS
13 repository) of all files it updates, with both the vanilla
14 versions and your own versions. So on the next updates, it has the
15 information needed to know whether your config file is customized
16 or not.
17
18 So for instance the first time you update baselayout you have all
19 the files to accept manually, and the second time only the
20 modified one.
21
22 It also does a three-part diff beetween old-vanilla, current and
23 new-vanilla files, and thus the updates it suggests are already
24 merged with your customisation when possible. Imho, that's really
25 a smart tool, which only lacks cosmetic stuff like manpage or
26 --pretend option.
27
28 --
29 TGL.
30
31 --
32 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] auto updating untouched config files Stuart Herbert <stuart@g.o>