vscode-dvc icon indicating copy to clipboard operation
vscode-dvc copied to clipboard

Support `exp init` command

Open daavoo opened this issue 3 years ago • 4 comments

It would be nice to support https://dvc.org/doc/command-reference/exp/init as part of the extension commands.

The command is useful for bootstrapping projects and only requires git init and dvc init which, as far as I have tested, are also the minimum requirements for the extension to load correctly.

Perhaps it could be added as an optional step of the Setup the Workspace workflow

daavoo avatar Jun 23 '22 10:06 daavoo

We do have this button available when the CLI is accessible but there is no DVC project in the workspace:

image

Which was inspired by the Source Control welcome view:

image

The button currently runs dvc init. Would moving this to dvc exp init be enough? Should we show both options? WDYT?

mattseddon avatar Jun 28 '22 00:06 mattseddon

I think this a bigger story and can be one the main priorities for Q3. How do we improve the onboarding experience? It can be a wizard (quick pick or a separate webview even), can be some auto capturing of command people run to generate dvc.yaml, improving remotes handling / data codification part, etc.

shcheklein avatar Jun 28 '22 00:06 shcheklein

Relates to #1531

mattseddon avatar Jun 28 '22 01:06 mattseddon

The button currently runs dvc init. Would moving this to dvc exp init be enough? Should we show both options? WDYT?

dvc exp init requires dvc init so it cannot replace it nor be shown as an alternative step. I think it might make sense to show exp init as an optional additional step of the Initialize Project workflow

daavoo avatar Jun 28 '22 10:06 daavoo

Closing this in favor of the future changes to the dvclive and onboarding experience.

shcheklein avatar Oct 04 '22 23:10 shcheklein