Page MenuHomeSoftware Heritage

Make all endpoints support origin urls instead of ids.
ClosedPublic

Authored by vlorentz on Jun 28 2019, 8:53 PM.

Diff Detail

Repository
rDSTO Storage manager
Branch
proptest-use_url2
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6577
Build 9170: tox-on-jenkinsJenkins
Build 9169: arc lint + arc unit

Event Timeline

anlambert added a subscriber: anlambert.

Apart adding some variables in the tests as in D1664, looks good to me.

swh/storage/tests/test_storage.py
1618

Same comment as in D1664, using a variable to store the origin identifier or url would improve code readability.

This revision is now accepted and ready to land.Jul 1 2019, 3:08 PM

use variable instead of ternary

This revision was landed with ongoing or failed builds.Jul 1 2019, 3:52 PM
This revision was automatically updated to reflect the committed changes.