cidgoh / DataHarmonizer

A standardized browser-based spreadsheet editor and validator that can be run offline and locally, and which includes templates for SARS-CoV-2 and Monkeypox sampling data. This project, created by the Centre for Infectious Disease Genomics and One Health (CIDGOH), at Simon Fraser University, is now an open-source collaboration with contributions from the National Microbiome Data Collaborative (NMDC), the LinkML development team, and others.
MIT License
91 stars 23 forks source link

Implement template versioning #319

Closed griffie closed 1 year ago

griffie commented 2 years ago

Currently the DH is versioned as a whole.

We need a system for versioning templates so we can track how they have changed (the DH may get a version bump, but some templates may not have changed).

We also need to make finding the template version information clear and easy for users (e.g. in the version description, but then we will need some sort of record keeping system when we update the DH google sheets so we know to update the template version information when we do a new release).

ddooley commented 2 years ago

We now have it that each template schema file now contains a version=1.2.3 annotation. Next step is to add it to DH provenance field output.

ddooley commented 1 year ago

As well, we need to get the LinkML specification to accept version (or "class_version") annotation for classes. Currently only schema can get a version annotation. A LinkML issue has been raised about this. https://github.com/linkml/linkml/issues/868

ddooley commented 1 year ago

This is resolved now by using a "version" annotation on a LinkML class (existing LinkML feature).