HomeSoftware Heritage

Only use the previous (base) snapshot as reference for incremental loads

Description

Only use the previous (base) snapshot as reference for incremental loads

The old behavior would find any object with a matching sha1_git from the archive
to use as a reference point in the generated snapshot. While there's no known
sha1_git collisions in the wild, this behavior is inconsistent with other
loaders.

This removes the only reason to keep the object_find_by_sha1_git api in storage.

Details

Provenance
olasdAuthored on May 27 2020, 2:58 PM
olasdPushed on May 27 2020, 5:50 PM
Differential Revision
D3181: Only use the previous (base) snapshot as reference for incremental loads
Parents
rDLDGb96849a6a262: setup.py: add documentation link
Branches
Unknown
Tags
Unknown
Build Status
Buildable 12513
Build 19004: test-and-buildJenkins console · Jenkins