oemetadata icon indicating copy to clipboard operation
oemetadata copied to clipboard

Context field in metadata/<version>/ always links to oemetadata/develop/metadata/latest/context.json

Open jh-RLI opened this issue 1 year ago • 2 comments

Description of the issue

In all example.json files for each release we link to the context.json file that is in latest: https://raw.githubusercontent.com/OpenEnergyPlatform/oemetadata/develop/metadata/latest/context.json

Steps to Reproduce

https://github.com/OpenEnergyPlatform/oemetadata/blob/cc4ebffbcec096f642c30432c70afc7f2e6fbdd2/metadata/v160/example.json#L390

Ideas of solution

We should link to the context file that is related to the current release.

Context and Environment

  • Version used:
  • Operating system:
  • Environment setup and (python) version:

Workflow checklist

jh-RLI avatar Jul 03 '23 09:07 jh-RLI

We should link to the context file that is related to the current release.

For the released versions this could be changed. For future releases, the link should be changed in a commit during the release, as the OEMetadata version folder is currently only created with the release if I'm not mistaken.

chrwm avatar Jul 03 '23 12:07 chrwm

  • [ ] Fix @context field URL for existing releases
  • [ ] Add task to release prozedure ... Update @context field url to release source

jh-RLI avatar Jul 03 '23 12:07 jh-RLI

The field @context has been included in version 150.

Looking at the older version the links to schema.json are broken until version 150.

Ludee avatar Oct 16 '24 08:10 Ludee