Page MenuHomeSoftware Heritage

Make origin_get ignore the `type` argument
ClosedPublic

Authored by vlorentz on Jul 12 2019, 3:25 PM.

Diff Detail

Repository
rDSTO Storage manager
Branch
origin-get-no-type
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6912
Build 9701: tox-on-jenkinsJenkins
Build 9700: arc lint + arc unit

Event Timeline

ardumont added a subscriber: ardumont.

This needs some consistency adaptations between code and docstrings.
Other than that fine.

swh/storage/db.py
664–665

Retrieve the origin tuple (id, type, url) from ...

673

ori instead of url

675–676

same: Retrieve the origin tuple (id, type, url)...

686

ori instead of id.

This revision now requires changes to proceed.Jul 15 2019, 3:00 PM
swh/storage/db.py
673

why?

fix internal representation (used by tests of the replayer)

thanks

swh/storage/db.py
673

nvm, i misread

686

same, misreading ;)

This revision is now accepted and ready to land.Jul 18 2019, 12:05 PM
This revision was automatically updated to reflect the committed changes.