Code Monkey home page Code Monkey logo

Comments (8)

pbzdyl avatar pbzdyl commented on July 20, 2024

It looks that it's broken by #45. When I revert it then decompressing or tgz files work correctly.

from boot-cljsjs.

Deraen avatar Deraen commented on July 20, 2024

Hmhm, looking into this. Tgz file should support marks, so it should work... hm

from boot-cljsjs.

pbzdyl avatar pbzdyl commented on July 20, 2024

I checked that TarArchiveInputStream doesn't support marks. I think commons-compress doesn't support detection if an archiver is needed or not (in case of gzip files with only one files only CompressorInputStream should be used without wrapping it into ArchiveInputStream). I guess we would need to make a best guess based on the file extension and fallback to explicit configuration (e.g. don't use archiver at all if it's not configured with :archive-format.

from boot-cljsjs.

Deraen avatar Deraen commented on July 20, 2024

Yeah perhaps .markSupported is wrong thing to check here. Removing that fixes this, I'll check some other use cases.

from boot-cljsjs.

pbzdyl avatar pbzdyl commented on July 20, 2024

Removing it fixes tar.gz case but breaks gz files with a single file inside.

from boot-cljsjs.

Deraen avatar Deraen commented on July 20, 2024

6aac3cf

Checking if stream is ArchiveInputStream fixes single gz files.

from boot-cljsjs.

Deraen avatar Deraen commented on July 20, 2024

Fix released, new firebase should be deployed in a moment.

from boot-cljsjs.

pbzdyl avatar pbzdyl commented on July 20, 2024

👍 I have tested 0.8.1 version locally and it works! Thank you!

from boot-cljsjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.