Skip to content

Adding file validation for download and unzip.#1751

Merged
WardenGnaw merged 5 commits into
microsoft:masterfrom
WardenGnaw:dev/waan/ValidateDownloadFiles
Mar 28, 2018
Merged

Adding file validation for download and unzip.#1751
WardenGnaw merged 5 commits into
microsoft:masterfrom
WardenGnaw:dev/waan/ValidateDownloadFiles

Conversation

@WardenGnaw

@WardenGnaw WardenGnaw commented Mar 28, 2018

Copy link
Copy Markdown
Member

Refactored the download retry code.

Added error handlers for read and write streams.

WriteStream writes to a *.tmp file and then renames. This catches the
case if VSCode dies in the middle of this process and the file is
partially written. We will continue where we left off.

Hopefully addresses issues like #1661

Refactored the download retry code.

Added error handlers for read and write streams.

WriteStream writes to a *.tmp file and then renames. This catches the
case if VSCode dies in the middle of this process and the file is
partially written. We will continue where we left off.
@sean-mcmanus

sean-mcmanus commented Mar 28, 2018

Copy link
Copy Markdown
Contributor

We found a couple more last minute bugs so we're going to re-start the 0.16.0 release. Is this okay to add to the 0.16.0 release too? Bob was saying he didn't want this change to go into the release branch yet.

@WardenGnaw

Copy link
Copy Markdown
Member Author

@sean-mcmanus Sounds good to me.

@bobbrow

bobbrow commented Mar 28, 2018

Copy link
Copy Markdown
Member

you can merge to master, but let's not merge to release for March

@WardenGnaw WardenGnaw merged commit b65a897 into microsoft:master Mar 28, 2018
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants