Skip to content

storage*: Drop origin-get-range in favor of origin-list

Remaining impact is swh-scheduler [1]:

$ grep -r 'iter_origins' $SWH_ENVIRONMENT_HOME/*/swh/* | grep -v "swh-storage"
Binary file /home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/swh/scheduler/cli/__pycache__/task.cpython-37.pyc matches
Binary file /home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/swh/scheduler/cli/__pycache__/task.cpython-37-pytest-6.0.1.pyc matches
/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/swh/scheduler/cli/task.py:    from swh.storage.algos.origin import iter_origins
/home/tony/work/inria/repo/swh/swh-environment/swh-scheduler/swh/scheduler/cli/task.py:    origins = iter_origins(storage, origin_from=min_id, origin_to=max_id)

Related to T645

Depends on !501 (closed)


Migrated from D3681 (view on Phabricator)

Merge request reports