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

Detect corrupted / locked git repositories with graceful recovery #315

Closed
jurgelenas opened this issue Apr 7, 2022 · 1 comment · Fixed by #324
Closed

Detect corrupted / locked git repositories with graceful recovery #315

jurgelenas opened this issue Apr 7, 2022 · 1 comment · Fixed by #324
Labels
enhancement New feature or request

Comments

@jurgelenas
Copy link
Member

In some cases git repository can get corrupted, for example due to the network issues, premature app termination.

That can result in corrupted git repository state:

  • not a git repository (or any of the parent directories): .git
  • Orphaned index.lock

We should remove corrupted git repository and start over. This can be handled FirmwareDownloader library.

@jurgelenas jurgelenas added the enhancement New feature or request label Apr 7, 2022
@jurgelenas
Copy link
Member Author

Example on how it looks in practise:

image

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 a pull request may close this issue.

1 participant