HomeSoftware Heritage

Adapt the git loader to swh-model >0.4

Description

Adapt the git loader to swh-model >0.4

in which extra_headers is now a top-level attribute of a Revision.

Add tests that actually include having extra_header in loaded git revisions.
For this, the fast-import based dump of the test git repo is replaced by
a bundle dump (required to ensure things like gpg signatures are kept).
A few git revisions including gpg signature, encoding and mergetag
headers are also added to the git repo.

Details

Provenance
douarddaAuthored on Jul 7 2020, 3:48 PM
douarddaPushed on Jul 8 2020, 3:13 PM
Differential Revision
D3454: Adapt the git loader to swh-model >0.4
Parents
rDLDGfc2ec733aa5c: tests: Reuse loader-core test utility function
Branches
Unknown
Tags
Unknown
References
tag: v0.3.0
Build Status
Buildable 13472
Build 20608: test-and-buildJenkins console · Jenkins