Skip to content

Commit 43b5fb9

Browse files
jmchiltonmr-c
authored andcommitted
Describe LooseDependencyHints.
1 parent 41c119b commit 43b5fb9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

draft-4/CommandLineTool.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,27 @@ $graph:
626626
Docker container.
627627
628628
629+
- type: record
630+
name: LooseDependencyHint
631+
extends: "#ProcessRequirement"
632+
doc: |
633+
If a CommandLineTool is executed by a platform that is not configured to use
634+
Docker, this dependency can annotate hints about the software that should
635+
be configured in the environment of the defined process.
636+
637+
Absolute portability between platforms should be achieved with Docker, this
638+
mechanism provides an inexact and imprecise fallback. The inexact nature of these
639+
hints is due to this standard not specifying the base operating environment of
640+
the process or how the that environment is to be configured as a result of these
641+
hints. The imprecise nature of these hints is due to the `name` and `version`
642+
fields being unstructured and not namespaced.
643+
fields:
644+
- name: name
645+
type: ["string"]
646+
doc: "The name of the software to be configured."
647+
- name: "version"
648+
type: ["null", "string"]
649+
doc: "The (optional) version of the software to configured."
629650

630651
- name: CreateFileRequirement
631652
type: record

0 commit comments

Comments
 (0)