-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying format when creating TAR #24
Comments
Hi @LebJe, I have some reservations against this idea, that I would like to put on record here. Namely, I believe that PAX format is superior to the GNU tar format, at least for the following reasons:
In light of this, in my humble opinion, it would be better if dpkg/apt/temux/nfpm/whoever would support PAX headers instead, as they are the most extensible and future-proof format option available. That said, I think that there is some value in allowing users to choose which format extensions to use when creating a new TAR archive, so I will try to do something about it. Please note, though, that this is a very non-trivial feature, so I can't provide any timeframe for its implementation. P.S. I also think that the title of the issue is a bit misleading (SWCompression in fact supports reading GNU tar format), so I took the liberty to change it. |
Thank you for deciding to implement this feature. Is there anything I can do to help?
Unfortunately, it seems that |
I don't know how you can help. The problem is that, I think, before adding new features, the TAR stuff in SWCompression warrants some rewriting or restructuring, because it looks hard to understand even for me, who wrote it in the first place. I already know what I would like to do, and it seems relatively straightforward (both rewriting and this feature), so I only need to find some time to sit down and implement it. |
For you information, I've just released a pre-release version (4.6.0-test) of a new update where among other things I've added a new function, Feel free to try this version out, and let me know if you encounter any issues, or have any other feedback. Regardless, the final version is planned to be released some time next week. |
4.6.0 has been released |
@tsolomko Thank you very much. I have tested the changes and they work perfectly! |
Hi @tsolomko,
I would like to know if it is possible to add GNU tar support to SWCompression.
I would like this feature because I am trying to build a
deb
package that will be installed byapt
.apt
is able to read the firsttar
file, but the secondtar
causesapt
to crash with this error:termux-create-package fixed the "unsupported PAX tar header type" issue by using the GNU tar format.
NFPM also uses the GNU format for building
deb
s.Jeff
The text was updated successfully, but these errors were encountered: