HomeSoftware Heritage

Added content_metadata logic to the storage

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Added content_metadata logic to the storage

Summary:
Keeping the indexed content_metadata in the storage with a content_metadata table.
Possibility to add with and without duplications and getting the content_metadata
with tool information.
works only for NPM context also because tool configuration.

TODO:

  • add json schema in json/ (should we keep CodeMeta schema as is or put PURl to it

for the translated_metadata_property?)

Test Plan:

  • content_metadata_missing
  • content_metadata_add skipping duplicate
  • content_metadata_add dropping duplicate
  • content_metadata_get
  • db_to_metadata conveter

Reviewers: ardumont

Differential Revision: https://forge.softwareheritage.org/D219

Details

Provenance
moraneggAuthored on Jun 27 2017, 4:16 PM
moraneggPushed on Jul 13 2017, 11:55 AM
moraneggPushed on Jul 13 2017, 11:18 AM
moraneggPushed on Jul 13 2017, 11:13 AM
Differential Revision
D219: Added content_metadata logic to the storage
Build Status
Buildable 941
Build 1251: Software Heritage Python tests

Commit No Longer Exists

This commit no longer exists in the repository.