Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3933

Summary: etc-update merge
Product: Gentoo Linux Reporter: John Mylchreest <helix>
Component: New packagesAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: mog.johnny
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Mylchreest 2002-06-20 10:52:38 UTC
I think it might be nice to have a feature that you can set as a flag possibly 
on etc-update, that will safely merge all config files.

ie: inset new lines, and do not change existing ones.
for major changes skipt he file and notify the user.
it would save a lot of time doing things that usually will not change.
Comment 1 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-06-20 11:27:47 UTC
Sure, it would be nice. How feasible is it? Don't know. As far I'm conserned,
there is no such thing as "safely merging all config files" without being
somehow manually interactive. Adding new lines to a config file *could* b0rk
your setup, and it could of course be totally harmless (like comments and
headers), but how can etc-update decide what's harmless? Ideas are welcome :)
Just my $0.02
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-06-20 12:47:33 UTC
No.
interactivity is necessary in merging config files, no questions.
We are however trying to make etc-update much less annoying. I'm going to mark
this one a duplicate of bug 3804

*** This bug has been marked as a duplicate of 3804 ***
Comment 3 Torsten Krah 2003-10-24 01:32:28 UTC
Look to FreeBSD's mergemaster ... it can merge the conf files together, so
its possible ... .
But if u dont add such a feature, please change the words which describe
the action, merge should be a overwirte in case of dont editing it with the
editor.
It prevents some really anoying work to revocer the configuration files,
because it does not do what "merge" is meaning, it overrides the files, dont
merge them - so please change your choice of words.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-03 10:29:50 UTC
*** Bug 43574 has been marked as a duplicate of this bug. ***