Revision 5ab70237d6c3b8ed357f2ae03589353b8d6e5052 authored by David Douard on 03 July 2020, 09:45:06 UTC, committed by David Douard on 07 July 2020, 14:49:14 UTC
Follows swh.model's evolution for the Revision model class.

In Postgresql, store the extra_headers as a bytea[][].
Ensure data present in postgres with extra_headers in the metadata field
are properly supported by the pg-backed storage.
Get rid of the (now useless) git_headers_to_db() converter function.

In Cassandra, store them as frozen<list<list<blob>>>.
1 parent 8010848
Raw File
requirements-test.txt
hypothesis >= 3.11.0
pytest
pytest-mock
pytest-postgresql >= 2.1.0
sqlalchemy-stubs
# pytz is in fact a dep of swh.model[testing] and should not be necessary, but
# the dep on swh.model in the main requirements-swh.txt file shadows this one
# adding the [testing] extra.
swh.model[testing] >= 0.0.50
pytz
pytest-xdist
back to top