-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Milestone
Description
via #64
- Increment
versionin lock.json - Prepare auto migration from
version=1lockjson.Read()returns migrated structure
- s/active profile/current profile/
- Add
volt migratecommand
$ bin/volt help migrate
Usage
volt migrate
Description
Perform migration of $VOLTPATH/lock.json, which means volt converts old version lock.json structure into the latest version. This is always done automatically when reading lock.jso
n content. For example, 'volt get <repos>' will install plugin, and migrate lock.json structure, and write it to lock.json after all. so the migrated content is written to lock.json au
tomatically.
But, for example, 'volt list' does not write to lock.json but does read, so every time when running 'volt list' shows warning about lock.json is old.
To suppress this, running this command simply reads and writes migrated structure to lock.json.
Metadata
Metadata
Assignees
Labels
No labels