Page MenuHomeSoftware Heritage

Add support for reading RawExtrinsicMetadata with raw URL targets
ClosedPublic

Authored by olasd on Mar 10 2021, 9:34 AM.

Details

Summary

We convert the target attribute to a hashed ExtendedSWHID before
returning the object.

Test Plan

new unit test added

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

Build is green

Patch application report for D5224 (id=18712)

Rebasing onto 88ff2c2fa0...

Current branch diff-target is up to date.
Changes applied before test
commit 0d785d239eb9a53705c9e23fa183344a2606a5a5
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Mar 9 17:43:51 2021 +0100

    Add support for reading RawExtrinsicMetadata with raw URL targets
    
    We convert the target attribute to a hashed ExtendedSWHID before
    returning the object.

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

olasd requested review of this revision.Mar 10 2021, 9:39 AM
This revision is now accepted and ready to land.Mar 10 2021, 1:00 PM