Page MenuHomeSoftware Heritage

core.config: Drop no longer used SWHConfig
ClosedPublic

Authored by ardumont on Oct 7 2020, 1:49 PM.

Details

Summary

All clients of this (loader, lister, indexer...) have migrated to use
load_from_envvar or some derivative (pre-load_from_envvar) of it (deposit)
instead.

$ grep -ri SWHConfig $SWH_ENVIRONMENT_HOME/*/swh/** | grep -v __pycache__
$

Close T1532

Test Plan

tox

Diff Detail

Repository
rDCORE Foundations and core functionalities
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 D4178 (id=14695)

Rebasing onto 82a47667b2...

Current branch diff-target is up to date.
Changes applied before test
commit 1657fb827f6d29254c23bbeaf28aba9c0b2015c0
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Oct 7 13:46:53 2020 +0200

    core.config: Drop no longer used SWHConfig
    
    All clients of this (loader, lister, indexer...) have migrated to use
    `load_from_envvar` or some derivative (pre-load_from_envvar) of it (deposit)
    instead.
    
    Related to T1532

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

This revision is now accepted and ready to land.Oct 7 2020, 1:54 PM
ardumont edited the summary of this revision. (Show Details)