Dvc: move dvc.conf, .state, .cache to .dvc/{config, state, cache}

Created on 3 Sep 2017  路  9Comments  路  Source: iterative/dvc

Most helpful comment

@ophiry Hi! It's been a long time, but we finally released new version today :) If I recall correctly, you were using some intermediate dvc version from git repo, thus I don't think 'converter script' would be a viable option. That being said, I would be extremely happy to assist you in migrating your repos to v0.9. We stabilized repository format and from now on guarantee 100% backward compatibility.

All 9 comments

Got does it affect existing repos? Do they need to be converted manually?

@ophiry it actually does =( But this is something we better do earlier than later. I planned to introduce a "converter" script to migrate old repos to new versions to avoid carrying overhead. Would something like that suit you?

Yes

@efiop is there a list of things that need to be changed to do the repo migration?

@ophiry As of right now, you'll need to move config to .dvc/config, .state to .dvc/state and .cache to .dvc/cache. That should be it. Notice that there are other changes coming for state files format too.

I assume the links should also be recreated - don't they?

anything else?

Correct, they do need to be changed appropriately.
You will also have to rename cache files to have full sha and not short one like they used to have =(. There are even more backward-incompatible changes coming. Next release will probably the one where we will stabilize it =(.

@ophiry Hi! It's been a long time, but we finally released new version today :) If I recall correctly, you were using some intermediate dvc version from git repo, thus I don't think 'converter script' would be a viable option. That being said, I would be extremely happy to assist you in migrating your repos to v0.9. We stabilized repository format and from now on guarantee 100% backward compatibility.

Thanks! I'll try out the new version

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gregfriedland picture gregfriedland  路  3Comments

tc-ying picture tc-ying  路  3Comments

nik123 picture nik123  路  3Comments

dmpetrov picture dmpetrov  路  3Comments

TezRomacH picture TezRomacH  路  3Comments