packmatic icon indicating copy to clipboard operation
packmatic copied to clipboard

Packmatic 2.0

Open evadne opened this issue 1 month ago • 0 comments

Upgraded Packmatic

  • Upgraded targeted Elixir and OTP versions

  • Revised URL Source

    • Changed iBrowse/HTTPotion to Req/Finch/Mint
    • Added dedicated Buffer capability
  • Added support for Extended Attributes

    • Added UID/GID information
    • Added support for default and custom File Modes
  • Added support for Compression Methods

    • Added support for STORE method
    • Cleaned up support for DEFLATE method
  • Enhanced Zip64 Compatibility

    • Fixed offset not always emitted in Zip64 format
    • Added offset in Zip64 Extended Information extra field
  • Enhanced macOS Compatibility

    • Fixed journaling to list all files in the order they were encoded

TODO

  • Further testing of Zip64 compatibility on Windows 10, Windows 11, macOS, legacy Mac OS X, etc
  • Further testing of Permissions / file mode etc
  • Further testing on use of UID/GID and interaction with OTP’s :zip module
  • Properly support all 4 levels of DEFLATE
  • Consider auto support, aka if file is already a zip, use store; alternatively, write support article

BUG

  • :zip module does not unzip with desired uid/gid on macOS

REFERENCE — Erlang/OTP zip.erl:

%% already compressed data should be stored as is in archive, %% a simple name-match is used to check for this %% files smaller than 10 bytes are also stored, not compressed

evadne avatar Nov 05 '25 01:11 evadne