Bug 140492

Summary: wish for "test archive" functionality
Product: [Applications] ark Reporter: Speckmade <speckmade>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED FIXED    
Severity: wishlist CC: rakuco, rick
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 16.08.0

Description Speckmade 2007-01-23 13:32:05 UTC
Version:           2.6.4 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17-10-generic

besides "compress" and "decompress" commands/buttons I'm missing a "verify archive"/"test archive" command (to check whether an archive has been damaged or not).
Comment 1 Bram Schoenmakers 2007-01-23 17:27:43 UTC
*** Bug 91807 has been marked as a duplicate of this bug. ***
Comment 2 Raphael Kubo da Costa 2010-12-08 02:18:28 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 3 Ragnar Thomsen 2016-05-03 16:38:45 UTC
Git commit 13d70a48a5122caa442ce740df242d74c8f036b5 by Ragnar Thomsen.
Committed on 03/05/2016 at 16:36.
Pushed by rthomsen into branch 'master'.

Add basic test functionality

Add a TestJob and associated action in Part. Test functionality is
enabled in plugin json files, currently for clizip, clirar and cli7z.
Test results are displayed simply as success/failure in a KMessageBox.

Testing password-protected archives will currently result in an
errorbox, due to these archives potentially having different passwords
for each file and hence multiple password prompts might pop up.

Libarchive does not support testing archives.
FIXED-IN: 16.08.0
Differential Revision: D1516

M  +5    -0    autotests/kerfuffle/jsonarchiveinterface.cpp
M  +1    -0    autotests/kerfuffle/jsonarchiveinterface.h
M  +12   -0    kerfuffle/archive_kerfuffle.cpp
M  +2    -0    kerfuffle/archive_kerfuffle.h
M  +11   -3    kerfuffle/archiveformat.cpp
M  +4    -1    kerfuffle/archiveformat.h
M  +2    -0    kerfuffle/archiveinterface.h
M  +67   -0    kerfuffle/cliinterface.cpp
M  +8    -2    kerfuffle/cliinterface.h
M  +31   -0    kerfuffle/jobs.cpp
M  +17   -0    kerfuffle/jobs.h
M  +3    -2    part/ark_part.rc
M  +36   -1    part/part.cpp
M  +3    -0    part/part.h
M  +4    -1    plugins/cli7zplugin/cliplugin.cpp
M  +4    -2    plugins/cli7zplugin/kerfuffle_cli7z.json
M  +4    -1    plugins/clirarplugin/cliplugin.cpp
M  +1    -0    plugins/clirarplugin/kerfuffle_clirar.json
M  +4    -1    plugins/clizipplugin/cliplugin.cpp
M  +5    -3    plugins/clizipplugin/kerfuffle_clizip.json
M  +5    -0    plugins/libarchive/libarchiveplugin.cpp
M  +1    -0    plugins/libarchive/libarchiveplugin.h
M  +5    -0    plugins/libsinglefileplugin/singlefileplugin.cpp
M  +1    -0    plugins/libsinglefileplugin/singlefileplugin.h

http://commits.kde.org/ark/13d70a48a5122caa442ce740df242d74c8f036b5