To prepare for a new backend that doesn't use postgresql. First step toward T1306.
Details
Diff Detail
- Repository
- rDSTO Storage manager
- Branch
- modular-pg
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 2255 Build 2711: tox-on-jenkins Jenkins Build 2710: arc lint + arc unit
Event Timeline
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/30/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/31/ for more details.
swh/storage/db.py | ||
---|---|---|
177 | That will need a bump in storage and migration in other modules: ./swh-vault/.tox/py3/lib/python3.6/site-packages/swh/storage/tests/test_db.py:13:from swh.storage.db import Db ./swh-indexer/.tox/py3/lib/python3.6/site-packages/swh/storage/tests/test_db.py:13:from swh.storage.db import Db ./swh-storage/swh/storage/tests/test_db.py:13:from swh.storage.db import Db ./swh-lister/.tox/py3/lib/python3.6/site-packages/swh/storage/tests/test_db.py:13:from swh.storage.db import Db ./swh-journal/.tox/py3/lib/python3.6/site-packages/swh/storage/tests/test_db.py:13:from swh.storage.db import Db | |
swh/storage/storage.py | ||
270 | (e.g file whose size is too large) | |
swh/storage/tests/storage_testing.py | ||
16 | Same as for the db modules. |
- Really move all pgsql-specific parts of Storage into PgStorage.
- Apply @ardumont's comment
swh/storage/db.py | ||
---|---|---|
177 | Do you want me to add an alias (with a DeprecationWarning)? |
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/32/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/33/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/34/ for more details.
swh/storage/db.py | ||
---|---|---|
177 | It was a jsyk basis. I expect the ci to go red fast when this hits master (maybe not though as we use pypi module now). |
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/35/ for more details.