I'm working with this repository to import a data file (there are currently two tags at different commits, which you can see in "releases")
when i do
$ dvc import --rev v.20.0 https://github.com/iterative/aita_dataset aita_clean.csv
I am able to download the first tagged version of the dataset. Then when I want to update the data file to its most recent version, I run
$ dvc update aita_clean.csv.dvc
And nothing happens (the file size is unchanged, think checksum is the same).
If, however, I go into aita_clean.csv.dvc and remove the line rev:v20.0 in the info below:
locked: true
deps:
- path: aita_clean.csv
repo:
url: https://github.com/iterative/aita_dataset
rev: v.20.0
rev_lock: c09235672eb7720f09e1cc4cc055f5c4f3f5286d
outs:
- md5: 0e5d7dbfc480cf7dcfaf5e341c3dde05
path: aita_clean.csv
cache: true
metric: false
persist: false
I am then able to successfully run dvc update and get the latest version of the file.
It seems that, as long as I used dvc import to get an older file version, dvc update considers it to be current? Is that by design?
I'm working with this repository to import a data file (there are currently two tags at different commits, which you can see in "releases")
when i do
$ dvc import --rev v.20.0 https://github.com/iterative/aita_dataset aita_clean.csvI am able to download the first tagged version of the dataset. Then when I want to update the data file to its most recent version, I run
$ dvc update aita_clean.csv.dvcAnd nothing happens (the file size is unchanged, think checksum is the same).
If, however, I go into
aita_clean.csv.dvcand remove the linerev:v20.0in the info below:I am then able to successfully run
dvc updateand get the latest version of the file.It seems that, as long as I used
dvc importto get an older file version,dvc updateconsiders it to be current? Is that by design?