HomeSoftware Heritage

Make the previously loaded artifacts a list rather than an iterator

Description

Make the previously loaded artifacts a list rather than an iterator

Summary:
That's needed as we check its contents once per version referenced in the list
of upstream releases.

Test Plan: Running the loader twice on the same module now only loads each artifact once

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

Details

Provenance
olasdAuthored on Sep 18 2018, 2:30 PM
olasdPushed on Sep 19 2018, 11:31 AM
Differential Revision
D413: Make the previously loaded artifacts a list rather than an iterator
Parents
rDLDPY681b9f24749b: Add trivial command line for the PyPI loader
Branches
Unknown
Tags
Unknown