HomeSoftware Heritage

Fix database queries related to the origin-revision layer

Description

Fix database queries related to the origin-revision layer

This required allowing null dates in the revision table so that revision can be added
by the origin-revision layer algorithm but not recognized as already processed by the
revision-content layer. Revision and origin entries are now inserted in the database
prior to inserting rows to revision_in_origin and revision_before_revision relations,
so that internal ids are properly resolved.

Details

Provenance
aevisoAuthored on Jun 24 2021, 4:10 PM
aevisoPushed on Jul 2 2021, 5:23 PM
Differential Revision
D5943: Fix database queries related to the origin-revision layer
Parents
rDPROV0e2a3c64ce3c: Add test to compare both `ArchiveInterface` implementations
Branches
Unknown
Tags
Unknown
Build Status
Buildable 22436
Build 34955: test-and-buildJenkins console · Jenkins