Bug Report
dvc list does not ever seem to list folders or subfolders within a dvc file. If there are dvc files tracking single files, then I do see the file in dvc list, but if I am tracking an entire folder, I do not get anything. DVC would need to download all the .dir files associated with dvc files, which it does not seem to be doing during dvc list
Please provide information about your setup
Output of dvc version:
→ dvc version
DVC version: 1.0.1
Python version: 3.7.6
Platform: Linux-5.4.0-37-generic-x86_64-with-debian-bullseye-sid
Binary: False
Package: pip
Supported remotes: gs, hdfs, http, https, ssh
Cache: reflink - not supported, hardlink - supported, symlink - supported
Filesystem type (cache directory): ('ext4', '/dev/nvme0n1p7')
Repo: dvc, git
Filesystem type (workspace): ('ext4', '/dev/nvme0n1p7')
Additional Information (if any):
→ ls images/
Landsat8TOA Landsat8TOA.dvc PSScene4Band PSScene4Band.dvc Sentinel2TOA Sentinel2TOA.dvc
→ dvc list -v -R . images/Landsat8TOA
2020-06-24 15:59:25,584 DEBUG: Creating external repo .@None
2020-06-24 15:59:25,584 DEBUG: erepo: git clone . to a temporary dir
2020-06-24 15:59:25,798 ERROR: failed to list '.' - The path 'images/Landsat8TOA' does not exist in the target repository 'ExternalRepo: '/tmp/tmpiiq_y618dvc-clone'' neither as a DVC output nor as a Git-tracked file.
------------------------------------------------------------
Traceback (most recent call last):
File "/home/durand/Stuff/Anaconda/envs/sats/lib/python3.7/site-packages/dvc/command/ls/__init__.py", line 35, in run
dvc_only=self.args.dvc_only,
File "/home/durand/Stuff/Anaconda/envs/sats/lib/python3.7/site-packages/dvc/repo/ls.py", line 40, in ls
raise PathMissingError(path, repo, dvc_only=dvc_only)
dvc.exceptions.PathMissingError: The path 'images/Landsat8TOA' does not exist in the target repository 'ExternalRepo: '/tmp/tmpiiq_y618dvc-clone'' neither as a DVC output nor as a Git-tracked file.
------------------------------------------------------------
Cheers,
Durand
Bug Report
dvc listdoes not ever seem to list folders or subfolders within a dvc file. If there are dvc files tracking single files, then I do see the file indvc list, but if I am tracking an entire folder, I do not get anything. DVC would need to download all the .dir files associated with dvc files, which it does not seem to be doing duringdvc listPlease provide information about your setup
Output of
dvc version:Additional Information (if any):
Cheers,
Durand