Declare indexer storage backends in the swh.indexer.storage.classes entry point
Normalize the indexer storage db for swh.core 3.6 with improved `swh db` handling capabilities. Remove storage/test_init.py, it's now outdated. Warning: this rename the config entry for indexer storages from 'indexer_storage' to 'indexer.storage'. Bw compat core handle this when loading the configuration for indexer cli tools and the api server only; generic loading mechanism will not handle the old name properly (i.e. when managing the storage db using `swh db` commands).
parent
76857f77
No related branches found
No related tags found
Showing
- pyproject.toml 5 additions, 0 deletionspyproject.toml
- requirements-swh.txt 1 addition, 1 deletionrequirements-swh.txt
- swh/indexer/cli.py 11 additions, 2 deletionsswh/indexer/cli.py
- swh/indexer/storage/__init__.py 6 additions, 22 deletionsswh/indexer/storage/__init__.py
- swh/indexer/storage/api/server.py 12 additions, 17 deletionsswh/indexer/storage/api/server.py
- swh/indexer/tests/conftest.py 3 additions, 3 deletionsswh/indexer/tests/conftest.py
- swh/indexer/tests/storage/conftest.py 1 addition, 1 deletionswh/indexer/tests/storage/conftest.py
- swh/indexer/tests/storage/test_api_client.py 1 addition, 1 deletionswh/indexer/tests/storage/test_api_client.py
- swh/indexer/tests/storage/test_init.py 0 additions, 89 deletionsswh/indexer/tests/storage/test_init.py
- swh/indexer/tests/storage/test_server.py 17 additions, 32 deletionsswh/indexer/tests/storage/test_server.py
- swh/indexer/tests/test_cli.py 39 additions, 0 deletionsswh/indexer/tests/test_cli.py
Loading