Skip to content
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

Add RequiredDaemons list to DirectiveBreakdown #202

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Conversation

roehrich-hpe
Copy link
Contributor

Allow a user to specify a list of required daemons to their "#DW jobdw ..." directive. The new keyword is "requires=" and it takes a list of strings:

requires=copy-offload,future-thing

The dwdparse library is updated to support parsing a comma-separated list of strings, with a list of RE patterns for each element allowed in the list.

The DirectiveBreakdownStatus has a new field RequiredDaemons to hold the list of daemons.

Allow a user to specify a list of required daemons to their "#DW jobdw ..."
directive. The new keyword is "requires=" and it takes a list of strings:

  requires=copy-offload,future-thing

The dwdparse library is updated to support parsing a comma-separated list
of strings, with a list of RE patterns for each element allowed in the list.

The DirectiveBreakdownStatus has a new field RequiredDaemons to hold the list
of daemons.

Signed-off-by: Dean Roehrich <[email protected]>
},
{
directives: []string{
"#DW check_requires requires=copy-offload,other-thing,copy-offload",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be worth a comment to state that you can't repeat

Signed-off-by: Dean Roehrich <[email protected]>
@roehrich-hpe roehrich-hpe merged commit 0eac099 into master Jun 26, 2024
2 checks passed
@roehrich-hpe roehrich-hpe deleted the required-daemons branch June 26, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants