bodewig commented on pull request #113:
URL: https://github.com/apache/commons-compress/pull/113#issuecomment-662513731


   Unfortunately I've been unable to do a real review so far. $life is just 
setting different priorities right now. A few more or less unsorted thoughts:
   
   * I really wish Compress had abstractions that weren't so tightly bound to 
Java Streams, but we'll likely never find the energy and time to revamp it
   * I understand you want to get feedback on whether something like `TarFile` 
would be accepted rater than the concrete implementation. IMHO this would be a 
nice addition even though I don't expect many people to require random access 
to a raw tar archive. Most people likely deal with tar archives that have been 
compressed and so you'd need to decompress it to a temporary file (or memory) 
for random access.
   * we already have a bunch of things copied from commons-io and our very own 
BoundedInputStream may even predate the one of commons-io. I wouldn't want to 
add a new dependency to 1.x unless the reason was better than avoiding 
dupkiicating a few lines of code.
   * have you considered making `TarArchiveEntry` implement `EntryStreamOffsets 
`?
   * I'd be in favour of moving stream implementations to the utils package, in 
particular if you copy code from the zip package
   * nitpicking: the methods you've moved to `TarUtils` probably don't need to 
be public.


----------------------------------------------------------------
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:
[email protected]


Reply via email to