You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
confusing: writing config is by default untracked (local) in Git but tracked (project) in DVC
confusing file name convention: what Git calls local is what DVC calls project
confusing file name convention: what DVC calls local is not what Git calls local
what DVC calls local is what would be manually edited by super advanced users in Git (e.g. .git/info/exclude, .git/hooks/)
Example which would be super confusing for Git users:
$ dvc remote list --local
hello http://world
$ dvc remote list --global
$ dvc remote list --system
$ dvc remote list
hello http://world
surprise http://where/did/this/come/from
I'd suggest in the first instance renaming dvc config --local to dvc config --private or similar. Later (after people get used to this breaking change), consider re-adding --local but with a different meaning (i.e. repo) to match Git.
Alternatively we could just expose a new --preoject flag. That wouldn't solve the long term confusion problem caused by the Git dichotomy, but at least it would expose the same functionality. fixed by treeverse/dvc.org#2064
DVC's use of the terms
repo,local,global, andsystemdoesn't quite matchpartially matches Git's use, and this can cause confusion.project(tracked)localglobalsystemlocal(untracked)project(tracked)Issues:
commands (e.g.fixed by ref: add config --project flag and standardize the others dvc.org#2064dvc config;dvc remote list) don't expose an explicit--projectfunctionalitylocal) in Git but tracked (project) in DVClocalis what DVC callsprojectlocalis not what Git callslocallocalis what would be manually edited by super advanced users in Git (e.g..git/info/exclude,.git/hooks/)Example which would be super confusing for Git users:
I'd suggest in the first instance renaming
dvc config --localtodvc config --privateor similar. Later (after people get used to this breaking change), consider re-adding--localbut with a different meaning (i.e. repo) to match Git.Alternatively we could just expose a newfixed by treeverse/dvc.org#2064--preojectflag. That wouldn't solve the long term confusion problem caused by the Git dichotomy, but at least it would expose the same functionality.CC @iterative/engineering