-
Notifications
You must be signed in to change notification settings - Fork 6
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
git tree SHA mismatch #1
Comments
Hmm, so it did not update the tree hash at all? Or did it calculate a wrong tree hash? Might be related to JuliaPackaging/BinaryBuilder.jl#527 or JuliaMath/SpecialFunctions.jl#193. What OS and Julia version are you running locally? Could you maybe rerun CI with |
Windows 10, Julia 1.5.2 The error did stop after step 9 (JuliaActuary/MortalityTables.jl@a2f48d7) above where I manually replaced the sha1 in the I did also add |
Could you try this: JuliaPackaging/BinaryBuilder.jl#527 (comment) |
|
Ok, I think it's not unlikely that 7zip extracts the tarball slightly differently than GNU tar, resulting in a different tree hash. Could you perhaps try this on 1.6? I think that should always use Tar.jl instead. |
I think we compute incorrect hashes on Windows. cc @staticfloat |
The right way to do this is to create tarballs first (using Tar.jl) and then compute the hash of the tarball with |
This is a bug in old Julia versions, which we've fixed the underlying issue with, but |
@alecloudenback Would you be able to check whether this is fixed on Julia nightly? I unfortunately don't have a Windows machine to test this. |
@simeonschaub I've never built nightly. I still have this issue in my notification log and was going to try once a test release of 1.6 came out. |
No need to build if you can't, just download the binary from https://julialang.org/downloads/nightlies/ |
TIL that there's prebuilt nightlies! Anyway, I just tested this on the same machine as original issue and I get the correct SHA: Can close the issue? |
Awesome, thank you very much for checking! Yes, this can be closed then. |
Thank you for the package - one thing that I encountered and maybe it's the way its supposed to work? But felt like it might be an issue.
tl;dr: replaced original artifact with new one and got sha1 mismatch
What I did:
SOA_Tables.tar.gz
add_artifact!
to create theArtifacts.toml
fileSOA_Tables_20201022.tar.gz
Artifacts.toml
add_artifact!
pointing to the updated URLThe text was updated successfully, but these errors were encountered: