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

Handle corrupt git clones #821

Merged
merged 1 commit into from
May 28, 2024
Merged

Handle corrupt git clones #821

merged 1 commit into from
May 28, 2024

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented May 27, 2024

When cloning the git repo:

  1. Try to clone
  2. If there's already a build directory reset it
  3. Check the clone is valid

If anything goes wrong during that process:

  1. Delete the clone directory
  2. Clone it again
  3. Check the clone is valid

Raise any errors after that

When cloning the git repo:
1. Try to clone
2. If there's already a build directory reset it
3. Check the clone is valid

If anything goes wrong during that process:
1. Delete the clone directory
2. Clone it again
3. Check the clone is valid

Raise any errors after that
@djmb djmb merged commit 90ecb6a into main May 28, 2024
8 checks passed
@djmb djmb deleted the retry-clone branch May 28, 2024 14:23
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.

None yet

1 participant