Skip to content

Conversation

@sarthakforwet
Copy link
Contributor

The reason for updating the status message is that .dvc files are not stages and hence we can just remove the prefix "Stage" from the output whenever a .dvc file would be detected.

References #4233

Copy link
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Please check our contributing guide https://dvc.org/doc/user-guide/contributing/core (it was in the PR header that you've removed). You need to install pre-commit hooks and run those.

def reproduce(self, interactive=False, **kwargs):
if not (kwargs.get("force", False) or self.changed()):
logger.info("Stage '%s' didn't change, skipping", self.addressing)
if '.dvc' in self.adressing:
Copy link
Contributor

Choose a reason for hiding this comment

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

As I've mentioned in #4233 (comment) , using .dvc suffix is not the best approach:

Suggested change
if '.dvc' in self.adressing:
if not isinstance(stage, PipelineStage) and stage.is_data_source:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants