-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
PlatformEngines: use Tar.jl for tarball operations #2147
Conversation
ba668b5
to
7f415f1
Compare
Hard to tell if the AppVeyor failures are because I broke something or just network flakiness. |
I don't believe that the AppVeyor CI failure is caused by this change, I think it's caused by JuliaLang/julia#38070. |
7f415f1
to
e637787
Compare
e637787
to
ff01286
Compare
What was the Windows problem in the end? |
@@ -888,19 +365,10 @@ end | |||
Compress `src_dir` into a tarball located at `tarball_path`. | |||
""" | |||
function package(src_dir::AbstractString, tarball_path::AbstractString) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also test only, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, I thought the Artifacts code used it too, but I could be wrong.
This broke system 7z build! |
The latest installment in my quest to make the name "PlatformEngines" increasingly nonsensical. As a practical matter,
Tar.jl
sets permissions correctly when extracting tarballs, which7z
does not, so this fixes an actual bug. This PR doesn't implement it butTar.tree_hash
will also allow us to reliably verify tree hashes before extracting tarballs, so we can actually protect against incorrect tarball content, even on broken file systems.