{"action":"opened","issue":{"url":"https://api.github.com/repos/cljsjs/boot-cljsjs/issues/44","repository_url":"https://api.github.com/repos/cljsjs/boot-cljsjs","labels_url":"https://api.github.com/repos/cljsjs/boot-cljsjs/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/cljsjs/boot-cljsjs/issues/44/comments","events_url":"https://api.github.com/repos/cljsjs/boot-cljsjs/issues/44/events","html_url":"https://github.com/cljsjs/boot-cljsjs/issues/44","id":204473099,"number":44,"title":"Mark is not supported","user":{"login":"arichiardi","id":1724788,"avatar_url":"https://avatars.githubusercontent.com/u/1724788?v=3","gravatar_id":"","url":"https://api.github.com/users/arichiardi","html_url":"https://github.com/arichiardi","followers_url":"https://api.github.com/users/arichiardi/followers","following_url":"https://api.github.com/users/arichiardi/following{/other_user}","gists_url":"https://api.github.com/users/arichiardi/gists{/gist_id}","starred_url":"https://api.github.com/users/arichiardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arichiardi/subscriptions","organizations_url":"https://api.github.com/users/arichiardi/orgs","repos_url":"https://api.github.com/users/arichiardi/repos","events_url":"https://api.github.com/users/arichiardi/events{/privacy}","received_events_url":"https://api.github.com/users/arichiardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-01T01:17:47Z","updated_at":"2017-02-01T01:17:47Z","closed_at":null,"body":"I am trying to decompress a `.gz` file using the provided tasks.\r\n\r\nUnfotunately, it blows:\r\n\r\n```\r\n...\r\n                                             cljsjs.impl.decompress/decompress-file               decompress.clj:   26\r\n                                             cljsjs.impl.decompress/decompress-file               decompress.clj:   29\r\n                                                                                ...                                   \r\n                                            cljsjs.impl.decompress/unpackage-stream               decompress.clj:   20\r\n                                            cljsjs.impl.decompress/unpackage-stream               decompress.clj:   24\r\n                                                                                ...                                   \r\norg.apache.commons.compress.archivers.ArchiveStreamFactory.createArchiveInputStream    ArchiveStreamFactory.java:  290\r\njava.lang.IllegalArgumentException: Mark is not supported.\r\n        clojure.lang.ExceptionInfo: Mark is not supported.\r\n```\r\n\r\nDebugging it, basically the problem is that [this guy](https://github.com/cljsjs/boot-cljsjs/blob/master/src/cljsjs/impl/decompress.clj#L12) creates a `org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream` which does not support marking, which is weird.\r\n\r\nThe `ArchiveStreamFactory` has the requirement, see [here](https://apache.googlesource.com/commons-compress/+/zip64/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java#194).\r\n\r\nThoughts?"}}
{"actor":{"display_login":"arichiardi"}}