So we can read the latest origin-visit-status out of storage.
This is preparatory work to remove the OriginVisit's now unneeded fields. First
migrate storage api clients to use origin-visit-status-get-latest.
Related to T2310
Differential D3296
storage*: Add origin-visit-status-get-latest endpoint ardumont on Jun 16 2020, 8:15 PM. Authored by Tags None Subscribers None
Details
So we can read the latest origin-visit-status out of storage. This is preparatory work to remove the OriginVisit's now unneeded fields. First Related to T2310 tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3296 (id=11678)Rebasing onto d153a8096d... Current branch diff-target is up to date. Changes applied before testcommit a6c9583bbe18049741f158bb2471f1deecf7258a Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Jun 16 18:03:23 2020 +0200 storage*: Add origin-visit-status-get-latest endpoint So we can read the latest origin-visit-status out of a storage Related to T2310 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/287/ for more details.
Comment Actions Adapt according to review:
Comment Actions Build has FAILED Patch application report for D3296 (id=11688)Could not rebase; Attempt merge onto d153a8096d... Updating d153a80..a89c5f7 Fast-forward swh/storage/cassandra/converters.py | 29 ++++++-- swh/storage/cassandra/cql.py | 39 ++++------- swh/storage/cassandra/storage.py | 20 ++++++ swh/storage/db.py | 51 +++++++++++--- swh/storage/in_memory.py | 24 +++++++ swh/storage/interface.py | 30 +++++++- swh/storage/storage.py | 18 +++++ swh/storage/tests/test_storage.py | 132 ++++++++++++++++++++++++++++++++++-- swh/storage/validate.py | 16 +++-- 9 files changed, 306 insertions(+), 53 deletions(-) Changes applied before testcommit a89c5f7cfa3bcd055c16361e6ce8f5edf3c213f3 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Jun 16 18:03:23 2020 +0200 storage*: Add origin-visit-status-get-latest endpoint So we can read the latest origin-visit-status out of a storage Related to T2310 commit 1c615f7d31ffeebb07a05ff78116950fb51ebaa5 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Wed Jun 17 09:33:21 2020 +0200 validate.snapshot_add: Make it able to deal directly with Snapshot Related to D3277 Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/290/ Comment Actions
Comment Actions Build is green Patch application report for D3296 (id=11691)Could not rebase; Attempt merge onto d153a8096d... Updating d153a80..880cbfe Fast-forward swh/storage/cassandra/converters.py | 25 ++++++- swh/storage/cassandra/cql.py | 42 +++++------- swh/storage/cassandra/storage.py | 30 ++++++-- swh/storage/db.py | 51 +++++++++++--- swh/storage/in_memory.py | 24 +++++++ swh/storage/interface.py | 30 +++++++- swh/storage/storage.py | 18 +++++ swh/storage/tests/test_storage.py | 132 ++++++++++++++++++++++++++++++++++-- swh/storage/validate.py | 16 +++-- 9 files changed, 313 insertions(+), 55 deletions(-) Changes applied before testcommit 880cbfe6adb062a7347dc99d96651d3374093941 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Jun 16 18:03:23 2020 +0200 storage*: Add origin-visit-status-get-latest endpoint So we can read the latest origin-visit-status out of a storage Related to T2310 commit 1c615f7d31ffeebb07a05ff78116950fb51ebaa5 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Wed Jun 17 09:33:21 2020 +0200 validate.snapshot_add: Make it able to deal directly with Snapshot Related to D3277 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/292/ for more details. Comment Actions Build is green Patch application report for D3296 (id=11696)Rebasing onto 057c6fd5df... Current branch diff-target is up to date. Changes applied before testcommit d9425a6ef33a99db06c0205dd83ad89374939e29 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Jun 16 18:03:23 2020 +0200 storage*: Add origin-visit-status-get-latest endpoint So we can read the latest origin-visit-status out of a storage Related to T2310 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/296/ for more details.
Comment Actions Build is green Patch application report for D3296 (id=11700)Rebasing onto 692bfa3944... Current branch diff-target is up to date. Changes applied before testcommit 731949586ca186b52d046c02ff4bb87b48b9adb3 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Jun 16 18:03:23 2020 +0200 storage*: Add origin-visit-status-get-latest endpoint So we can read the latest origin-visit-status out of a storage Related to T2310 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/298/ for more details. |