aplteam / Tatin

Tatin is a package manager for Dyalog APL
MIT License
25 stars 5 forks source link

Consider switching from ZIP to TAR #192

Open aplteam opened 1 month ago

aplteam commented 1 month ago

ZIP has significant flaws when it comes to platform compatibility.

It might be better to use the TAR format for Tatin packages.

aplteam commented 2 weeks ago

ZIP has a problem with non-ANSI characters in filenames: if a ZIP with such characters is created on one platform, it creates problems on different platforms. This came to light with a file named ⎕IO.apla.

These days, Tar is available on all platforms Tatin is expected to run on. Tar supports Unicode characters in filenames. Therefore, the obvious choice is to switch from ZIP to TAR, and that's what we are going to do.

Version 0.110.0 of Tatin (next but one) will use Tar to create packages. ZIPs will be held on the server for the time being (together with TARs), but will be marked as deprecated and only delivered when a request is made by a Tatin client that is not ready for TARs.

That's the plan anyway.