Make finalize_visit a method instead of nested function.
Closed
requested to merge generated-differential-D5140-source into generated-differential-D5140-target
I don't see the point of it being a nested function, it just makes load() larger.
Migrated from D5140 (view on Phabricator)
Merge request reports
Activity
Build has FAILED
Patch application report for D5140 (id=18379)
Could not rebase; Attempt merge onto 52626cbb...
Updating 52626cb..3578d6e Fast-forward swh/loader/package/deposit/loader.py | 2 +- swh/loader/package/deposit/tests/test_deposit.py | 18 ++++ swh/loader/package/loader.py | 127 ++++++++++++++--------- 3 files changed, 97 insertions(+), 50 deletions(-)
Changes applied before test
commit 3578d6eec5cac943a52ab6ac8ceb6c25615778a8 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Feb 25 11:48:24 2021 +0100 Make finalize_visit a method instead of nested function. I don't see the point of it being a nested function, it just makes load() larger. commit 9eb37bda3161705fb238227fed7e61a3eecb0426 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Feb 25 11:44:24 2021 +0100 deposit: Update deposit status when the load status is 'partial' Before this commit, load status 'success' and 'failed' updated the deposit status accordingly, but other statuses were ignored.
Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/382/ See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/382/console
rebase under !177 (closed)
Build is green
Patch application report for D5140 (id=18380)
Rebasing onto 52626cbb...
Current branch diff-target is up to date.
Changes applied before test
commit e80919ed8e7bf882746faddda19706139ffa161f Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Feb 25 11:48:24 2021 +0100 Make finalize_visit a method instead of nested function. I don't see the point of it being a nested function, it just makes load() larger.
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/383/ for more details.
mentioned in merge request !177 (closed)
Please register or sign in to reply