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
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.

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.