Skip to content
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

how to: "update your pipeline by editing DVC-files" #230

Closed
efiop opened this issue Apr 2, 2019 · 6 comments
Closed

how to: "update your pipeline by editing DVC-files" #230

efiop opened this issue Apr 2, 2019 · 6 comments
Labels
A: docs Area: user documentation (gatsby-theme-iterative) type: enhancement Something is not clear, small updates, improvement suggestions

Comments

@efiop
Copy link
Contributor

efiop commented Apr 2, 2019

See iterative/dvc#1800 (comment) .

Might be worth publishing under "Best Practices" #72 .

@efiop efiop added the A: docs Area: user documentation (gatsby-theme-iterative) label Apr 2, 2019
@shcheklein shcheklein added type: enhancement Something is not clear, small updates, improvement suggestions user-guide labels Apr 2, 2019
@dnabanita7
Copy link
Contributor

Can I take this up? I will first summarize it then write markdown for it.

@shcheklein
Copy link
Member

@naba7 sounds good. But it should be part of the User Guide section - "Updating DVC-files" - or something like this.

@dnabanita7
Copy link
Contributor

@shcheklein

How to update your pipeline by editing dvc files

1)using dvc move to edit file paths of outputs or dependencies.
2)editting by hand the outputs paths
3)dvc run to make edits in the dependency files

If your source file is a data file, then use dvc move:
dvc move
dvc move is used if a file or a directory has been added to DVC with dvc
add. the source file or directory is moved to its destination path, renamed
and corresponding DVC-file is updated.

If your source file isn't data file then use dvc run. If you use dvc add then git mv command
then your path isn't updated. So, using git mv is not an option.

dvc run is used to create a dvc pipeline. It can be shown in a connected graph.
While running dvc run and executing commands with [-f,-o,-O,-m,-M] you can edit your files
and directories by hand. dvc run connects each individual staged commands to a graph.

is this okay? or any edits

@ryokugyu

This comment has been minimized.

@dnabanita7

This comment has been minimized.

@dashohoxha dashohoxha mentioned this issue Oct 25, 2019
10 tasks
@jorgeorpinel jorgeorpinel changed the title docs: create "How to update your pipeline by editing dvc files" guide how to: "update your pipeline by editing DVC-files" Jan 20, 2020
@jorgeorpinel
Copy link
Contributor

Closing in favor of #72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) type: enhancement Something is not clear, small updates, improvement suggestions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants