Gentoo Archives: gentoo-dev

From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] A tool helps to diff and override config files
Date: Thu, 04 Dec 2008 08:40:53
Message-Id: 6142e6140812040040u53814f82ke916349723a94c89@mail.gmail.com
In Reply to: [gentoo-dev] A tool helps to diff and override config files by Song Ma
1 2008/12/4 Song Ma <songmash@×××××.com>:
2 > Hi,
3 >
4 > With Gentoo if the user runs "emerge --update --newuse --deep world", the
5 > config file under "/etc" may be updated and get the new config file named as
6 > "._cfg0000_xxxx", for example, "._cfg0000_ntp.conf". Normally I will
7 > compare this newly updated config file with my existing one, then decide if
8 > I am going to override the existing one with new one or discard the new one
9 > since I must keep my existing setting. It is not very efficient to do these
10 > actions with command lines such as "diff", "cp" or "mv" one by one. I wrote
11 > a tool with text menu to help Gentoo user compare and copy new the new
12 > config file conveniently. Does anyone have interest about it? What should I
13 > do if I want to make it open source and maintain it for Gentoo users?
14 >
15 > A screen shot for the tool use:
16 >
17 >
18
19 Why reinventing the wheel?
20
21 What about using existing tools with much more functionality like
22 etc-update, dispatch-conf, cfg-update or etc-proposals?
23
24 --
25 Regards,
26 Daniel