HomeSoftware Heritage

Add a naive git bare cooker

Description

Add a naive git bare cooker

It can cook directories (by adding a synthetic revision pointing to it)
and revisions.

Current limitations:

  • It does not deduplicate directories and files at all, and queries all objects one by one.
  • No support for missing/absent contents
  • No support for missing submodules

Tests reuse existing tests of the DirectoryCooker and
RevisionGitfastCooker using parametrized pytest fixtures.

Details

Provenance
vlorentzAuthored on Apr 30 2021, 7:30 PM
vlorentzPushed on May 11 2021, 3:54 PM
Parents
rDVAU35c9f519cd70: Use swh.core 0.14
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21484
Build 33379: test-and-buildJenkins console · Jenkins