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

language cleanups #33

Open
tetron opened this issue Jul 17, 2024 · 1 comment
Open

language cleanups #33

tetron opened this issue Jul 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@tetron
Copy link
Member

tetron commented Jul 17, 2024

Goal: move essential features from "Requirement" to regular features, and make optional the requirements that only exist to indicate a certain feature is used in the document.

Command line tool

InitialWorkDirRequirement

Becomes "initialWorkDir" optional field of CommandLineTool, with the same schema and semantics as InitialWorkDirRequirement "listing" field.

EnvVarRequirement

Becomes "envDef" optional field of CommandLineTool, with same schema and sematics as EnvVarRequirement "envDef".

NetworkAccess

Becomes "networkAccess" optional field of CommandLineTool, with same schema and sematics as NetworkAccess "networkAccess".

ShellCommandRequirement

See #44

Workflows

SubworkflowFeatureRequirement

This becomes optional. This feature is allowed by default.

ScatterFeatureRequirement

This becomes optional. This feature is allowed by default.

MultipleInputFeatureRequirement

This becomes optional. This feature is allowed by default.

StepInputExpressionRequirement

This becomes optional. This feature is allowed by default.

@tetron tetron added the enhancement New feature or request label Jul 17, 2024
@mr-c
Copy link
Member

mr-c commented Jul 17, 2024

Yes, if we add feature detection to https://github.com/common-workflow-language/cwl-upgrader for @tom-tan and others to use as a reference

This was referenced Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants