Page MenuHomeSoftware Heritage

Fix a couple of storage args deprecation warnings
ClosedPublic

Authored by anlambert on Apr 9 2020, 4:00 PM.

Details

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 D2996 (id=10640)

Could not rebase; Attempt merge onto 89828fa6c3...

Updating 89828fa..63d9baa
Fast-forward
 conftest.py                  |  6 ++----
 swh/loader/cli.py            |  2 +-
 swh/loader/core/loader.py    |  5 +----
 swh/loader/tests/test_cli.py | 30 +++++++++++++++++++++---------
 4 files changed, 25 insertions(+), 18 deletions(-)
Changes applied before test
commit 63d9baa39792f6ab428da66191685984fbaf6a73
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Apr 9 15:58:18 2020 +0200

    Fix a couple of storage args deprecation warnings

commit 20f161337444933775e5d22841f0ebc89a81ed6b
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Apr 9 15:48:10 2020 +0200

    cli: Sort loaders list and fix some tests
    
    New tests are failing since the number of available loaders increased.
    Associated loaders list gets now wrapped in cli help output so we need
    to take this into account in tests implementation.

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

This revision is now accepted and ready to land.Apr 9 2020, 4:19 PM