rdmorganiser / rdmo

A tool to support the planning, implementation, and organization of research data management.
https://rdmorganiser.github.io
Apache License 2.0
105 stars 49 forks source link

Add minimum version to RDMO XML exports #1205

Open jochenklar opened 15 hours ago

jochenklar commented 15 hours ago

Description / Beschreibung

Right now, RDMO XML content files cannot be imported in instances, which have an older RDMO version than the file was exported from. Instead of relying on the version attribute, the export should have a required attribute, which denotes the minimal RDMO version this file can be imported in.

MyPyDavid commented 13 hours ago

Will there be another issue about that an RDMO instance, currently, does not support importing from future versions? https://github.com/rdmorganiser/rdmo/blob/1eadee51947399601d85e476b261391826e0f95a/rdmo/core/xml.py#L50

jochenklar commented 13 hours ago

This is exactly what this issue is about. We would change this line to required_version > rdmo_version.