-
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
Have 'dvc list' use 'config.local' when pointed to local git repo #4572
Comments
@chetnieter thanks for the issue! A few questions/suggestions:
Just to clarify - do you mean that it should be aware about the (e.g. if have a repo A with
I like this idea, also we discussed that we should be treating the current repo The question here is- we are changing semantics a bit here. If we don't clone then it might rely on staged/uncommitted changes in the workspace (or we decide that we don't want to do that). What would be the best in this case?
Now, the workaround that might work for you. You could put certain settings into |
Yes. I was primary thinking of the case where you run
I think I like this idea. Perhaps this is the only case where it uses
That is a good question and I don't have a strong opinion one way or the other. Perhaps if
Thank You! This helps out a lot. Out of curosity, where on MacOS is the global configuration written. I see that on Linux it is put in |
does it mean that the only case when you run
probably we should updated this doc https://dvc.org/doc/command-reference/config to include locations on different system (we had a similar question about Windows at some point) cc @jorgeorpinel I think it is |
This comment has been minimized.
This comment has been minimized.
@shcheklein please see #1786 about this. Thanks |
Closing as a duplicate of #4604, since 4604 is the one being tracked in our sprints |
I have been exploring the use of DVC to manage remote Data Registries. Currently I am using
ssh
to manage the remote caches. Some of the users have different usernames on their local systems from their usernames on the system hosting the remote cache, so they are specifying the username for the remote in theconfig.local
. On challenge we are facing is that it appears thatdvc list
not make use of of theconfig.local
file when it is pointed to an offline git repo on disk. I assume this is due todvc list
making a temporary clone of the git repo even if it is on the local disk. Is there a way to makedvc list
be aware of local settings contained in theconfig.local
by either copying to the temporary cloned repo or working directly off a the local git repo rather cloning it.The text was updated successfully, but these errors were encountered: