HomeSoftware Heritage

Make revision/release identifiers explicitly the hash of a manifest

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Make revision/release identifiers explicitly the hash of a manifest

This collapses the shared logic between these two identifier computations into a
few more explicit steps:

  • generate data for the manifest (in either identifier computation);
  • format the manifest (in the new format_manifest function);
  • hash the manifest (in the new hash_manifest function).

This will enable reusing this logic for more object types, as well as stronger
typing for the manifest computation.

Details

Provenance
olasdAuthored on Oct 14 2020, 6:44 PM
olasdPushed on Oct 19 2020, 12:12 PM
Differential Revision
D4262: Make revision/release identifiers explicitly the hash of a manifest
Build Status
Buildable 16431
Build 25307: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.