Page MenuHomeSoftware Heritage

Use swh-model objects in base VCS loader.
ClosedPublic

Authored by vlorentz on Feb 28 2020, 1:41 PM.

Diff Detail

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

Event Timeline

ardumont added inline comments.
swh/loader/core/loader.py
391

Can't we make this return a Tuple[List[Content], List[SkippedContent]] instead?

This revision is now accepted and ready to land.Feb 28 2020, 1:48 PM
swh/loader/core/loader.py
391

I considered it, and I don't think either way is better than the other.

swh/loader/core/loader.py
391

Agreed.
Let's keep the code as is then ;)