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

Protect paket.exe from incomplete github downloads #788

Merged
merged 1 commit into from
Apr 20, 2015
Merged

Protect paket.exe from incomplete github downloads #788

merged 1 commit into from
Apr 20, 2015

Conversation

dnauck
Copy link
Contributor

@dnauck dnauck commented Apr 20, 2015

Currently the github HTTP response writes directly to the target paket.exe, but if the download fails until it completes it left a defect paket.exe. So lets download to a temporary file and only copy it to the target location if the download was successful.

This is the same behavior as the nuget download strategy.

Currently the github HTTP response writes directly to the target paket.exe, but the the download fails until it completes it left a defect paket.exe. So lets download to a temporary file and only copy it to the target location if the download was successful.

This is the same behavior as the nuget download strategy.
@forki
Copy link
Member

forki commented Apr 20, 2015

yay

forki added a commit that referenced this pull request Apr 20, 2015
Protect paket.exe from incomplete github downloads
@forki forki merged commit 2934383 into fsprojects:master Apr 20, 2015
@dnauck dnauck deleted the protect-from-incomplete-downloads branch April 20, 2015 11:19
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.

2 participants