HomeSoftware Heritage

Added content_metadata logic to the storage
8465e7b92751Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.
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 7 2017, 3:34 PM
Differential Revision
D219: Added content_metadata logic to the storage

Commit No Longer Exists

This commit no longer exists in the repository.