#497772 ucf: request for interactive merging tool

Package:
ucf
Source:
ucf
Submitter:
Dmitry Karasik
Date:
2025-01-29 16:45:01 UTC
Severity:
wishlist
Tags:
#497772#5
Date:
2008-09-04 07:54:48 UTC
From:
To:
Hello,

I believe that interactive config merge feature is needed in ucf, that it is
not a creeping featurism but rather a useful logic branch that, in my opinion,
would be used most. The idea comes from FreeBSD's mergemaster, which allows to
invoke 'sdiff -o' as one of four available options (install,keep, show
diff,merge), and which feature I miss on debian greatly.

I think that majority of config changes are one-two lines here and there, and
the interactive sdiff is an ideal tool for merging new config lines while
keeping your own lines in such situations.

mergemaster proposes and additional menu what to do with the
merged file, after user is done with sdiff - install,redo,review,
(but lack stepping back to upper level menu). See func merge_loop
in
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/usr.sbin/mergemaster/mergemaster.sh?rev=1.56;content-type=text%2Fplain

Hope that makes sense.

#497772#10
Date:
2008-09-04 13:56:05 UTC
From:
To:
severity 497772 wishlist
thanks

Also, there was a google summer of code project for this.

        manoj

#497772#15
Date:
2025-01-28 17:41:56 UTC
From:
To:
Dmitry,

I know this was submitted a long time ago

and much has changed since this version.

In my opinion and similarly to #358154, ucf's offer to to start a shell is
sufficiently flexible to accommodate all preferences for editor/interactive
merge tool. So I am going to tag this as wontfix.

If you think I am missing something, do say.

Thanks.

Mark

#497772#22
Date:
2025-01-29 16:24:13 UTC
From:
To:
Lucky I'm still alive to see this :)

No problem Mark, thanks

/dk