Page MenuHomeSoftware Heritage

deposit: Adapt loader to use the latest deposit update api
ClosedPublic

Authored by ardumont on Tue, May 12, 3:54 PM.

Details

Summary

The deposit update status instruction at the end of the deposit load need to provide the extra snapshot_id when the load is successful.

Related to D3141
Related to T2398

Test Plan

tox

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

ardumont created this revision.Tue, May 12, 3:54 PM

Build is green

Patch application report for D3142 (id=11162)

Rebasing onto 77941b1086...

Current branch diff-target is up to date.
Changes applied before test
commit 702ada0f1ff71a4dedb450df70b357ac55e9d9d8
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue May 12 15:53:03 2020 +0200

    deposit: Adapt loader to use the latest deposit update api
    
    Related to D3141
    Related to T2398

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

ardumont updated this revision to Diff 11192.Wed, May 13, 4:52 PM

Ensure the deposit update api is called with the proper parameters

Build is green

Patch application report for D3142 (id=11192)

Rebasing onto 77941b1086...

Current branch diff-target is up to date.
Changes applied before test
commit 8bd38f9bb468f21f093a8a6ac37356dc917e86d9
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue May 12 15:53:03 2020 +0200

    deposit: Adapt loader to use the latest deposit update api
    
    Related to D3141
    Related to T2398

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

ardumont edited the summary of this revision. (Show Details)Wed, May 13, 5:00 PM
vlorentz accepted this revision.Fri, May 15, 12:32 PM
This revision is now accepted and ready to land.Fri, May 15, 12:32 PM