Page MenuHomeSoftware Heritage

loader.core/package: Call storage's (skipped_)content_add endpoints
ClosedPublic

Authored by ardumont on Feb 6 2020, 3:15 PM.

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10471
Build 15603: tox-on-jenkinsJenkins
Build 15602: arc lint + arc unit

Event Timeline

swh/loader/core/converters.py
19–23

I don't find the name and docstring explicit enough, but I don't have any better idea for the name :/

19–38

why not switch to passing model objects instead of converting them back to dicts?

swh/loader/core/converters.py
19

contents_for_storage, prepare_contents_for_storage?

19–38

because right now, it's not supported.
so might as well convert here to avoid impacts in other callers.

This revision is now accepted and ready to land.Feb 6 2020, 3:23 PM