Skip to content

list: granularity not working [qa] #4202

@jorgeorpinel

Description

@jorgeorpinel

Bug Report

λ dvc list https://github.com/iterative/example-get-started data/
.gitignore
data.xml
data.xml.dvc
features
prepared

λ dvc list https://github.com/iterative/example-get-started data/data.xml.dvc
data.xml.dvc

λ dvc list https://github.com/iterative/example-get-started data/features
test.pkl
train.pkl

λ dvc list https://github.com/iterative/example-get-started data/features/test.pkl
ERROR: failed to list 'https://github.com/iterative/example-get-started' - The path 'data/features/test.pkl' does not exist in the target repository 'ExternalRepo: 'C:\Users\poj12\AppData\Local\Temp\tmpo4ck0n0advc-clone'' neither as a DVC output nor as a Git-tracked file.

Works for get and import.

  • Also, the error message could be friendlier (the part about target repository 'ExternalRepo...).

Please provide information about your setup

Output of dvc version:

$ dvc version

Additional Information (if any):

If applicable, please also provide a --verbose output of the command, eg: dvc add --verbose.

Metadata

Metadata

Assignees

Labels

bugDid we break something?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions