HomeSoftware Heritage

api: Fix some broken revision endpoints

Description

api: Fix some broken revision endpoints

Since the removal of some methods in storage (D534), the following
api endpoints were broken: /revision/origin/ and /revision/origin/log.

This commit fixes their implementation by performing the operations
that were previously handled in storage client-side.

Closes T1221

Details

Provenance
anlambertAuthored on Dec 19 2018, 12:05 PM
anlambertPushed on Dec 19 2018, 2:34 PM
Parents
rDWAPPSf3f65f2a0733: api.apiresponse.error_response: Include traceback in debug mode
Branches
Unknown
Tags
Unknown
Tasks
T1221: Migrate away from revision_get_by / revision_log_by
Build Status
Buildable 3169
Build 4061: test-and-build