Announcing yum-merge-conf, a yum plugin to merge configuration files

Tony Nelson tonynelson at georgeanelson.com
Tue Mar 13 15:31:47 UTC 2007


At 7:52 AM +0100 3/13/07, Aurelien Bompard wrote:
>Neal Becker wrote:
>> This sounds great!  I haven't looked at the code yet.
>
>It's pretty trivial, you'll see
>
>> Will it also ignore cases when the new config hasn't actually changed, and
>> silently remove the redundant copy?  That would be really great.
>
>If RPM created a copy, it means something has changed.

One would think so, but no, not always.  Vim's rpm is one offender (retyped):

    # ls /etc/vimrc*
    /etc/vimrc  /etc/vimrc.rpmnew
    # diff /etc/vimrc*
    #

>The plugin just looks
>for .rpmsave/.rpmnew files (depending if it's a %config or
>a %config(noreplace))

Hopefully it will be able to detect and merge such files.  They're
certainly the easiest and safest to merge. ;-)
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-devel-list mailing list