Open wilbowma opened 6 years ago
Actually I even thought about createing a merger tool for *.pacnew
files. I think I'll do something like that.
Awesome, thanks! What did you have in mind for a merging tool? Launching, eg, vimdiff seems like the best case; I doubt things can be automatically merged well in general.
-- Sent from my phoneamajig
On Jul 8, 2018, at 01:10, kitsunyan notifications@github.com wrote:
Actually I even thought about createing a merger tool for *.pacnew files. I think I'll do something like that.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Yes, it won't be an auto merger. I'm thinking about implementing it via git add -p
, so user could inspect each diff and edit it. I found this thing quite convenient when I worked with git.
Oh that's a very good idea! Look forward to it.
-- Sent from my phoneamajig
On Jul 8, 2018, at 14:16, kitsunyan notifications@github.com wrote:
Yes, it won't be an auto merger. I'm thinking about implementing it via git add -p, so user could inspect each diff and edit it. I found this thing quite convenient when I worked with git.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
@wilbowma for now you could try pacui
package with Maintain System option. It currently has no ability to perform selective editing on diff, just rewrite or clean up new config files (an external prog like meld might be invoked when new/backup of config file found, but no integration AFAIK exists yet).
What about pacdiff
from community/pacman-contrib
?
It's a good tool to take care of the pac{new,save}
files, but a implementation in pakku
would be great.
@mrvik pacdiff
is used internally by pacui
just for that purpose. Although, I'd prefer its different search options as there are times pacnew/save
files still remain in file system but aren't detected from pacman db. And yes, if @kitsunyan doesn't want to make its own diff plugin, pacdiff
works fine with meld
and kompare
, if vim isn't your thing.
I'm trying to switch from
yaourt
, but I miss the-C
feature that lets me quickly clean up any*.pacnew
, etc, files.