Page MenuHomeSoftware Heritage

Drop all deprecated uses of `args` in component factories
ClosedPublic

Authored by olasd on Nov 16 2020, 3:11 PM.

Details

Summary

swh.storage and swh.objstorage, as well as swh.indexer itself, have deprecated
using an explicit args in their factories for a while; we can drop them now.

Test Plan

tox doesn't show any deprecation warnings

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Nov 16 2020, 3:13 PM

Build is green

Patch application report for D4481 (id=15900)

Rebasing onto 5de2b6e40c...

Current branch diff-target is up to date.
Changes applied before test
commit 440961d06c444a1412fefeea5cfdefe198184177
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Fri Oct 9 13:42:19 2020 +0200

    Drop all deprecated uses of `args` in component factories
    
    swh.storage and swh.objstorage, as well as swh.indexer itself, have deprecated
    using an explicit `args` in their factories for a while; we can drop them now.

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