Second part of getting rid of the SWHConfig mixin.
Related to client code now
Related to T1532
Differential D3957
config: Clarify configuration setup client code ardumont on Sep 15 2020, 6:36 PM. Authored by
Details
Second part of getting rid of the SWHConfig mixin. Related to T1532 tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3957 (id=13936)Could not rebase; Attempt merge onto f41a5a6c06... Updating f41a5a6c..05a4a5f9 Fast-forward requirements-swh.txt | 2 +- swh/deposit/client.py | 17 ++----- swh/deposit/config.py | 47 ++++++++----------- swh/deposit/loader/checker.py | 26 ++++------- swh/deposit/tests/api/test_deposit_schedule.py | 18 +++----- swh/deposit/tests/conftest.py | 64 +++++++++++++------------- swh/deposit/tests/loader/conftest.py | 37 ++++----------- swh/deposit/tests/loader/test_checker.py | 8 ++-- swh/deposit/tests/loader/test_tasks.py | 12 ++--- 9 files changed, 91 insertions(+), 140 deletions(-) Changes applied before testcommit 05a4a5f9685ec157e7d6aa54e5591d56b3450044 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Sep 15 18:34:38 2020 +0200 config: Clarify configuration setup client code Related to T1532 commit fbd84db9424b8f8b2ea102c5f84ef04b78d90b8c Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Sep 15 10:51:37 2020 +0200 config: Clarify configuration setup for server code Mixin SWHConfig is deprecated. This unplugs the inheritance to that class which has becomes too much complicated to follow. Related to T1532 See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/89/ for more details.
Comment Actions Build is green Patch application report for D3957 (id=13991)Could not rebase; Attempt merge onto f41a5a6c06... Updating f41a5a6c..e5eacbbf Fast-forward requirements-swh.txt | 2 +- swh/deposit/api/private/deposit_read.py | 24 ---------- swh/deposit/client.py | 17 ++----- swh/deposit/config.py | 47 ++++++++----------- swh/deposit/loader/checker.py | 26 ++++------- swh/deposit/tests/api/test_deposit_schedule.py | 18 +++----- swh/deposit/tests/conftest.py | 64 +++++++++++++------------- swh/deposit/tests/loader/conftest.py | 37 ++++----------- swh/deposit/tests/loader/test_checker.py | 8 ++-- swh/deposit/tests/loader/test_tasks.py | 12 ++--- 10 files changed, 91 insertions(+), 164 deletions(-) Changes applied before testcommit e5eacbbf8b3a12def6edb41f3ca4be20e1ba52e6 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Sep 15 18:34:38 2020 +0200 config: Clarify configuration setup path for the client code Related to T1532 commit 7f5241191352fcb170ced98bed745827cde63cbd Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Sep 15 10:51:37 2020 +0200 config: Clarify the configuration setup path for the server part Mixin SWHConfig is deprecated. Related to T1532 See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/91/ for more details. |