HomeSoftware Heritage

identifiers: Expose manifest computation

Description

identifiers: Expose manifest computation

Before this commit, manifests were only computed internally before
hashing, so they were not available to outside modules.

This makes testing the module very painful, because identifier
functions can only be tested by checking the hash; so test failures
did not show mismatches between the computed manifest and
the expected one.

Additionally, the 'git bare cooker' of the vault is likely to use
these as well, as it needs to format git objects in the same format.

Details

Provenance
vlorentzAuthored on Apr 30 2021, 11:26 AM
vlorentzPushed on May 11 2021, 11:36 AM
Differential Revision
D5650: identifiers: Expose manifest computation
Parents
rDMOD31cb72e9f059: Blacklist attr 21.1.0
Branches
Unknown
Tags
Unknown
Tasks
T843: Vault: Add a "git bare" tarball cooker
Build Status
Buildable 21455
Build 33334: test-and-buildJenkins console · Jenkins