Gentoo Archives: gentoo-dev

From: Song Ma <songmash@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] A tool helps to diff and override config files
Date: Thu, 04 Dec 2008 08:34:53
Message-Id: 9125d1ef0812040034k4613ab8en7f88fec445633545@mail.gmail.com
1 Hi,
2
3 With Gentoo if the user runs "emerge --update --newuse --deep world", the
4 config file under "/etc" may be updated and get the new config file named as
5 "._cfg0000_xxxx", for example, "._cfg0000_ntp.conf". Normally I will
6 compare this newly updated config file with my existing one, then decide if
7 I am going to override the existing one with new one or discard the new one
8 since I must keep my existing setting. It is not very efficient to do these
9 actions with command lines such as "diff", "cp" or "mv" one by one. I wrote
10 a tool with text menu to help Gentoo user compare and copy new the new
11 config file conveniently. Does anyone have interest about it? What should I
12 do if I want to make it open source and maintain it for Gentoo users?
13
14 A screen shot for the tool use:

Attachments

File name MIME type
do_new_etc_cfg.gif image/gif

Replies

Subject Author
Re: [gentoo-dev] A tool helps to diff and override config files Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
Re: [gentoo-dev] A tool helps to diff and override config files Cheng Renquan <crquan@×××××.com>