lite-xl / lite-xl-plugin-manager

A lite-xl plugin manager.
Other
105 stars 16 forks source link

Update extract: .tgz and +100 char name support #73

Closed Gaspartcho closed 8 months ago

Gaspartcho commented 8 months ago

So, as mentioned in #72 , in #68 and here, it seems that the archive extraction part has some issues, and I am currently trying to fix them (mainly by forking microtar, which is no longer in the repo as a submodule, but as a regular folder).

It happens that the tar format is a huge mess and there is a lot of cases to consider (and documentation to read). Anyway, it might take some time, but I will eventually get there...

Also note that I am only touching the 'read' part of microtar, so if for some reason anybody wants one day to use this to compress files into .tar format, it will probably not work out of the box (it might, but I clearly do not guaranty it).

(Also this PR adds support for .tgz format, which is just another way to spell .tar.gz, for those wondering)