[BUG] Git files (network) not found when run from a non-git folder. #624
Labels
Area: Report Upload
Issues with pre-ingest report uploading
bug
Something isn't working
Eng Area: CLI: General
high
High Priority Issues (to be fixed within 2 sprints)
Describe the bug
I tried uploading a coverage file from GitHub Actions and noticed that the path fixup didn't work anymore.
I traced that to this issue:
GitVersioningSystem.is_available
only returns True if the current directory is a git repositorySo even if
--network-root-folder
was specified and set to a git repository it will not be detected becauseGitVersioningSystem
is not used as it fails if the current folder is not a git repo and hencegit rev-parse --show-toplevel
fails to early.To Reproduce
Steps to reproduce the behavior:
--network-root-folder
set correctlyThe text was updated successfully, but these errors were encountered: