HomeSoftware Heritage

package.loader: Unnest loops in PackageLoader.load()

Description

package.loader: Unnest loops in PackageLoader.load()

In a future commit, we will need to go through all the PackageInfo
objects before running the loop, so we can get their ExtID and
fetch them from the storage.

So, we need to fetch them all before running the load loop,
using this listcomp.

Details

Provenance
vlorentzAuthored on Mar 23 2021, 4:14 PM
vlorentzPushed on Mar 26 2021, 11:18 AM
Differential Revision
D5345: package.loader: Unnest loops in PackageLoader.load()
Parents
rDLDBASE6d3545e47b5e: cran, npm, pypi: Add the loader name in the ExtID type
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20250
Build 31431: test-and-buildJenkins console · Jenkins