-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version controling metadata in Molgenis #7566
Comments
Hi @cpavanrun, thanks for reporting! I think you're running into a bug where the compatibility check of the emx importer is being way too simplistic. |
I do have a third workaround that I can think of: Do the metadata editing in molgenis using the metadata editor plugin and use the EMX download tool to download the changes in emx format. |
Hi @fdlk, thanks for your reply! Your suggested third workaround is an improvement of the second workaround but seems backwards too me. That is, the flow is from the instance to the version controlling. Not withstanding the method requires you to unzip the download, throw out the not relevant package metadata (i.e. A fourth workaround I could come up with is building a custom updater that tries to update the relevant system entities via the API (i.e. Fixing the simplistic checks of the EMX updater is something that we would really would like to have to keep things tidy and future proof. Is there anything we can do to help fix it or push it onto the roadmap for the 7 release? (I forgot to mentiond but you are correctly assuming we're running version 6.1 =) ) |
Thanks for your input. In fact one would like to be able to express metadata changes as migrations, which we are looking to design and implement one day. Given the current huge backlog of todos that may, unfortunately, take a while. |
Thanks for the info @LuukDijkhuis . We painfully understand the backlog problem. We'll keep taps on the changelog and try and keep things clear. |
As a dev team we are working on deploying MolGenis. This includes updating the metadata of a running instance; entities, attributes, etc.
Currently we maintain comma-separated value files with metadata within a git repository (i.e.
attributes.csv
,entities.csv
, etc).However, we've run into problems with version controlling this aspect of our MolGenis instance. The most obvious update route is to provide the EMX importer plugin with the latest version of metadata.
Expected behavior
MolGenis updates the related entites with the new metadata.
Observed behavior
We often run into the following problem:
You are trying to upload entities that are not compatible with the already existing entities [..]
Workarounds
We do either of the following:
The first one is iffy on production systems and has a high pray-that-nothing-gets-lost vibe.
The second one is bound to have diverging metadata between the actual instance and what we (remember) to add in git.
Our question: is there a better way?
The text was updated successfully, but these errors were encountered: