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

Should document that the tar extraction will strip 1 leading component of filenames #39

Open
Gnarus-G opened this issue Jul 17, 2023 · 0 comments

Comments

@Gnarus-G
Copy link

I apologize if this is actually documented somewhere outside of the code. I couldn't find it.

Currently, if your tarball looks like

file
dir/file

since strip is set to 1, you lose file, and most annoyingly if your whole tarball is just single file name components, you lose everything in the extraction - I just wrestled with this case myself before I learned all this about tar and the strip option.

I propose documenting this stripping as core assumption of binary-install, so people know how to pack their balls.

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

No branches or pull requests

1 participant