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

Tar and Gzip support in Dart #3799

Closed
nex3 opened this issue Jun 20, 2012 · 9 comments
Closed

Tar and Gzip support in Dart #3799

nex3 opened this issue Jun 20, 2012 · 9 comments
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-not-planned Closed as we don't intend to take action on the reported issue type-enhancement A request for a change that isn't a bug

Comments

@nex3
Copy link
Member

nex3 commented Jun 20, 2012

We need some way of interacting with gzipped files and tar files that's better than shelling out to the "tar" executable. Issue #3798 is one possible way of doing this.

This is currently blocking Windows support for Pub.

@iposva-google
Copy link
Contributor

As far as I can tell, everything that you need to implement this is there.


Set owner to @nex3.

@DartBot
Copy link

DartBot commented Jan 8, 2013

This comment was originally written by george.moscho...@gmail.com


Could this be used to gzip HTTP responses and WebSocket messages?

@nex3
Copy link
Member Author

nex3 commented Jan 8, 2013

Yes.

@DartBot
Copy link

DartBot commented Jan 9, 2013

This comment was originally written by kaisellgren@gmail.com


I'm working on Zlib package. I plan on publishing the code soon after I've got it in a reasonable state. I'll keep you posted.

@DartBot
Copy link

DartBot commented Jan 9, 2013

This comment was originally written by george.moscho...@gmail.com


Great!

@nex3
Copy link
Member Author

nex3 commented Jan 9, 2013

Kai, I notice you have a Zip library up on Pub already (http://pub.dartlang.org/packages/zip). Is this what you're referring to, or are you working on a separate library that supports gzip? Zip itself won't work for HTTP compression.

@DartBot
Copy link

DartBot commented Jan 9, 2013

This comment was originally written by kaisellgren@gmail.com


Zip is a container format, much like Tar. Zip does not compress itself. Instead, Zip specifies a compression algorithm to use (e.g. DEFLATE) and this algorithm compresses the data that Zip simply stores.

That said, I'm working on a Zlib package, which implements the Zlib library. I will use it for my Zip library in the future as well. They are two different things. The Zlib package can be used for HTTP compression, to implement .docx generator (which I've been prototyping), or even implement Git in Dart which I've also been planning to do :)

So, no, I'm not referring to the Zip package. My Zlib code is still private. The deflation works 95%, corrupting some random bytes. So, some work left there ;)

@lrhn
Copy link
Member

lrhn commented Aug 19, 2013

Removed Type-Defect label.
Added Type-Enhancement label.

@lrhn
Copy link
Member

lrhn commented Aug 29, 2013

I'm all for having tar and gzip support as packages (I'm all for supporting everything with packages), but apart from what we already use, we don't currently plan to add those packages ourselves.
Pub packages are welcome :)


Added NotPlanned label.

@nex3 nex3 added Type-Enhancement area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-not-planned Closed as we don't intend to take action on the reported issue labels Aug 29, 2013
@nex3 nex3 self-assigned this Aug 29, 2013
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-not-planned Closed as we don't intend to take action on the reported issue type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants