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

list: granularity not working [qa] #4202

Closed
1 task
jorgeorpinel opened this issue Jul 14, 2020 · 1 comment · Fixed by #4204
Closed
1 task

list: granularity not working [qa] #4202

jorgeorpinel opened this issue Jul 14, 2020 · 1 comment · Fixed by #4204
Assignees
Labels
bug Did we break something? p0-critical Critical issue. Needs to be fixed ASAP.

Comments

@jorgeorpinel
Copy link
Contributor

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.

@jorgeorpinel jorgeorpinel added the bug Did we break something? label Jul 14, 2020
@jorgeorpinel jorgeorpinel changed the title list: granularity not working list: granularity not working [qa] Jul 14, 2020
@efiop
Copy link
Contributor

efiop commented Jul 14, 2020

Inconsistency with dvc and git files. Will fix. Thanks for the report! 🙏

@efiop efiop self-assigned this Jul 14, 2020
@efiop efiop added the p0-critical Critical issue. Needs to be fixed ASAP. label Jul 14, 2020
efiop added a commit to efiop/dvc that referenced this issue Jul 14, 2020
efiop added a commit to efiop/dvc that referenced this issue Jul 14, 2020
efiop added a commit that referenced this issue Jul 14, 2020
* list: support tracked file path as a target

Fixes #4202

* erepo: add __str__ to improve error readablity

Related to #4202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Did we break something? p0-critical Critical issue. Needs to be fixed ASAP.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants