How to test meta-data changes in the rose edit GUI in lfric? #281
Replies: 2 comments 9 replies
-
Hi again :) The answer is that you need to have a copy of LFRic Core metadata available - obviously it's best to use whatever version of core you have in your dependencies.sh file. You'll need to checkout a working copy of that core version, and then do This is probably lacking in detail in the working practices. I'll update that in a PR for Upgrade Macros I have open. |
Beta Was this translation helpful? Give feedback.
-
Update: which contains:
is some kind of master meta-data file that puts all the bits together, so presumably that is the one I want the lfric_atm app to point to :) The reason my attempts to use this are failing is because the first line: All the other paths imported above DO exist in the lfric_apps repository; its just that first one that doesn't. I wonder what happens if I just delete that line? ;) ... |
Beta Was this translation helpful? Give feedback.
-
Hi all, sorry me again!
I noticed with interest the new box on the lfric_apps ticket summary form:
How do you actually do this? I've so far failed to find any guidance in the working practices.
I tried just firing up
"rose edit"
or
"rose config-edit -M "
in a rose-stem app directory,
but these attempts have all failed with the GUI giving errors about not being able to find the meta-data. The problem is that there isn't a single rose-meta directory you can point to in lfric_apps; there are various different rose-meta directories for the different components. But the rose-app.conf files just have a single "meta=" field for everything, so its impossible!
I also took some guesses and tried pointing the "meta=" field in rose-app.conf to:
applications/lfric_atm/rose-meta/lfric-lfric_atm/HEAD
or
science/gungho/rose-meta/lfric-gungho/HEAD
in my branch working copy.
But then rose edit falls over complaining it can't find a path it wants to look for inside the directory specified in "meta=". (it refers to things inside a directory called "components/driver/rose-meta", which I can't find anywhere in lfric_apps).
Does anyone know where I need to point "meta=" to correctly test my branch meta-data when I open an lfric_apps rose-app.conf file in the GUI? Any chance we can have some guidance on this in the working practices?
Cheers!
Mike
Beta Was this translation helpful? Give feedback.
All reactions