commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (COMPRESS-477) Support for splitted zip files
Date Tue, 05 Nov 2019 08:26:00 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-477?focusedWorklogId=338595&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-338595
]

ASF GitHub Bot logged work on COMPRESS-477:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Nov/19 08:25
            Start Date: 05/Nov/19 08:25
    Worklog Time Spent: 10m 
      Work Description: PeterAlfreadLee commented on issue #84: COMPRESS-477 Add support for
extracting splitted zip files
URL: https://github.com/apache/commons-compress/pull/84#issuecomment-549714757
 
 
   > I agree it would be better to separate it into a new PR.
   > 
   > I'm not sure if/how the creation code would overlap with the reading code so guess
it wouldn't cause any merge conflicts if you started the new one in parallel but will leave
that up to you.
   
   Sure. I will separate it into another new PR.
   For now there are only some minor merge conflicts, most of them is some file utils like
`getBaseName`, and I will solve the conflicts when this PR is merged.
   
   Please let me know if the code need to be modified when you found something. Thank you
for your review @bodewig 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 338595)
    Time Spent: 2.5h  (was: 2h 20m)

> Support for splitted zip files
> ------------------------------
>
>                 Key: COMPRESS-477
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-477
>             Project: Commons Compress
>          Issue Type: New Feature
>          Components: Archivers
>    Affects Versions: 1.18
>            Reporter: Luís Filipe Nassif
>            Priority: Major
>              Labels: zip
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> It would be very useful to support splitted zip files. I've read [https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT] and
understood that simply concatenating the segments and removing the split signature 0x08074b50
from first segment would be sufficient, but it is not that simple because compress fails with
exception below:
> {code}
> Caused by: java.util.zip.ZipException: archive's ZIP64 end of central directory locator
is corrupt.
>  at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory64(ZipFile.java:924)
~[commons-compress-1.18.jar:1.18]
>  at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:901)
~[commons-compress-1.18.jar:1.18]
>  at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:621)
~[commons-compress-1.18.jar:1.18]
>  at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:295)
~[commons-compress-1.18.jar:1.18]
>  at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:280)
~[commons-compress-1.18.jar:1.18]
>  at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:236)
~[commons-compress-1.18.jar:1.18]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message