-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config: rename config.local to config.private #3670
Comments
This is a constant discussion that I'm not sure how to get out of. Having tried to sound like Git from the beginning seems to have become a 2 edged sword. It helps with familiarity but then when you get into details things can behave very differently and there's no way around that since DVC is not Git and does very different things. Also Git is notoriously bad with consistency in its terminology so not really something we should strive to match. |
That said, it's a good analysis although I'm not sure I follow every detail (what's
I can support these kinds of suggestions when we have a Git-matching term that is causing confusion among users, is there a support case for this one? We can probably considered these on a case-by-case basis. Thanks |
I agree with @jorgeorpinel on this one. We don't need to be consistent with Git at all. |
Ok looks like people absolutely hate Git but completely agree with this issue? I made a slight update to the issue to make the problem more focused:
:D |
I don't see config using the term "repo" much. It's only mentioned twice in https://dvc.org/doc/command-reference/config I agree with the other inconsistencies. |
Ah this is not about what what DVC chooses to call this, really. The main problem is it's not exposed (see the I'd also prefer both Git and DVC renamed Perhaps the first line of this issue description is still misleading - it makes it sound like a documentation/terminology issue. It's actually intended to be a bug/feature request/missing CLI API with a side note about terminology. |
OK I get a better idea now but I still don't fully understand what you're talking about regarding the |
Hi! Some of this terminology discussion is revived in iterative/dvc.org#2064 (review) after the introduction of the |
closing for now since iterative/dvc.org#2064 fixes the main pain point. |
DVC's use of the terms
repo
,local
,global
, andsystem
doesn't quite matchpartially matches Git's use, and this can cause confusion.project
(tracked)local
global
system
local
(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--project
functionalitylocal
) in Git but tracked (project
) in DVClocal
is what DVC callsproject
local
is not what Git callslocal
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:
I'd suggest in the first instance renaming
dvc config --local
todvc 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 newfixed by iterative/dvc.org#2064--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.CC @iterative/engineering
The text was updated successfully, but these errors were encountered: