HomeSoftware Heritage

Add a function to retrieve a full snapshot

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

Description

Add a function to retrieve a full snapshot

Summary:
This function wraps the paginating branch listing API to do its work. It's in
swh.storage.algos because it should be done client-side rather than server-side.

The tests are fairly simple, and mostly add a bunch of tooling around hypothesis
to generate data that conforms to the swh data schema. Those things could
probably be adequately moved to a new submodule of swh.model.

Test Plan: new tests added

Reviewers: anlambert

Differential Revision: https://forge.softwareheritage.org/D551

Details

Provenance
olasdAuthored on Oct 17 2018, 9:25 PM
olasdPushed on Oct 18 2018, 5:56 PM
Differential Revision
D551: Add a function to retrieve a full snapshot

Commit No Longer Exists

This commit no longer exists in the repository.