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

feat(Downloads): Improve efficiency and functionality #79

Merged
merged 1 commit into from
Jul 31, 2021

Conversation

jhodges10
Copy link
Contributor

@jhodges10 jhodges10 commented Jun 8, 2021

DEVREL-643

Description:

  • Adds optional checksum verification for downloads
  • Adds optional replace boolean for replacing assets at download
  • Improves RAM usage for single-threaded downloads
  • Add a bypass to the multi-part download path for assets under 25 MB since it may ultimately be slower

Depends on:

Includes changes from:

Feedback requested:

  • I haven't really tested this much, we should confirm it works as expected.

@jhodges10 jhodges10 requested a review from lezoudali June 8, 2021 02:07
@jhodges10 jhodges10 added the enhancement New feature or request label Jun 10, 2021
@jhodges10 jhodges10 force-pushed the jh/new-download-improvements branch 2 times, most recently from 9be0bed to c367473 Compare July 31, 2021 07:33
Add helper functions to simplify a couple of tasks

Fix FrameioHelpers class

Fix FrameioHelpers import

Fix __init__ imports

Finish fixing helpers...

Don't do multi-part downloads on files smaller than 25 MB

Add download improvements from strombergdev

Fix extra prefix in client.assets.download()

Tweak download function

Fix missing call to _get_path() to set self.destination

Add test to Makefile

Fix download function's keyword via ** keyword args

Don't do multi-part downloads on files smaller than 25 MB
@jhodges10 jhodges10 force-pushed the jh/new-download-improvements branch from c367473 to c302ec0 Compare July 31, 2021 07:39
@jhodges10 jhodges10 merged commit de74b81 into develop Jul 31, 2021
@jhodges10 jhodges10 deleted the jh/new-download-improvements branch July 31, 2021 07:43
@jhodges10 jhodges10 mentioned this pull request Aug 3, 2021
@jhodges10 jhodges10 changed the title Download functionality improvements feat(Downloads): Improve efficiency and functionality Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants