HomeSoftware Heritage

package.loader: Reference a snapshot on partial visit

Description

package.loader: Reference a snapshot on partial visit

Prior to this commit, partial visit would not reference a partial snapshot.
Thus further visits on the same origin would not benefit from the snapshot's
already seen artifacts. This now improve on such behavior to reference such
partial snapshot.

For the deposit's case though, we want to fail immediately when a deposit id is
unknown. This avoids creating noises in the storage.

Details

Provenance
ardumontAuthored on Mar 20 2020, 11:54 AM
ardumontPushed on Mar 23 2020, 11:34 AM
Differential Revision
D2860: package.loader: Reference a snapshot on partial visit
Parents
rDLDBASE8154981a88cf: package.loader: Extract a _load_snapshot method
Branches
Unknown
Tags
Unknown
Build Status
Buildable 11277
Build 17045: test-and-buildJenkins