You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bear Giles (JIRA)" <ji...@apache.org> on 2011/06/27 01:09:47 UTC
[jira] [Created] (COMPRESS-136) Create common POSIXArchiveEntry for
use with tar/cpio/dump
Create common POSIXArchiveEntry for use with tar/cpio/dump
----------------------------------------------------------
Key: COMPRESS-136
URL: https://issues.apache.org/jira/browse/COMPRESS-136
Project: Commons Compress
Issue Type: Improvement
Components: Archivers
Reporter: Bear Giles
Priority: Minor
There's currently a top-level ArchiveEntry but many archivers are for POSIX (or POSIX-like) filesystems with standard attributes - ownership, permissions, access times, etc. By creating a common ArchiveEntry class for these attributes it will be much easier to write archive-agnostic extraction software. (Many of the existing methods should be marked 'deprecated' but left in place indefinitely.)
I have a prototype of this class in my dump patch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COMPRESS-136) Create common POSIXArchiveEntry for
use with tar/cpio/dump
Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COMPRESS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Bodewig updated COMPRESS-136:
------------------------------------
Attachment: COMPRESS-136-Owner.patch
Based upon http://markmail.org/message/ws3stifeh2yrdkdz and the discussion that follows this is a patch for the userid/groupid part.
> Create common POSIXArchiveEntry for use with tar/cpio/dump
> ----------------------------------------------------------
>
> Key: COMPRESS-136
> URL: https://issues.apache.org/jira/browse/COMPRESS-136
> Project: Commons Compress
> Issue Type: Improvement
> Components: Archivers
> Reporter: Bear Giles
> Priority: Minor
> Attachments: COMPRESS-136-Owner.patch
>
>
> There's currently a top-level ArchiveEntry but many archivers are for POSIX (or POSIX-like) filesystems with standard attributes - ownership, permissions, access times, etc. By creating a common ArchiveEntry class for these attributes it will be much easier to write archive-agnostic extraction software. (Many of the existing methods should be marked 'deprecated' but left in place indefinitely.)
> I have a prototype of this class in my dump patch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COMPRESS-136) Create common POSIXArchiveEntry
for use with tar/cpio/dump
Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COMPRESS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068390#comment-13068390 ]
Stefan Bodewig commented on COMPRESS-136:
-----------------------------------------
We had this discussion last August shortly before we released Common Compress 1.1, a starting point may be http://commons.markmail.org/message/twqhpd77vfz5hpqr
I vaguely recall Torsten and I agreed on the API but I never implemented it. I'll prepare a patch, attach it here and kick of discussion on the dev list. Please, by all means, join the dev list 8-)
> Create common POSIXArchiveEntry for use with tar/cpio/dump
> ----------------------------------------------------------
>
> Key: COMPRESS-136
> URL: https://issues.apache.org/jira/browse/COMPRESS-136
> Project: Commons Compress
> Issue Type: Improvement
> Components: Archivers
> Reporter: Bear Giles
> Priority: Minor
>
> There's currently a top-level ArchiveEntry but many archivers are for POSIX (or POSIX-like) filesystems with standard attributes - ownership, permissions, access times, etc. By creating a common ArchiveEntry class for these attributes it will be much easier to write archive-agnostic extraction software. (Many of the existing methods should be marked 'deprecated' but left in place indefinitely.)
> I have a prototype of this class in my dump patch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COMPRESS-136) Create common POSIXArchiveEntry
for use with tar/cpio/dump
Posted by "Bear Giles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COMPRESS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060813#comment-13060813 ]
Bear Giles commented on COMPRESS-136:
-------------------------------------
Implementation note: Java 7 will add two packages with similar content. See http://download.java.net/jdk7/docs/api/index.html?java/nio/file/Files.html
More info: http://java.sun.com/developer/technicalArticles/javase/nio/
Obviously the CC classes can't use J7 classes but it could useful as a model for method names and the like.
> Create common POSIXArchiveEntry for use with tar/cpio/dump
> ----------------------------------------------------------
>
> Key: COMPRESS-136
> URL: https://issues.apache.org/jira/browse/COMPRESS-136
> Project: Commons Compress
> Issue Type: Improvement
> Components: Archivers
> Reporter: Bear Giles
> Priority: Minor
>
> There's currently a top-level ArchiveEntry but many archivers are for POSIX (or POSIX-like) filesystems with standard attributes - ownership, permissions, access times, etc. By creating a common ArchiveEntry class for these attributes it will be much easier to write archive-agnostic extraction software. (Many of the existing methods should be marked 'deprecated' but left in place indefinitely.)
> I have a prototype of this class in my dump patch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COMPRESS-136) Create common POSIXArchiveEntry for
use with tar/cpio/dump
Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COMPRESS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Bodewig updated COMPRESS-136:
------------------------------------
Fix Version/s: 2.0
> Create common POSIXArchiveEntry for use with tar/cpio/dump
> ----------------------------------------------------------
>
> Key: COMPRESS-136
> URL: https://issues.apache.org/jira/browse/COMPRESS-136
> Project: Commons Compress
> Issue Type: Improvement
> Components: Archivers
> Reporter: Bear Giles
> Priority: Minor
> Fix For: 2.0
>
> Attachments: COMPRESS-136-Owner.patch
>
>
> There's currently a top-level ArchiveEntry but many archivers are for POSIX (or POSIX-like) filesystems with standard attributes - ownership, permissions, access times, etc. By creating a common ArchiveEntry class for these attributes it will be much easier to write archive-agnostic extraction software. (Many of the existing methods should be marked 'deprecated' but left in place indefinitely.)
> I have a prototype of this class in my dump patch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira