You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/03/17 18:33:00 UTC

[jira] [Commented] (COMPRESS-616) oldgnu tar compression support

    [ https://issues.apache.org/jira/browse/COMPRESS-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701937#comment-17701937 ] 

Gary D. Gregory commented on COMPRESS-616:
------------------------------------------

[~axel.fontaine] 

It looks to me like the high-level APIs ({*}ArchiveStreamFactory{*}, {*}TarArchiveOutputStream{*}) let you read POSIX tar and oldgnu but it does not allow you to pick which format to {_}write{_}, you just get POSIX. BUT, if you use the lower level-APIs like {*}TarArchiveEntry(String, byte){*}, then you can specify the format; quite tricky to get right I think.

Feel free to provide a PR on GitHub to make your use case better ;)

> oldgnu tar compression support
> ------------------------------
>
>                 Key: COMPRESS-616
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-616
>             Project: Commons Compress
>          Issue Type: New Feature
>            Reporter: Axel Fontaine
>            Priority: Major
>
> Google Compute Engine requires image files to be uploaded in the oldgnu tar format (see
>  
> https://cloud.google.com/compute/docs/import/import-existing-image#create_image_file
> )
>  
> It would be great if commons-compress could support this format for tar creation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)