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

Feature/seext 9440 retry downloading extensions if download fails during shoutem clone #109

Conversation

Definitely-Not-Vlad
Copy link
Contributor

This PR would implement a simple loop that tries to download an exension up to 5 times before reporting an error.

This should improve the consistency of downloading extensions on less stable network connections.

Can be tried with npm i -g shoutem/cli#76300a1, or whatever the latest commit's short-hash.

}
}

if (!_.isEmpty(pullError)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please import lodash.
lodash

majaklajic
majaklajic previously approved these changes Mar 5, 2021
sstimac
sstimac previously approved these changes Mar 5, 2021
Copy link
Contributor

@sstimac sstimac left a comment

Choose a reason for hiding this comment

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

LGTM

@Definitely-Not-Vlad Definitely-Not-Vlad merged commit 3ebc801 into develop Mar 8, 2021
@Definitely-Not-Vlad Definitely-Not-Vlad deleted the feature/SEEXT-9440-Retry_downloading_extensions_if_download_fails_during_shoutem_clone branch March 8, 2021 10:12
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