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

Handle existing files while downloading ourselves. #56

Closed
wants to merge 1 commit into from

Conversation

maleadt
Copy link

@maleadt maleadt commented Oct 19, 2020

Seems more robust than relying on Downloads.jl not to redownload, and helps in the case that we can't even HEAD the URL (as, e.g., with NVIDIA's secure server; I just SCP the archives to the download server manually for those JLLs).

@maleadt
Copy link
Author

maleadt commented Oct 19, 2020

CI failures unrelated, and happen locally on master too (i.e, without these changes).

@giordano
Copy link
Member

Yeah #54 (comment)

@giordano
Copy link
Member

I think this is done by #59. Here you are deleting the file, but I don't think it's really necessary and we can just happily overwrite it?

@maleadt
Copy link
Author

maleadt commented Oct 20, 2020

#59...

@maleadt maleadt closed this Oct 20, 2020
@maleadt maleadt deleted the tb/redownload branch October 20, 2020 16:48
@giordano
Copy link
Member

It turns out curl doesn't overwrite existing files, so we need to explicitly delete them

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.

None yet

2 participants