HomeSoftware Heritage

Refactor the cache handling in ProvenanceDB

Description

Refactor the cache handling in ProvenanceDB

  • use TypedDict structures to properly type the caches needed by the ProvenanceDB objects,
  • use only one (sha1, date) cache per entity, plus a set of added ids of objects (within the cache) (i.e. for revisisons, contents and directories).

Details

Provenance
douarddaAuthored on Jun 9 2021, 10:27 AM
douarddaPushed on Jun 16 2021, 9:06 AM
Differential Revision
D5829: Refactor the cache handling in ProvenanceDB
Parents
rDPROV8c536b8d502a: Remove deprecated cli create command
Branches
Unknown
Tags
Unknown
Build Status
Buildable 22045
Build 34288: test-and-buildJenkins console · Jenkins