-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugDid we break something?Did we break something?p1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to do
Description
DVC Version
~/example-get-started$ dvc version
DVC version: 1.0.1
Python version: 3.7.1
Platform: Linux-4.15.0-88-generic-x86_64-with-debian-buster-sid
Binary: True
Package: deb
Supported remotes: azure, gdrive, gs, hdfs, http, https, s3, ssh, oss
Cache: reflink - not supported, hardlink - supported, symlink - supported
Filesystem type (cache directory): ('ext4', '/dev/mapper/host01--vg-root')
Repo: dvc, git
Filesystem type (workspace): ('ext4', '/dev/mapper/host01--vg-root')Reproduce
Run the same command:
dvc import https://github.com/iterative/dataset-registry get-started/data.xml -o data/data.xml
when data directory exists and when it does not.
In the first case we get:
Importing 'get-started/data.xml (https://github.com/iterative/dataset-registry)' -> 'data/data.xml'
To track the changes with git, run:
git add data/data.xml.dvcIn the second case:
Importing 'get-started/data.xml (https://github.com/iterative/dataset-registry)' -> 'data/data.xml'
To track the changes with git, run:
git add data.xml.dvc data/.gitignoreThere are two bugs:
- It creates
data.xml.dvcin different locations (data/data.xml.dvcvsdata.xml.dvc) - It doesn't mention
.gitignorein the first case in thegit addhint.
Metadata
Metadata
Assignees
Labels
bugDid we break something?Did we break something?p1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to do