You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Glavo (via GitHub)" <gi...@apache.org> on 2023/03/18 19:36:06 UTC

[GitHub] [commons-compress] Glavo commented on pull request #357: Removed dependency on the java.desktop module

Glavo commented on PR #357:
URL: https://github.com/apache/commons-compress/pull/357#issuecomment-1474967665

   > We could break up this component into a multi maven module maven project, one per compression/archive type.
   
   @garydgregory I'm very interested in the proposal of Commons Compress 2. There are some historical legacies in Commons Compress, and we can make it more modern through Commons Compress 2.
   
   I created a fork for Commons Compress: https://github.com/Glavo/kala-compress
   
   In this fork, I made some modifications to make it more modern (there is a more detailed description in the README of this fork):
   
   * Modular support, splitting all compressors and archives into separate JPMS modules;
   * Better NIO2 support, migrating all existing `java.io.File` based APIs to `java.nio.file.Path` to fully support non default file systems;
   * Use `java.nio.charset.Charset` everywhere instead of using strings to represent encoding. `ZipEncoding` and `CharsetNames` have also been deleted;
   * UTF-8 is used as the default encoding in most places.
   
   There are also some minor changes that can be viewed in README for more details.
   
   In addition, I think there are some things worth considering:
   
   * I think the naming of `XxxFile` (such as `ZipFile`) is not appropriate enough. I changed them all to `XxxReader` in fork because I think `XxxFile` should have more functions, such as adding or deleting entries;
   * Provide `FileSystem` implementation for each archive format.
   
   I will continue to experiment on this fork, which may help with the future of Commons Compress 2.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org