origin_metadata will keep metadata about origins from different sources (lister, loader, sword-deposit, external-catalogs) at a given time.
NOTE: a translation to the CodeMeta vocabulary will be implemented on the fly with the "swh-metadata-translator"
references P168
references T717
- [] storage.py (as the entry point of storage) add, get
- [ ] db.py (as the entry point to db)
- [ ] swh-func.sql (the actual sql procedure)
- [x] add the table itself to swh-schema.sql and constraints to swh-indexes.sql
- [x] swh.storage.api.{server,client}
- [ ] add json schema into sql/json
- [x] tests to test add and get origin_metadata