-
Notifications
You must be signed in to change notification settings - Fork 94
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
added metadata section to platforms and platform groups config #4558
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.
Looks good. Just wondering about a few things though:
- worth putting the common descriptive text in a string constant?
- would a short-cut option would be useful (e.g.
--describe-platforms
) that just prints platform names and metadata? - there's no internal use for this, so I wonder if a single
meta
(ordescription
?) item would suffice, rather than a section for multiple arbitrary items? (I suppose it's possible that individual items that can be extracted separately could be useful at a site ... e.g.cost per cpu hour
or something?).
Yes
I think so; see #4557 - I'm think that I'm going to take your comment as a yes to the question in that ticket.
It would, but I think it's reasonable to leave it open ended - examples might include [meta]
description = """
Our Cluster.
"""
url=http://somedocs.internalwebsite.com
max-memory-request=200G
max-cpu-request=12 Though to be honest, I'm not completely convinced that this is required. |
@hjoliver : I think I've now
[1] Just because Cylc has no internal use for formally defined fields doesn't mean that someone else can't use them. For example, my personal workflows repo has a script which GH actions uses to extract metadata and dump it in the repo |
I think you might have misinterpreted my comment on this, which was:
I meant, this descriptive text is identical for platform and group:
... so, it should really be stored in a string constant to avoid the duplication. Also, There are no-preset items is now not true since you've added a preset |
@hjoliver - completely got the wrong end of the stick here - have pushed another commit which hopefully hits nearer the mark. |
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.
That's got it, thanks @wxtim
These changes close #4528
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.cylc config --list-platforms
#4557