[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 georgeanelson com>
      '                              <http://www.georgeanelson.com/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]