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
Branch
t1265-kill-testdata
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1667
Build 2011: arc lint + arc unit