Editing Data Pipelines using DAGsHub UI¶
Some people love the command line and can live inside of it without ever leaving. Others don't, and we want to support all of the data science community. That's why we added the ability to edit your DVC pipeline via our UI.
Currently the actions you can perform via the UI are:
- Adding / removing a stage dependency
- Adding / removing a stage output
- Support for adding an output which is a metric file
- Support for adding DVC managed or Git managed output
- Removing a DVC stage
Modifying a stage is easy with DAGsHub
Editing A Stage¶
In order to edit a stage, you must be logged in and viewing a repository you have write access to.
Then, expanding any DVC stage node will show the
Modify Stage and
Delete Stage buttons.
Expanded DVC stage node with edit buttons
Modifying A Stage¶
Modify Stage button will open up the Edit Stage Dependencies / Outputs form which is shown below.
Modify stage form
Here you can choose the file you want to add or remove, and input the commit details. For adding outputs you can also choose whether DVC or Git will manage the file versions (DVC is the default here), and wether or not the output is a metric (the default choice is that it is not a metric).
Manage this output using DVC?
Being managed by DVC means this output will be cached instead of being checked into Git.
Delete A Stage¶
Delete Stage button will open a new page where you'll be able to either cancel your action, or input commit details and commit the change.
Commit form for stage deletion