overture-stack / lectern

Data Schema / Dictionary management system
GNU Affero General Public License v3.0
0 stars 1 forks source link

Feature Request: Use semantic versioning for dictionaries #142

Open rosibaj opened 3 years ago

rosibaj commented 3 years ago

When submitting a new dictionary, only x.xx versions are allowed.,

We have run into issues with this in the ARGO implementation - three levels of version would help with dictionary version management, i.e x.x.x

image

For example:

curl --location --request POST 'https://lectern.qa.argo.cancercollaboratory.org/dictionaries' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Ego JET here>
--data-raw '
{
    "name": "ICGC-ARGO Data Dictionary-TeST VERSIONS",
    "version": "1.10.1",
    "references": {-dict info-},
    "schemas": [-dict info-]
}
`
ciaranschutte commented 3 months ago

May be supported already @joneubank https://github.com/overture-stack/lectern/blob/develop/libraries/dictionary/src/types/dictionaryTypes.ts#L275