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
unarchive: add support for .tar.zst (zstd compression) #73265
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibot
added
affects_2.11
core_review
In order to be merged, this PR must follow the core review workflow.
feature
This issue/PR relates to a feature request.
files
Files category
m:unarchive
This issue/PR relates to the unarchive module.
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
new_contributor
This PR is the first contribution by a new community member.
support:community
This issue/PR relates to code supported by the Ansible community.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Jan 16, 2021
jsquyres
force-pushed
the
pr/add-zst-to-unarchive
branch
2 times, most recently
from
January 17, 2021 00:55
b124d1d
to
38c403a
Compare
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Jan 17, 2021
jsquyres
force-pushed
the
pr/add-zst-to-unarchive
branch
from
January 17, 2021 01:44
38c403a
to
a488ca9
Compare
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Jan 17, 2021
jsquyres
force-pushed
the
pr/add-zst-to-unarchive
branch
from
January 17, 2021 19:36
a488ca9
to
9177dc7
Compare
ansibot
added
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Jan 17, 2021
Shrews
removed
the
needs_triage
Needs a first human triage before being processed.
label
Jan 19, 2021
sivel
requested changes
Jan 19, 2021
ansibot
added
needs_maintainer
Ansibot is unable to identify maintainers for this PR. (Check `author` in docs or BOTMETA.yml)
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Jan 19, 2021
jsquyres
force-pushed
the
pr/add-zst-to-unarchive
branch
from
January 19, 2021 15:42
9177dc7
to
defdd1e
Compare
ansibot
added
community_review
In order to be merged, this PR must follow the community review workflow.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
community_review
In order to be merged, this PR must follow the community review workflow.
labels
Jan 19, 2021
ansibot
added
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
and removed
needs_maintainer
Ansibot is unable to identify maintainers for this PR. (Check `author` in docs or BOTMETA.yml)
labels
Jan 20, 2021
@sivel I made the requested change. Could you re-review? Thanks! |
@sivel Anything else you need for a re-review? Thanks! |
ansibot
added
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
stale_review
Updates were made after the last review and the last review is more than 7 days old.
labels
Feb 2, 2021
Ping. Can someone review? I made the requested changes a few weeks ago. Thanks! |
relrod
reviewed
Feb 10, 2021
rebuild_merge |
ansibot
added
shipit
This PR is ready to be merged by Core
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
stale_review
Updates were made after the last review and the last review is more than 7 days old.
shipit
This PR is ready to be merged by Core
labels
Feb 10, 2021
@jsquyres sorry for the delay here, thanks for the patch! |
@relrod Thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.11
feature
This issue/PR relates to a feature request.
files
Files category
m:unarchive
This issue/PR relates to the unarchive module.
module
This issue/PR relates to a module.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
new_contributor
This PR is the first contribution by a new community member.
support:community
This issue/PR relates to code supported by the Ansible community.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Add support for
.tar.zst
(zstd compression) to theunarchive
moduleThe
zstd
package for compression/decompression is readily available in many OS distributions. Its popularity is currently small, but is potentially growing due to its speed and compression ratios. Adding native support tounarchive
to create / expand.tar.zst
files is both straightforward and forward-looking to if/when.tar.zst
becomes more common.ISSUE TYPE
COMPONENT NAME
unarchive
ADDITIONAL INFORMATION
This PR simply allows
unarchive
to transparently handlefoo.tar.zst
files.Although GNU Tar does not natively support Zstd compression, this PR uses GNU Tar's
-I
CLI option to pass in thezstd
executable to use for compression / decompression. Specifically: creating / expanding.tar.zst
files requires that thezstd
executable is available at the target.