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 repo with invalid HEAD state #645

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

bouthilx
Copy link
Member

[Fixes #543]

Why:

If the HEAD of the repo is in an invalid state (no branch, no commit),
gitpython will crash when attempting to fetch the information required
for the EVC.

How:

First check if HEAD state is valid, if not raise warning and ignore
repo.

Why:

If the HEAD of the repo is in an invalid state (no branch, no commit),
gitpython will crash when attempting to fetch the information required
for the EVC.

How:

First check if HEAD state is valid, if not raise warning and ignore
repo.
@bouthilx bouthilx added the bug Indicates an unexpected problem or unintended behavior label Aug 27, 2021
@bouthilx bouthilx added this to the v0.1.17 milestone Aug 27, 2021
@bouthilx bouthilx added this to In progress in Release v0.1.17 via automation Aug 27, 2021
@bouthilx bouthilx merged commit 266081f into Epistimio:develop Aug 27, 2021
Release v0.1.17 automation moved this from In progress to Done Aug 27, 2021
@bouthilx bouthilx deleted the hotfix/handle_invalid_repo branch August 27, 2021 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Empty log repo crashes resolve_config
1 participant