Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XZ in SharpCompress #94

Closed
adamhathcock opened this issue Sep 21, 2015 · 12 comments
Closed

XZ in SharpCompress #94

adamhathcock opened this issue Sep 21, 2015 · 12 comments
Milestone

Comments

@adamhathcock
Copy link
Owner

Looks like there's a XZ implementation that might be primed to be included:

sambott/XZ.NET#1

@adamhathcock
Copy link
Owner Author

Don't know if @weltkante is interested

@weltkante
Copy link
Contributor

Might be interesting if we can clarify the quality of the LZMA encoders (or replace them), though I'm probably not going to spend any time on XZ before I have finished lzma/7z and issue #91. So if someone else wants to look into XZ before that, feel free to do so.

@adamhathcock
Copy link
Owner Author

Definitely finish updating LZMA encoders. Just thought integrating XZ might be easy after that as when I looked at it last it was very ZIP like as a container format.

@claunia
Copy link
Contributor

claunia commented Sep 5, 2016

It would be a good idea when it is implemented to make use of the block index XZ files can contain to allow for XZStream to be seekable.

@adamhathcock
Copy link
Owner Author

@claunia sounds good. Any chance of a contribution? :)

@adamhathcock
Copy link
Owner Author

Still want this. Need licensing changed though sambott/XZ.NET#3

@adamhathcock adamhathcock mentioned this issue May 30, 2017
@adamhathcock
Copy link
Owner Author

Started a branch here from @sambott 's code: #247

Going to do read-only as I'm doing LZip writing for LZMA

@adamhathcock adamhathcock added this to the 0.17 milestone May 31, 2017
@claunia
Copy link
Contributor

claunia commented Jun 2, 2017

@adamhathcock
Copy link
Owner Author

I'm not sure what you mean. If .lzma has a spec then sure. It looks like it's just a byte stream that's compressed with LZMA which isn't really a format.

@claunia
Copy link
Contributor

claunia commented Jun 3, 2017

@adamhathcock yes, looks like that, because it's the most simple specification ever done: https://svn.python.org/projects/external/xz-5.0.3/doc/lzma-file-format.txt

the tools to create them were deprecated by xz that can (and don't recommend) create them and extract them.

@adamhathcock
Copy link
Owner Author

I can add a stream to read it. Not sure I want to go further if it's not highly used.

@claunia
Copy link
Contributor

claunia commented Jun 3, 2017

It was used quite extensively in Linux from its inception until XZ deprecated it. From 2004 it was the default LZMA compressor for *NIX, til XZ was launched in 2008. LZIP was created to replace .lzma, but I've never seen it used in a single place, while .lzma was used for the Linux kernel source distribution and even the package managers in some Linux distributions before being replaced by XZ altogether.

So, in a nutshell, .lzma is more common than .lzip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants