-
Notifications
You must be signed in to change notification settings - Fork 29
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
Keep track of when DVC repo is locked #261
Comments
Is there a related DVC issue for this? I.e are they investigating not locking the repo for readonly options? |
good question. Probably not exactly related to this specific issue though? We will still need a mechanism to detect and disable certain actions (and show the message). Or allow and fail gracefully. Any of those approaches is fine to me. WDYT? cc @yalozhkin |
Aslo, how does Git extension behave when repo is locked? |
I think there's no getting around needing to gracefully handle when DVC is called while locked. We'll probably even want to handle different commands in different ways: roughly, light read-only commands like I believe we could also use |
@rogermparent I think we can track this under #643, WDYT? |
Related to #230 and #231
In order to implement user-friendly UI elements that are disabled when we know that they'll fail, we'll need to keep track of when the DVC repo is locked.
I would think this is as easy as adding a vscode file watcher for the
dvc
lockfile.The text was updated successfully, but these errors were encountered: