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
- [ ] 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)
- [ ] add the table itself to swh-schema.sql and constraints to swh-indexes.sql
- [ ] the data about the indexer tool into swh-data.sql
- [ ] swh.storage.api.{server,client}
- [ ] add json schema into sql/json
- [ ] tests to test add and get origin_metadata