HomeSoftware Heritage

Add a 'swh db upgrade' command

Description

Add a 'swh db upgrade' command

this new command allows to handle the database migration from the
current version to the latest version advertized but the backend
datastore.

This feature is only working for "new style" swh.core.db based
datastores.

Details

Provenance
douarddaAuthored on Feb 1 2022, 3:43 PM
douarddaPushed on Feb 17 2022, 1:55 PM
Differential Revision
D7064: Add a 'swh db upgrade' command
Parents
rDCORE7e07b1f36326: Make 'swh db init' fill the dbversion table
Branches
Unknown
Tags
Unknown
Tasks
T3894: Add a 'swh db upgrade' cli
Build Status
Buildable 26962
Build 42160: test-and-buildJenkins console · Jenkins