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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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

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
390

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

swh/loader/core/loader.py
390

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