HomeSoftware Heritage

Update for swh.core 2.0.0

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Update for swh.core 2.0.0

  • Add expected entry points for swh.core 2 db handling new features:
    • add a `swh.storge.get_datastore()` function
    • add `swh.storage.postgreql.storage.Storage.get_current_version()` method
    • move sql migration scripts in `swh/storage/sql/upgrades`
    • modify sql initialization scripts to match swh.core 2 (remove dbversion management code).
  • Update tests to use the new template-based database handling; this should have only minimal impact on test execution performances.

Details

Provenance
douarddaAuthored on Feb 2 2022, 3:56 PM
douarddaPushed on Feb 24 2022, 11:14 AM
Differential Revision
D7160: Update storage for swh.core 2.0.0
Tasks
T3894: Add a 'swh db upgrade' cli
Build Status
Buildable 27111
Build 42399: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.