Page MenuHomeSoftware Heritage

create origin_metadata table
Closed, MigratedEdits Locked

Description

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) -> not needed
  • add the table itself to swh-schema.sql and constraints to swh-indexes.sql
  • swh.storage.api.{server,client}
  • add json schema into sql/json
  • tests to test add and get origin_metadata

Event Timeline

moranegg changed the task status from Open to Work in Progress.Jul 25 2017, 4:26 PM
moranegg triaged this task as High priority.
moranegg updated the task description. (Show Details)
moranegg updated the task description. (Show Details)