Error getting data repo status: fatal: Not a git repository
Closed this issue · 2 comments
sosiouxme commented
In my doozer config I set:
data_path: https://github.com/openshift/ocp-build-data/
<-- with trailing slash
This causes a confusing error:
Error getting data repo status: fatal: Not a git repository (or any of the parent directories): .git
It works if I remove the trailing /
vfreex commented
This is because pygitdata uses sys.path.basename
to extract the directory name of the git repository. https://github.com/openshift/ocp-build-data/
gets an empty string.
tbielawa commented
Moved to jira. https://issues.redhat.com/browse/ART-1515