I don't see the point of it being a nested function, it just makes load()
larger.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDLDBASEe80919ed8e7b: Make finalize_visit a method instead of nested function.
Diff Detail
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
Comment Actions
Build has FAILED
Patch application report for D5140 (id=18379)
Could not rebase; Attempt merge onto 52626cbb04...
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
Comment Actions
Build is green
Patch application report for D5140 (id=18380)
Rebasing onto 52626cbb04...
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.