Giter VIP home page Giter VIP logo

Comments (6)

splitbrain avatar splitbrain commented on June 3, 2024

Interesting. Would be good to have some pointer to the documentation on what the difference between L and x is. There might be additional stuff that needs to be done for x types.

Please open a pull request and include a test case.

from php-archive.

ovidiul avatar ovidiul commented on June 3, 2024

The PAX header is defined here https://www.gnu.org/software/tar/manual/html_node/Standard.html XHDTYPE

I did find a Python implementation for the tar utility here https://svn.python.org/projects/python/tags/r31/Lib/tarfile.py , check the

def create_pax_header(self, info):

method, basically it checks if the filename contains non-ASCII characters and if it does, it will create a PAX header with. I will look more into it as well

from php-archive.

ovidiul avatar ovidiul commented on June 3, 2024

Pull request is here #19

from php-archive.

ovidiul avatar ovidiul commented on June 3, 2024

I did find some more details here explaining the pax extended headers https://www.ibm.com/support/knowledgecenter/SSLTBW_1.13.0/com.ibm.zos.r13.bpxa500/pxarchfm.htm#paxex

from php-archive.

milux avatar milux commented on June 3, 2024

If I may add 2 cents to this discussion: It seems that there may be also g blocks that contain globally applicable pax data... 😬
The posted IBM link is dead, besides, here is a working one: https://www.ibm.com/docs/en/zos/2.4.0?topic=SSLTBW_2.4.0/com.ibm.zos.v2r4.bpxa500/paxhead.htm#paxhead

from php-archive.

milux avatar milux commented on June 3, 2024

We would have a real-world need for pax support, besides:
dennis-eisen/CT_AutoUpdater#8
However, I totally understand how limited resources are in FOSS projects like this one here, and I don't have the time resources to do it myself, unfortunately. :(

from php-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.