Page MenuHomeSoftware Heritage

Replace RawExtrinsicMetadata `id` attribute with `target`.
ClosedPublic

Authored by olasd on Oct 27 2020, 3:51 PM.

Details

Summary

The old attribute was deprecated in swh.model 0.7.2

Test Plan

pytest -W error:RawExtrinsicMetadata:DeprecationWarning passes,
when using swh.journal with D4365 applied, and swh.model with D4366 applied.

Conflicts with D4349 pretty hard.

Diff Detail

Repository
rDSTO Storage manager
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16664
Build 25694: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 25693: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D4367 (id=15436)

Rebasing onto 581968322a...

Current branch diff-target is up to date.
Changes applied before test
commit 9645aef7abab83121d98fc7fe4f62f4859b5d0c9
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Oct 27 13:52:22 2020 +0100

    Replace RawExtrinsicMetadata `id` attribute with `target`.
    
    The old attribute was deprecated in swh.model 0.7.2

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

This revision is now accepted and ready to land.Oct 27 2020, 3:56 PM