Skip to content

savannah: More functionally u7z #44

@mc-butler

Description

@mc-butler

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/44
Reporter sgh

Original: http://savannah.gnu.org/bugs/?16303

Submitted by:SGh <sgh>Submitted on:Sat 08 Apr 2006 01:43:59 PM UTC
Category:VFSSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:current (CVS or snapshot)Operating System:GNU/Linux

Original submission:

I have mc CVS 2005-08-10-19 installed, I found, that I can't delete 
form 7z archives, and can't do some other operations (i.e. mc u7z 
cannot properly handle old 7z archives with ".\" at the beginning 
of filename)... So I wrote my own u7z version with all 
functionality, that provide p7zip archiver. Please include it to 
the mc source code.

Comment 1 by SGh <sgh> at Sat 08 Apr 2006 01:45:08 PM UTC:

P.S. Sorry for my bad english.

Comment 2 by Pavel Tsekov <ptsekov> at Thu 18 May 2006 01:51:52 PM UTC:

It would be better if you tweak the existing u7z script instead of 
providing a new one. I see the exisiting one has support for 
removing files from archives - why doesn't it work for you ? Does 
it print an error message of some kind ?

Comment 3 by SGh <sgh> at Tue 30 May 2006 07:52:33 PM UTC:

What's the difference if I've wrote my own version or changed the 
existent one? I've written it just a bit earlier before I've 
downloaded the CVS. I don't exactly remember but deleting wasn't 
worked in that CVS anyway. Seems like there was just an empty 
delete function.

Comment 4 by Leonard den Ottolander <leonardjo> at Wed 21 Jun 2006 05:35:56 PM UTC:

It's easier to see what changed (and if there are unwanted 
regressions) if you patch the existing version instead of writing a 
new version from scratch.

So if you want to get any improvements considered for inclusion you 
will have to rewrite your patch.

Comment 5 by SGh <sgh> at Wed 21 Jun 2006 07:15:35 PM UTC:

OK, Understand. I will download latest CVS, and see if I have 
something to patch un u7z.

Comment 6 by SGh <sgh> at Fri 23 Jun 2006 11:06:44 PM UTC:

Here is my patch to original u7z, fixed things:
1) Detection if we have 7z or only 7za installed. (With 7z we can 
work with all 7z-supported archives, i.e. CABs, etc... Only have to 
rename this script in ucab.)
2) Workaround for old version p7zip archives with prefix ./ in 
filenames.
3) Fixed directory creation in mcu7zip_mkdir, now it works properly.

Note

Original attachments:

Metadata

Metadata

Assignees

Labels

area: vfsVirtual File System supportprio: mediumHas the potential to affect progress

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions