Page MenuHomeSoftware Heritage

loader: Adapt to swh-model >= 0.4.0
ClosedPublic

Authored by anlambert on Jul 8 2020, 3:35 PM.

Details

Summary

extra_headers is now a top-level attribute of a Revision and its type
has changed to Tuple[Tuple[bytes, bytes], ...].

Related to T2423

Diff Detail

Repository
rDLDHG Mercurial loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert created this revision.Jul 8 2020, 3:35 PM

Build is green

Patch application report for D3463 (id=12258)

Rebasing onto 391affaacb...

Current branch diff-target is up to date.
Changes applied before test
commit 52869875d3336de9618ec76ea6b21421358f0f84
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Wed Jul 8 15:27:46 2020 +0200

    loader: Adapt to swh-model >= 0.4.0
    
    extra_headers is now a top-level attribute of a Revision and its type
    has changed to Tuple[Tuple[bytes, bytes], ...].
    
    Related to T2423

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

ardumont accepted this revision.Jul 8 2020, 3:38 PM
ardumont added a subscriber: ardumont.
This revision is now accepted and ready to land.Jul 8 2020, 3:38 PM
douardda accepted this revision.Jul 8 2020, 3:43 PM
douardda added a subscriber: douardda.

lgtm

This revision was automatically updated to reflect the committed changes.