Skip to content
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

Don't force gzip filtering in the tar test #998

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

mthx
Copy link
Contributor

@mthx mthx commented Sep 13, 2018

tar -tf will detect compressed tars correctly.

tar -tzf will seemingly blindly filter with gzip which causes single-file ZIPs to be accidentally understood as tgz files.

If we match such a tar we explode trying to untar as that call doesn't pass the option to uncompress and correctly spots that the file is not a tar.

Closes #984.

@mthx
Copy link
Contributor Author

mthx commented Sep 13, 2018

I've tried this with a local build and it fixes the example workflow on #984.

@mthx mthx changed the title Don't accept compressed tars in the tar test. Don't force gzip filtering in the tar test Sep 13, 2018
`tar -tzf` will seemingly blindly filter with gzip which causes
single-file ZIPs to be accidentally understood as tgz files.

If we match such a tar we explode trying to untar as that call doesn't
pass the option to uncompress and correctly spots that the file is not a
tar.

Closes argoproj#984.
@jessesuen jessesuen merged commit b1eed12 into argoproj:master Sep 20, 2018
@jessesuen
Copy link
Member

Thanks @mthx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants