Page MenuHomeSoftware Heritage

Add a 'metadata' field to releases.
ClosedPublic

Authored by vlorentz on Jul 18 2019, 10:52 AM.

Details

Summary

Loaders use it, but it is ignored by the pg storage.
However, as the Cassandra storage uses swh-model to validate
its input, it refuses this input from the loaders (and journal).

Diff Detail

Repository
rDMOD Data model
Branch
release-metadata
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6915
Build 9706: tox-on-jenkinsJenkins
Build 9705: arc lint + arc unit

Event Timeline

ardumont added a subscriber: ardumont.

Loaders use it, but it is ignored by the pg storage.

Rapidly checking, i saw loader-mercurials sets a default release with 'metadata' to None, that is the culprit.
We discuss the possibility to add those metadata to release some time ago anyway...

So fine, accepting.

This revision is now accepted and ready to land.Jul 18 2019, 12:22 PM
This revision was landed with ongoing or failed builds.Jul 18 2019, 12:25 PM
This revision was automatically updated to reflect the committed changes.