Bug #1185

need a tool to merge changes into /etc

Added by wa1ter over 4 years ago. Updated over 4 years ago.

Status:New Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

I run mergemaster occasionally because it catches files that
make upgrade misses. Today it misses about half a dozen or
so, including aliases, ftpusers, /usr/Makefile, and maybe a
few others I can't remember.

Thanks.


Related todos

History

Updated by dillon over 4 years ago

:I run mergemaster occasionally because it catches files that
:make upgrade misses. Today it misses about half a dozen or
:so, including aliases, ftpusers, /usr/Makefile, and maybe a
:few others I can't remember.
:
:Thanks.

Well, we could add /usr/Makefile easily enough, that file is not
modified by the sysad. ftpusers and aliases can be edited by the
sysad so make upgrade can't just copy a new one in.

I very explicitly do *NOT* want make upgrade to try to mess with
files that are typically modified by the sysadmin. However, there
is no reason why it couldn't compare them and generate a warning at
the end for files needing manual work. It could even suggest running
mergemaster :-)

Would someone like to add /usr/Makefile and a basic compare/warning
feature for the other files to make upgrade?

-Matt
Matthew Dillon
<dillon@backplane.com>

Updated by pavalos over 4 years ago

What about putting /etc under git control? make upgrade can do a merge and then
if there's a conflict, git would complain.

Also available in: Atom PDF