dvc list not showing all files tracked by DVC? #10307
-
I am confused why when I run "dvc list --dvc-only" from the command line I don't see all the files with paths/hashes in the dvc.lock file that were originally listed in my project's dvc.yaml file. Instead, I only see the files listed as outputs of each stage of the pipeline. To be clear, here is the command I am running from the root project folder where the dvc and git repos where initialized:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi, do you mean that you don't see dependencies? DVC does not cache those dependencies. It only computes their hash values for pipelines, so they are not considered tracked by DVC unless you also |
Beta Was this translation helpful? Give feedback.
Correct. A typical workflow is to
dvc add
the raw data, then create a pipeline using that raw data as a dependency of the first pipeline stage.I'm leaving some links here to docs that discuss how to setup pipelines, but please add suggestions for how you think we could clarify better.
https://dvc.org/doc/start/data-management/data-pipelines
https://dvc.org/doc/user-guide/pipelines/defining-pipelines