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

lock: mention that dvc update is now also setting locked: True #478

Closed
efiop opened this issue Jul 5, 2019 · 6 comments · Fixed by #490
Closed

lock: mention that dvc update is now also setting locked: True #478

efiop opened this issue Jul 5, 2019 · 6 comments · Fixed by #490
Assignees
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 Jul 5, 2019

iterative/dvc#2238

@efiop efiop added type: enhancement Something is not clear, small updates, improvement suggestions A: docs Area: user documentation (gatsby-theme-iterative) labels Jul 5, 2019
@jorgeorpinel

This comment has been minimized.

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Jul 11, 2019

More details (per #464 (review)) update dvc import-get cmd ref around phrase "A pipeline can be triggered to re-execute based on..." Explanation:

"...by default all external dependencies import stages (from external data sources) are going to be locked (lock: true and -rev-lock: <git-commit-hash> in the DVC-file). It means when you run dvc repro or dvc status they are not going to check the changes automatically. You will need to explicitly call dvc update to fetch the new data, update the -rev-lock field."

@jorgeorpinel

This comment has been minimized.

@jorgeorpinel

This comment has been minimized.

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Jul 25, 2019

Another note here, from Discord:

dvc unlock "won't cause problems. If you dvc unlock imported stage then it will simply be updated by dvc repro next time. and it will check dependency on dvc status and stuff.

for a locked stage, dvc update does dvc unlock + dvc repro + dvc lock basically".

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Jul 25, 2019

Note that jorgeorpinel/dvc.org@57598c3...a06714a should close this issue, as part of PR #490.

@jorgeorpinel jorgeorpinel changed the title lock: mention that dvc update is now also setting locked: True lock: mention that dvc update is now also setting locked: True Jul 28, 2019
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.

2 participants