HomeSoftware Heritage

git2graph: fix snapshot ID computation, now compatible with swh identify

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

Description

git2graph: fix snapshot ID computation, now compatible with swh identify

Before this change the git header "snapshot LENGTH\0" was not added before
taking the SHA1, so results where (1) incompatible with swh identify, because of
(2) not comformant with the snapshot manifest specification.

With this change ...YAY!

Fix the tests accordingly, after cross-verifying test data with "swh identify
-t snapshot".

Details

Provenance
zackAuthored on Oct 20 2019, 7:00 PM
zackPushed on Oct 20 2019, 9:21 PM
Build Status
Buildable 8563
Build 12448: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.