Add support for author=None and committer=None
committer=None happens on some malformed commits generated by old dgit version; and it is possible for author=None to happen for the same reason. For now, this is not supported by swh-model, so tests temporarily disable attrs checks that swh-model relies on.
Showing
- swh/storage/postgresql/converters.py 8 additions, 4 deletionsswh/storage/postgresql/converters.py
- swh/storage/sql/40-funcs.sql 1 addition, 1 deletionswh/storage/sql/40-funcs.sql
- swh/storage/sql/60-indexes.sql 8 additions, 0 deletionsswh/storage/sql/60-indexes.sql
- swh/storage/sql/upgrades/183.sql 42 additions, 0 deletionsswh/storage/sql/upgrades/183.sql
- swh/storage/tests/storage_tests.py 58 additions, 1 deletionswh/storage/tests/storage_tests.py
Loading
Please register or sign in to comment