Bug 87216 - Compare compressed files and archives
Summary: Compare compressed files and archives
Status: RESOLVED WORKSFORME
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 3.2.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-14 20:24 UTC by Michael Schuerig
Modified: 2006-02-19 15:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schuerig 2004-08-14 20:24:55 UTC
Version:           3.2.1 (using KDE 3.2.3,  (3.1))
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-7)
OS:                Linux (i686) release 2.6.7

It would be nice if Kompare was a bit more lenient in the kind of input it accepts for comparison. For me, it happens regularly that I need to compare a file with an older compressed version or a folder with an archived version (tar.gz, zip).

Michael
Comment 1 Otto Bruggeman 2004-08-28 02:48:28 UTC
I'll see what i can do, but i cant guarantee anything for KDE 3.4/4.0.
Comment 2 Helge Hielscher 2005-05-26 22:30:26 UTC
Please consider supporting compressed XML-Formats like OpenOffice.org files, OpenDocument files, SVGZ, VRML too.
Comment 3 Jeff Snyder 2005-06-06 21:44:48 UTC
This is gonna be a little spammy... I'm reassigning everything that's currently 
assigned to bruggie (who's been the default assignee for bugs since time began) 
to the new list address. 
 
Bruggie: if you're working on one or more of these atm, please snatch 'em 
back.. 
 
Everyone, esp. Joshua and Bruggie: if this genrates 33 mails, my sincere 
apologies.. 
Comment 4 Winfried Dobbe 2006-01-06 21:56:14 UTC
This is already possible when you use the tar kioslave. For example compare

/tmp/difftest.txt

with

tar:/tmp/difftest.tar.bz2

Saving applied differences to files in the archive doesn't work yet though, we are working on that for KDE 4.0
Comment 5 Helge Hielscher 2006-01-06 22:25:05 UTC
Winfried, using KIO slaves does not solve the problem for the user. E.g. one selects 2 OpenDocument files in Krusader and chooses "compare by content".
Comment 6 Winfried Dobbe 2006-01-07 21:48:39 UTC
If I understand your request well, you want Kompare to understand the contents of binary files. I think that's a bit too much too ask for, and it would be a hell of a maintenance job to keep that up to date.
Comment 7 Helge Hielscher 2006-01-08 01:28:22 UTC
No, kompare should offer to compare the included data of archives if it detects that a file is an archive. One way to do this is to use the file command, e.g.
#file test.odt
test.odt: Zip archive data, at least v2.0 to extract