Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Conversation

StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Dec 19, 2017

Note: This pull request targets enhancements/async-git-setup-rollup #561

  • Created DownloadTask
    • A task that downloads a file with functionality to support resume
    • If specified the task will also verify the MD5 of a file
    • If specified the task will perform retries if there was an issue with the download
  • Created DownloadTestTask
    • A task that downloads text from a url

@StanleyGoldman StanleyGoldman changed the base branch from master to enhancements/download-manager-rollup December 19, 2017 16:08
@StanleyGoldman StanleyGoldman force-pushed the enhancements/download-functionality branch from e477a8c to 7c10c35 Compare December 19, 2017 16:12
@StanleyGoldman StanleyGoldman changed the base branch from enhancements/download-manager-rollup to master December 19, 2017 17:02
@StanleyGoldman StanleyGoldman changed the base branch from master to enhancements/download-manager-rollup December 19, 2017 17:02
@StanleyGoldman StanleyGoldman force-pushed the enhancements/download-functionality branch from 78841dc to 3b3debf Compare December 19, 2017 20:34
@StanleyGoldman StanleyGoldman changed the title Download Manager Download Functionality Dec 20, 2017
@StanleyGoldman StanleyGoldman changed the base branch from enhancements/download-manager-rollup to enhancements/async-git-setup-rollup December 29, 2017 19:36
@StanleyGoldman StanleyGoldman force-pushed the enhancements/download-functionality branch from c6f94f7 to 7c94cd0 Compare December 29, 2017 20:40
@StanleyGoldman StanleyGoldman force-pushed the enhancements/download-functionality branch from 9768ed8 to 7ea50e5 Compare January 4, 2018 13:02
@StanleyGoldman StanleyGoldman requested review from shana, drguthals, grokys and jcansdale and removed request for shana January 4, 2018 13:04
Copy link

@drguthals drguthals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I asked one question, but it is not blocking.

if (bytesRead > 0)
{
destination.Write(buffer, 0, bytesRead);
if (trackProgress)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This if-statement is just figuring out how long it took to download, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That code is attempting to figure out the progress of the download in real time.
But my tests of the progress reporting has shown me it's less accurate that one would like.
I'm not using it now, but I will record an issue to address it because I would like to use it soon.

@StanleyGoldman StanleyGoldman merged commit e4284b4 into enhancements/async-git-setup-rollup Jan 4, 2018
@StanleyGoldman StanleyGoldman deleted the enhancements/download-functionality branch January 4, 2018 17:29
@StanleyGoldman StanleyGoldman mentioned this pull request Jan 10, 2018
7 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants