You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2016/08/10 06:25:20 UTC

[jira] [Updated] (BIGTOP-2443) inject unzip method to ZipInputStream, accepting regex for include

     [ https://issues.apache.org/jira/browse/BIGTOP-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kengo Seki updated BIGTOP-2443:
-------------------------------
    Attachment: BIGTOP-2443.1.patch

Attaching a patch. Tested all injected methods manually.

> inject unzip method to ZipInputStream, accepting regex for include
> ------------------------------------------------------------------
>
>                 Key: BIGTOP-2443
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2443
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 0.1.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 1.2.0
>
>         Attachments: BIGTOP-2443.1.patch
>
>
> I must admit, I did a lousy job, when the unzip() method was initially injected into {{ZipInputStream}} inside of the {{JarContent}} class. Includes are matched to the jar entries using {{String.contains()}}, which is a way too explicit. 
> Let's add another one, that will accept regex and, even, a list of regex'es.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)