Skip to content

Commit

Permalink
Fix issue with cloning CLIP repository
Browse files Browse the repository at this point in the history
Related to #9774

Add network connectivity check and retry mechanism for `git_clone` function.

* **launch.py**
  - Add a check for network connectivity before attempting to clone the repository.
  - Print a message and exit if the network connectivity check fails.

* **modules/launch_utils.py**
  - Update the `git_clone` function to include a retry mechanism with a default of 3 retries.
  - Print a message and retry the clone operation if it fails, up to the specified number of retries.
  - Clean up the directory before retrying the clone operation.
  • Loading branch information
vishwamartur committed Oct 31, 2024
1 parent 82a973c commit ecb0396
Show file tree
Hide file tree
Showing 3 changed files with 776 additions and 735 deletions.
Loading

0 comments on commit ecb0396

Please sign in to comment.