Skip to content

added a check for the http return code + download progress report#1066

Merged
boegel merged 15 commits intoeasybuilders:developfrom
JensTimmerman:download
Nov 6, 2014
Merged

added a check for the http return code + download progress report#1066
boegel merged 15 commits intoeasybuilders:developfrom
JensTimmerman:download

Conversation

@JensTimmerman
Copy link
Copy Markdown

  • Check the http return code before starting a download, urllib.retrieve does not do this by default
  • show a download report ' X kb downloaded of XXX total kb (XX% complete) xxx kbps'

    * Check the http return code before starting a download, urllib.retrieve does not do this by default
    * show a download report ' X kb downloaded of XXX total kb (XX% complete) xxx kbps'
@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

Comment thread easybuild/tools/filetools.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

':' at the end

@JensTimmerman
Copy link
Copy Markdown
Author

rereview please.

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

Comment thread easybuild/tools/filetools.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If would change this to 4_. All 4_ are client errors and there is no point in retrying.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

@hpcugentbot
Copy link
Copy Markdown

Test FAILed.

fix log message in remove_file function
@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

@boegel
Copy link
Copy Markdown
Member

boegel commented Nov 6, 2014

Merging this in, thanks @JensTimmerman!

boegel added a commit that referenced this pull request Nov 6, 2014
added a check for the http return code + download progress report
@boegel boegel merged commit 89b2335 into easybuilders:develop Nov 6, 2014
@JensTimmerman JensTimmerman deleted the download branch February 9, 2015 10:32
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.

5 participants