commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sesuncedu <...@git.apache.org>
Subject [GitHub] commons-compress pull request #31: COMPRESS-400 It should be possible for us...
Date Mon, 12 Jun 2017 18:28:09 GMT
GitHub user sesuncedu opened a pull request:

    https://github.com/apache/commons-compress/pull/31

    COMPRESS-400 It should be possible for users to create and access extra PAX headers to
tar archives

    Add extra header map to tar archive entry.
    Move PAX header processing code from TarArchiveInputStream to TarAchiveEntry.
    Use same code for processing user supplied extra headers - thus setting "size "changes
the value of getSize().
    Add any extra PAX headers to output map when putting entry in TarArchiveOutputStream.
    Add simple tests for getting/setting xattr, setting "size", and round tripping.
    
    Signed-off-by: Simon Spero <sesuncedu@gmail.com>
    
    (cherry picked from commit 1d9b3c8)
    Signed-off-by: Simon Spero <sesuncedu@gmail.com>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sesuncedu/commons-compress COMPRESS-400-REDUX

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-compress/pull/31.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #31
    
----
commit 3a1d29e2474519c3930742cf3000b6323bb426a8
Author: Simon Spero <sesuncedu@gmail.com>
Date:   2017-06-05T19:58:27Z

    COMPRESS-400 It should be possible for users to create and access extra PAX headers to
tar archives
    
    Add extra header map to tar archive entry.
    Move PAX header processing code from TarArchiveInputStream to TarAchiveEntry.
    Use same code for processing user supplied extra headers - thus setting "size "changes
the value of getSize().
    Add any extra PAX headers to output map when putting entry in TarArchiveOutputStream.
    Add simple tests for getting/setting xattr, setting "size", and round tripping.
    
    Signed-off-by: Simon Spero <sesuncedu@gmail.com>
    
    (cherry picked from commit 1d9b3c8)
    Signed-off-by: Simon Spero <sesuncedu@gmail.com>

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message