https://github.com/SoftwareHeritage/swh-storage
Revision eef4900db52a391e20ab51e36bace412ac6730d8 authored by David Douard on 29 May 2020, 12:21:55 UTC, committed by David Douard on 29 May 2020, 13:23:28 UTC
the self._origin_visits[origin_url] list was built one element too big
(since visit ids starts from 1 and not 0).

This is needed to ease writing replayer tests (by comparing these lists).
1 parent 6c6080b
History
Tip revision: eef4900db52a391e20ab51e36bace412ac6730d8 authored by David Douard on 29 May 2020, 12:21:55 UTC
Fix InMemoryStorage.origin_visit_upsert() method
Tip revision: eef4900
File Mode Size
bin
docs
sql
swh
.gitignore -rw-r--r-- 136 bytes
.pre-commit-config.yaml -rw-r--r-- 1.1 KB
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 46 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 242 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 69 bytes
README.md -rw-r--r-- 4.5 KB
mypy.ini -rw-r--r-- 1.0 KB
pyproject.toml -rw-r--r-- 39 bytes
pytest.ini -rw-r--r-- 392 bytes
requirements-swh-journal.txt -rw-r--r-- 21 bytes
requirements-swh.txt -rw-r--r-- 73 bytes
requirements-test.txt -rw-r--r-- 318 bytes
requirements.txt -rw-r--r-- 104 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 637 bytes

README.md

back to top