Page MenuHomeSoftware Heritage

pypi.loader: Finalize pypi loader (take 2)
AbandonedPublic

Authored by ardumont on Sep 18 2018, 11:11 AM.

Details

Reviewers
olasd
Summary

Related T421
Related D408 (mistakenly closed)

Test Plan

make test

Diff Detail

Repository
rDLDPY PyPI loader
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1394
Build 1738: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 18 2018, 11:14 AM
swh/loader/pypi/loader.py
148

11:10 <+olasd> currently the main issue is that incremental loading isn't incremental
11:10 <+olasd> because the list of old versions is stored as an iterator, which gets consumed by the first check and then never returns again :p

Is this what you are referring to?

@ardumont this probably should be abandoned as it didn't auto-close...

@ardumont this probably should be abandoned as it didn't auto-close...

Mmm, right.