Staging instance, all changes can be removed at any time

Skip to content

storage*: Drop deprecated content_get_range endpoint

Impacts swh-indexer which will get updated to use storage*.content_get_partition instead:

$ grep -r "content_get_range(" $SWH_ENVIRONMENT_HOME/**/swh/* | grep -v swh-storage
/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/indexer.py:            result = self.storage.content_get_range(start, end)
/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/storage/interface.py:    def _content_get_range(
/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/storage/__init__.py:    def _content_get_range(
/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/storage/__init__.py:            db.content_get_range(
/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/storage/__init__.py:        return self._content_get_range(
/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/storage/__init__.py:        return self._content_get_range(
/home/tony/work/inria/repo/swh/swh-environment/swh-indexer/swh/indexer/storage/db.py:    def content_get_range(

Related to T645

Test Plan

tox


Migrated from D3712 (view on Phabricator)

Merge request reports

Loading