HomeSoftware Heritage

storage: Fix objects loading when using generator parameters

Description

storage: Fix objects loading when using generator parameters

Some objects (directories, origins, releases, revisions) will not be added
into the storage if they are provided as generator parameters to the *_add
methods instead of lists.

So ensure to transform generators into lists before processing the objects.

Details

Provenance
anlambertAuthored on Jan 16 2020, 5:16 PM
anlambertPushed on Jan 16 2020, 5:57 PM
Differential Revision
D2543: Fix objects loading when using generator parameters
Parents
rDSTO8dcac2b0c3a7: retry: Implement content_add_metadata endpoint with retry policy
Branches
Unknown
Tags
Unknown
References
tag: v0.0.164
Build Status
Buildable 10156
Build 15066: test-and-buildJenkins