Page MenuHomeSoftware Heritage

common, tests: Fix compatibility with swh-indexer 2.0.0
ClosedPublic

Authored by anlambert on Jun 7 2022, 11:54 AM.

Details

Summary

OriginIntrinsicMetadataRow API has changed: from_revision parameter
has been replaced by from_directory one.

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 D7963 (id=28693)

Rebasing onto 631925c646...

Current branch diff-target is up to date.
Changes applied before test
commit 78594264a1161cc246f16ef8887d6e06a11c420d
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jun 7 11:51:32 2022 +0200

    common, tests: Fix compatibility with swh-indexer 2.0.0
    
    OriginIntrinsicMetadataRow API has changed: from_revision parameter
    has been replaced by from_directory one.

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

vlorentz added a subscriber: vlorentz.

Oops, I meant to update this, but forgot.

Please bump the indexer version in requirements-swh.txt, though

This revision is now accepted and ready to land.Jun 7 2022, 12:23 PM

Bump swh-indexer in requirements-swh.txt

Remove file added by mistake

Build is green

Patch application report for D7963 (id=28698)

Rebasing onto 631925c646...

Current branch diff-target is up to date.
Changes applied before test
commit 06650b29d38436b8bf1f9b6a4bccdd62318347c2
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jun 7 11:51:32 2022 +0200

    common, tests: Fix compatibility with swh-indexer 2.0.0
    
    OriginIntrinsicMetadataRow API has changed: from_revision parameter
    has been replaced by from_directory one.

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

Build is green

Patch application report for D7963 (id=28699)

Rebasing onto 631925c646...

Current branch diff-target is up to date.
Changes applied before test
commit 749b6f5bf453588f683503e8f6327e6534d37f5a
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jun 7 13:15:33 2022 +0200

    common, tests: Fix compatibility with swh-indexer 2.0.0
    
    OriginIntrinsicMetadataRow API has changed: from_revision parameter
    has been replaced by from_directory one.

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