Page MenuHomeSoftware Heritage

Add an 'origin_visit_find_by_date' endpoint.
ClosedPublic

Authored by vlorentz on Jun 27 2019, 6:42 PM.

Details

Summary

It reuses the 'swh_visit_find_by_date' function that became dead code
when occurences were dropped.

So swh-web can use it directly instead of reimplementing its logic
in 'get_origin_visit'.

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

This revision is now accepted and ready to land.Jul 1 2019, 3:48 PM
This revision was landed with ongoing or failed builds.Jul 1 2019, 3:51 PM
This revision was automatically updated to reflect the committed changes.