Page MenuHomeSoftware Heritage

Make metadata indexers store the mappings used to translate metadata.
ClosedPublic

Authored by vlorentz on Jan 25 2019, 3:38 PM.

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont added a subscriber: ardumont.

Aside from the 2 remarks, this sounds good to go.

swh/indexer/sql/30-swh-schema.sql
135

please, update the schema version and add the migration script that alters the schema.

swh/indexer/storage/__init__.py
618

please remove those print statements.

This revision now requires changes to proceed.Jan 28 2019, 3:17 PM
  • Remove prints.
  • Add schema migration.

beware the db version is wrong in the schema migration script.

sql/upgrades/119.sql
7

119 ;)

This revision is now accepted and ready to land.Jan 28 2019, 3:50 PM
This revision was automatically updated to reflect the committed changes.