DagsHub / fds

Fast Data Science, AKA fds, is a CLI for Data Scientists to version control data and code at once, by conveniently wrapping git and dvc
http://fastds.io
MIT License
382 stars 22 forks source link

DVC and Git services don't correctly detect the repo root directory #92

Closed guysmoilov closed 3 years ago

guysmoilov commented 3 years ago

It seems they both assume that the current working dir is where they can find the .git and .dvc dirs. We should correctly detect those paths, as it affects all our logic to e.g. automatically dvc init on behalf of the user.

Relevant resources:

  1. https://stackoverflow.com/a/957978
  2. https://dvc.org/doc/command-reference/root