diffpac - a stand alone version of yaourt's pacdiffviewer

I created a yaourt replacement called packer. One common thing I heard from many was that they could not let go of yaourt because they loved pacdiffviewer. After inspection, it appeared that pacdiffviewer really did not depend much on yaourt at all. So I modified it to work without yaourt. What this mainly consisted of was copying and pasting the relevant tidbits of the yaourt function files into pacdiffviewer.

Because I only copied the relevant functions, there should be a slight speed increase over pacdiffviewer in yaourt, but on the whole, I did nothing to refactor it to make it faster. So really almost none of the code is mine. If it sucks and is slow, don't blame me. It works the way it was before I started modifying it.

Re: diffpac - a stand alone version of yaourt's pacdiffviewer

It should make a copy of the backup configs(*.pacnew etc) into: 'savedir=/var/lib/diffpac/backupfiles', but no diffpac dir is made under /var/lib...

With pacdiffviewer's --backup option, then the configs are saved correctly under /var/lib/yaourt/backupfiles...

Or maybe this is intentional, since 'diffpac -h' dosen't show a backup option, even though it's there in the source under 'case...' ?

This --backup option is imho what sets pacdiffviewer appart from the rest of such tools, since it gives the ability to automerge changes when having saved two versions of each *.pacnew, so I would really love to have this also in diffpac, since I preffer packer/diffpac to yaourt...

Re: diffpac - a stand alone version of yaourt's pacdiffviewer

I love the idea of this program, but I'm unsure about how exactly to use it. The options are [vsro], but does overwrite completely overwrite the old file, or does it preserve changes? Also, how do you edit the pacnew file before it is used to overwrite the old one?

Re: diffpac - a stand alone version of yaourt's pacdiffviewer

UnsolvedCypher wrote:

I love the idea of this program, but I'm unsure about how exactly to use it. The options are [vsro], but does overwrite completely overwrite the old file, or does it preserve changes? Also, how do you edit the pacnew file before it is used to overwrite the old one?