Page MenuHomeSoftware Heritage

Replace calls to snapshot_get with snapshot_get_all_branches.
ClosedPublic

Authored by vlorentz on Aug 10 2020, 12:08 PM.

Details

Summary

snapshot_get is deprecated.

Depends on D3751.

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 D3752 (id=13210)

Could not rebase; Attempt merge onto 22e2b0632c...

Updating 22e2b06..381ea57
Fast-forward
 swh/loader/package/deposit/loader.py             |  7 ++-
 swh/loader/package/nixguix/tests/test_nixguix.py | 74 +++++++++++++-----------
 2 files changed, 43 insertions(+), 38 deletions(-)
Changes applied before test
commit 381ea57ad785bbbc62a167b7cbbab49b1d6b7798
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Aug 10 12:07:58 2020 +0200

    Replace calls to snapshot_get with snapshot_get_all_branches.
    
    snapshot_get is deprecated.

commit 48a867f0e86a2ae8f7603a06ad52d80316464ff5
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Aug 10 12:00:52 2020 +0200

    test_nixguix: Fix import order.

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

This revision is now accepted and ready to land.Aug 10 2020, 12:56 PM