Page MenuHomeSoftware Heritage

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

Authored by ardumont on Fri, Jul 24, 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

ardumont created this revision.Fri, Jul 24, 8:14 AM
ardumont updated this revision to Diff 12702.Fri, Jul 24, 8:17 AM

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.

ardumont edited the test plan for this revision. (Show Details)Fri, Jul 24, 8:23 AM
ardumont edited the summary of this revision. (Show Details)Fri, Jul 24, 8:51 AM
vlorentz accepted this revision.Fri, Jul 24, 9:15 AM
This revision is now accepted and ready to land.Fri, Jul 24, 9:15 AM