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

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
1621

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.