Page MenuHomeSoftware Heritage

move sql files in the python package and update tests according to D538
ClosedPublic

Authored by douardda on Oct 16 2018, 11:21 PM.

Details

Summary

Also depends on swh-storage's D540.

This refactoring also requires a small change in vault's swh-schema.sql:

create the dbversion table only if needed, otherwise this sql 
cannot be executed without error on the top of storages' db 
schema.

Related to T1265.

Test Plan

tests should pass provided that D538 and D540 are applied.

Diff Detail

Repository
rDVAU Software Heritage Vault
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.