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

stage: don't consider stage as cached if checksum/cmd changed #3993

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Jun 9, 2020

  • ❗ I have followed the Contributing to DVC checklist.

  • πŸ“– If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here. If the CLI API is changed, I have updated tab completion scripts.

  • ❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

@skshetry skshetry added enhancement Enhances DVC refactoring Factoring and re-factoring labels Jun 9, 2020
@skshetry skshetry requested a review from efiop June 9, 2020 12:25
@skshetry skshetry self-assigned this Jun 9, 2020
Comment on lines +496 to +500
return (
not self.changed_stage()
and self.deps_cached()
and self.outs_cached()
)
Copy link
Member Author

@skshetry skshetry Jun 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not fix/affect anything. The users of this API already checked these themselves. I am just moving it where it belongs.

@skshetry skshetry added this to Review in progress in DVC 2 - 16 June 2020 Jun 9, 2020
@skshetry skshetry merged commit 593e673 into iterative:master Jun 9, 2020
DVC 2 - 16 June 2020 automation moved this from Review in progress to Done Jun 9, 2020
@skshetry skshetry deleted the refactor-already-cached branch June 9, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhances DVC refactoring Factoring and re-factoring
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant