HomeSoftware Heritage

Fix bugs in ProvenanceStoragePostgreSql class

Description

Fix bugs in ProvenanceStoragePostgreSql class

location_get was decoding paths to string instead of returning bytes directly as the interface requires.
revision_get was exposing internal origins id instead of joining with the origin table to retrive their sha1s.

Details

Provenance
aevisoAuthored on Aug 13 2021, 10:35 AM
aevisoPushed on Aug 18 2021, 10:24 AM
Differential Revision
D6084: Rename PostgreSQL backend and code styling
Parents
rDPROV2086effea842: Rename PostgreSQL backend and code styling
Branches
Unknown
Tags
Unknown
Build Status
Buildable 23061
Build 35960: test-and-buildJenkins console · Jenkins