HomeSoftware Heritage

Use the flavor in the db to choose the ProvenanceDB class to instanciate

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

Description

Use the flavor in the db to choose the ProvenanceDB class to instanciate

instead of a config option that may be inconsistent with how the
database has been created/populated.

So now, once the flavor of the provenance DB is chosen, at db creation
time, no need for specifying the "with_path" config option.

Deprecate the "with_path" config option in get_provenance(), but make
sure the given value, if any, is consistent with the database.

Modify the provenance pytest fixture to provide both versions of the
provenance DB (with and without path).

Adapt tests to make them pass for the (previously untested) provenance DB
wihout path flavor.

Details

Provenance
douarddaAuthored on Jun 15 2021, 3:03 PM
douarddaPushed on Jun 16 2021, 9:06 AM
Differential Revision
D5872: Use the flavor in the db to choose the ProvenanceDB class to instanciate
Build Status
Buildable 22048
Build 34291: test-and-buildJenkins console · Jenkins

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.