Page MenuHomeSoftware Heritage

migrations: Update swh.storage.origin_get calls to latest api change
ClosedPublic

Authored by ardumont on Jul 24 2020, 8:14 AM.

Details

Summary

For the sake of staying consistent everywhere.

Related to T645

Test Plan

tox

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fix calls, origin-get takes the identifier (origin url here), not an Origin object!

Build is green

Patch application report for D3607 (id=12701)

Rebasing onto 12ce6488bd...

Current branch diff-target is up to date.
Changes applied before test
commit cb5009af5727a8c005a9f76fd8a155e537e26e2e
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Jul 24 08:11:14 2020 +0200

    migrations: Update swh.storage.origin_get calls to latest api change
    
    Related to T645

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

Build is green

Patch application report for D3607 (id=12702)

Rebasing onto 12ce6488bd...

Current branch diff-target is up to date.
Changes applied before test
commit 402e4b83bb463d21c6b684df92b832dbe5501bfd
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Jul 24 08:11:14 2020 +0200

    migrations: Update swh.storage.origin_get calls to latest api change
    
    Related to T645

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

This revision is now accepted and ready to land.Jul 24 2020, 9:15 AM