Page MenuHomeSoftware Heritage

common/service: Add lookup_origins_by_sha1s function
ClosedPublic

Authored by anlambert on Sep 22 2020, 3:39 PM.

Details

Summary

It wraps storage.origin_get_by_sha1 call in order to resolve origin SWHIDs,
provided by swh-graph Web API, to origin URLs.

Related to T2113
Related to T2589

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4009 (id=14148)

Rebasing onto baaefd62d8...

Current branch diff-target is up to date.
Changes applied before test
commit 5f070f05d3a44d9307ebeb0f4b8e8efd5b2e0bc7
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Sep 22 15:37:50 2020 +0200

    common/service: Add lookup_origins_by_sha1s function
    
    It wraps storage.origin_get_by_sha1 call in order to resolve origin SWHIDs,
    provided by swh-graph Web API, to origin URLs.
    
    Related to T2113
    Related to T2589

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/384/ for more details.

This revision is now accepted and ready to land.Sep 22 2020, 3:55 PM