Closed nuest closed 6 years ago
not brokering invalid dependencies from raw to o2r would require the broker to know about invalidities. should it call the validator? I think the second possibility you suggest is much easier for now.
I agree! Mixing validation and brokering seems like opening a can of worms.
The o2r metadata schema requires dependencies listed under
depends
to have aversion
of typeString
. When extracting metadata from https://github.com/o2r-project/o2r-muncher/tree/master/test/erc/metatainer-doi and brokering it too2r
, the result does not have the versions. AFAICS it cannot have them. I see two possibilities:version
optional in https://github.com/o2r-project/o2r-meta/blob/master/schema/json/o2r-meta-schema.json#L41Erroneous metadata