-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
macros and core rose-stem #291
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sorting. A couple of trivial tweaks/suggestions
@@ -3,11 +3,12 @@ | |||
Testing LFRic Core | |||
================== | |||
|
|||
LFRic testing is run with the following command from a working copy: | |||
LFRic testing is now Cylc8 only and launched with rose-stem commands: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make this slightly less of the moment I'd suggest just including the "export CYLC_VERSION=8" in the command and use this headline sentence to just say that LFRic Core uses rose-stem (like Apps, UM etc).
It might then be worth a "note" box to say that calling make test-suite was deprecated from the core2.0 revision or something like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
source/WorkingPractices/macros.rst
Outdated
@@ -92,6 +92,10 @@ The organisation of LFRic metadata is different from other repositories (UM + Ju | |||
|
|||
To solve this, macros in LFRic Apps are applied using a wrapper script which will read the added macros and combine them into the versions.py files for the apps where that metadata is imported. Therefore when adding macros, the macro should be added in the versions.py file in the same metadata directory as the metadata change being made. It will then be shared as appropriate by the ``apply_macros.py`` script. | |||
|
|||
.. tip:: | |||
|
|||
The macro will only end up in versions.py files for metadata that is directly imported by a rose-stem app. Therefore if adding to eg. Science/gungho, the macro will be deleted from that file by the script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if a final sentence on here to drive home the "make sure you're ready for things to be deleted" message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Co-authored-by: Jenny Hickson <61183013+jennyhickson@users.noreply.github.com>
…ms into vn2.0_changes
Thanks Jenny, updated all those |
Add some clarifications to LFRic Upgrade Macros and change LFRic Core testing instructions to use cylc8 commands