Page MenuHomeSoftware Heritage

Use the `target` argument to RawExtrinsicMetadata instead of deprecated `id`
ClosedPublic

Authored by olasd on Nov 3 2020, 3:15 PM.

Details

Summary

This argument was deprecated in swh.model v0.7.2

Test Plan

python3 -m pytest -sv --ff -W error:RawExtrinsicMetadata:DeprecationWarning -n 6 (no deprecation warnings left, when using swh.storage master)

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
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 D4402 (id=15597)

Rebasing onto 8f41aeee10...

Current branch diff-target is up to date.
Changes applied before test
commit 7f4e53aedde7b2869804192677995f852d446f8d
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Nov 3 15:02:30 2020 +0100

    Use the `target` argument to RawExtrinsicMetadata instead of deprecated `id`
    
    This argument was deprecated in swh.model v0.7.2

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

This revision is now accepted and ready to land.Nov 3 2020, 4:45 PM