Page MenuHomeSoftware Heritage

Refactor the ProvenanceDB classes
ClosedPublic

Authored by douardda on Fri, Feb 12, 4:32 PM.

Details

Summary
  • extract the common methods in a base class
  • rename them as ProvenanceWithPathDB and ProvenanceWithoutPathDB,
  • move everything in the swh/provenance/postgresql/ directory

Depends on D5072

Diff Detail

Repository
R222 Provenance database
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda retitled this revision from Refactor the ProvenanceDB classes to WIP Refactor the ProvenanceDB classes.Fri, Feb 12, 5:33 PM
douardda retitled this revision from WIP Refactor the ProvenanceDB classes to Refactor the ProvenanceDB classes.Tue, Feb 16, 12:14 PM
douardda added reviewers: aeviso, Reviewers.

rebase and fix db initialization in tests

This revision is now accepted and ready to land.Thu, Feb 18, 2:06 PM
This revision was automatically updated to reflect the committed changes.