-
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
job platforms: Forward lookup #3459
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.
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, but:
- one item name change suggested
- one question: sorry if I missed this in the proposal, but have we lost the ability to specify a job host in the suite config file if it has not already been defined in the global config file?
Yes. But because the platform can be a regex (and therefore allow the creation of a lot of similar platforms) it will seem to the user like they can just add hosts, as long as the host fit the patterns. Additionally, any user who is really desperate can define their own platforms in their user config. |
- changed slicing reverse to reversed - changed task_platform to job_platform - removed development comment
Here is an overview of what got changed by this pull request: Complexity increasing per file
==============================
- cylc/flow/platform_lookup.py 4
See the complete overview on Codacy |
Added forward lookup method
Tests added to ensure working as required.
These changes relate to Platform support #3453
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.