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: skip downloading files if they already exist #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pradel
Copy link
Contributor

@pradel pradel commented Jul 4, 2024

Description

During the seed process, something might go wrong when you insert things in the DB so you want to retry the process. Currently you will always redownload the required files even tho they are on your system. To speed up things we could download these files only if they don't exist. Wdyt of this approach @wileyj ?

Type of Change

  • Other

Does this introduce a breaking change?

I don't think so

Are documentation updates required?

No

@CLAassistant
Copy link

CLAassistant commented Jul 4, 2024

CLA assistant check
All committers have signed the CLA.

@wileyj
Copy link
Collaborator

wileyj commented Jul 4, 2024

rather than not download the file, i think it would be better to check the checksum of local vs remote before downloading.
edit: typed "delete" when i meant "download"

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.

3 participants