JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
613 stars 251 forks source link

copy hash mismatch artifacts if it already existed #3769

Closed IanButterworth closed 5 months ago

IanButterworth commented 5 months ago

@nhz2 might this be a simpler solution to your bug reported here than https://github.com/JuliaLang/Pkg.jl/pull/3768 ?

nhz2 commented 5 months ago

I don't know how to simply fix the bug while still calling create_artifact. This is failing because create_artifact creates the temporary directory before calling the do function, so dir already exists before calling download_verify_unpack.