-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
This request comes from a large company that has used DVC in the past but moved away mostly due to this issue.
Some companies (.e.g Google) store all of their different projects' and teams' code in a single big git repo.
In this scenario, each project has its own subdirectory in the repo, and they are expected to only make changes to that subdirectory, unless they are contributing code to another project in the organization.
Unfortunately, DVC can only create its .dvc folder in the git repo root. This is problematic for a couple of reasons:
- The data science team in question might want to work with DVC, but they are blocked from doing so, either just politically or even with automatically enforced authorizations
- DVC can break backwards compatibility, and different projects in the monorepo might use different versions of DVC
I could probably think of a couple other reasons why this might be a problem.
It seems to me that requiring the .dvc folder be in the root folder is pretty arbitrary, and giving the option to put it in other places in the tree would open the way for wider adoption.