-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add DVC commands to vscode View -> Command Palette ... #40
Comments
Hi @RandomFractals. About this issue and comment...
This DVCCommand class is something I've been thinking about a lot. I'm not sure the best way to 'trade notes' on this but if you have any thoughts about it I'd love to hear them! Same goes for classes to model dvc generally, but that's separate (sort of). Anyways, here are a few points/resources that stand out for me:
Sorry if this was messy. I guess I wanted to share techniques/parallels that are on my radar since I don't have any code yet. I want to tap into everyone else's knowledge before even trying... this is an interesting problem for me but it'd be irresponsible to take on by myself. At any rate, I really don't think this is something we can underestimate/move too quickly on. EDIT: your table is awesome! forgot to acknowledge that you started this conversation in a big way! |
@rogermparent I am going to close this one off as it is a bit of a red herring to leave it lying around. We can come back to some of the commands later but I don't see them as a priority. |
For convenience we should add DVC commands users can run from vscode Command Palette and assign shortcuts.
Think of these commands as global DVC actions for the open workspace in vscode.
The following DVC commands seem like good candidates:
dvc init
.dvc/
directory and DVC cache and config files.dvc init --subdir <dir>
dvc init
command for subdirectories to create a project with mulitple DVC managed directories. Note: addDVC: Initialize Directory
to the vscode file explorer context menu to initialize DVC directories from the file explorer tree view. See #41dvc install
git checkout
,git push
,git commit
, etc.dvc add targets <targets>
DVC: Add
context menu to the vscode file explorer for adding data files to DVC from that file tree view. See #41dvc add --glob <patern>
dvc add --recursive <dir>
dvc checkout
dvc checkout
for the open workspace in vscode.dvc checkout targets <files>
dvc checkout
for them.dvc checkout --recursive targets <directories>
dvc checkout
for them recursively.dvc commit
dvc fetch
dvc fetch targets <remoteName>
dvc gc
dvc gc --cloud --remote <remoteName>
dvc get-url <url>
dvc get <repositoryUrl> <dataPath>
dvc import-url <dataUrl>
.dvc
file for tracking that remote data changes.dvc import <repositoryUrl> <dataPath>
dvc destroy
The text was updated successfully, but these errors were encountered: