Skip to content

dvc update should consider "cache: false" setting of output in imported .dvc #10506

Open
@aschuh-hf

Description

@aschuh-hf

On suggestion by @shcheklein, I added cache: false to the output in the .dvc file created by dvc import to be able to track the imported file with Git instead of DVC. However, dvc update still adds the output to .gitignore. Also, when I use git add -f to track the file despite it being ignored, then dvc update will complain that the output is already tracked by the SCM.

Should dvc update take into account the cache: false flag of the output in the input .dvc file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: data-syncRelated to dvc get/fetch/import/pull/pushbugDid we break something?

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions