-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support publication of gzip tar archives #90
Labels
Affects: Command Line
Affects the command line interface
Affects: Metadata
Affects the stack output metadata
Affects: Python API
Affects the public Python API of the project
Category: Enhancement
New feature or request
Comments
ncoghlan
added
Category: Enhancement
New feature or request
Affects: Metadata
Affects the stack output metadata
Affects: Python API
Affects the public Python API of the project
Affects: Command Line
Affects the command line interface
labels
Nov 19, 2024
CLI
Also accept |
ncoghlan
added a commit
that referenced
this issue
Nov 25, 2024
Change archive creation code to allow for runtime format selection. Preparation for #90
ncoghlan
added a commit
that referenced
this issue
Nov 25, 2024
Change archive creation code to allow for runtime format selection. Preparation for #90
ncoghlan
added a commit
that referenced
this issue
Nov 27, 2024
First pass at #90 (still needs docs updates and additional tests)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Affects: Command Line
Affects the command line interface
Affects: Metadata
Affects the stack output metadata
Affects: Python API
Affects the public Python API of the project
Category: Enhancement
New feature or request
Tar archives are currently always compiled as xz for the improved compression ratio and to avoid the reproducibility problems that arise from the creation time timestamp that's automatically included in the gzip headers.
This can be a hassle if the consuming application can't readily handle unpacking xz-compressed tar archives, so the tar compression format should be configurable when publishing layer archives.
To avoid reproducibility problems arising from python/cpython#75707, the
fileobj
parameter totarfile.open
will need to be used to pass in a gzip file with the clamped mtime set in the header.The text was updated successfully, but these errors were encountered: