Skip to content

Doc updater #115

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

Merged
merged 10 commits into from
Jul 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions cwltool/schemas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,11 @@ provides a gentle introduction to writing CWL command line tool and workflow des

## CWL Specification

The current stable specification is [draft 3](http://www.commonwl.org/draft-3/):
The current stable specification is [v1.0](http://www.commonwl.org/v1.0/):

http://www.commonwl.org/draft-3/
http://www.commonwl.org/draft-v1.0/

The next work-in-progress specification is [draft 4](http://www.commonwl.org/draft-4/):

http://www.commonwl.org/draft-4/

Older drafts: [draft-1](https://github.com/common-workflow-language/common-workflow-language/tree/master/draft-1), [draft-2](http://www.commonwl.org/draft-2/)
Older drafts: [draft-1](https://github.com/common-workflow-language/common-workflow-language/tree/master/draft-1), [draft-2](http://www.commonwl.org/draft-2/), [draft-3](http://www.commonwl.org/draft-3/)

### Citation

Expand Down
4 changes: 2 additions & 2 deletions cwltool/schemas/draft-3/Workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ $graph:
extends: "#Process"
documentRoot: true
specialize:
specializeFrom: "#OutputParameter"
specializeTo: "#WorkflowOutputParameter"
- specializeFrom: "#OutputParameter"
specializeTo: "#WorkflowOutputParameter"
doc: |
A workflow describes a set of **steps** and the **dependencies** between
those processes. When a process produces output that will be consumed by a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ $graph:
extends: ["#NamedType", "#RecordSchema", "#SchemaDefinedType"]
documentRoot: true
specialize:
specializeFrom: "#RecordField"
specializeTo: "#SaladRecordField"
- specializeFrom: "#RecordField"
specializeTo: "#SaladRecordField"
fields:
- name: abstract
type: ["null", boolean]
Expand Down
16 changes: 8 additions & 8 deletions cwltool/schemas/site/cwlsite-draft4-job.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[{
"source": {
"class": "File",
"path": "../draft-4/README.md"
"path": "../v1.0/README.md"
},
"target": "draft-4/index.html",
"target": "v1.0/index.html",
"renderlist": [],
"redirect": [],
"brandlink": "../index.html",
Expand All @@ -13,10 +13,10 @@
{
"source": {
"class": "File",
"path": "../draft-4/CommandLineTool-standalone.yml",
"path": "../v1.0/CommandLineTool-standalone.yml",
"secondaryFiles": {"$import": "draft4-deps.json"}
},
"target": "draft-4/CommandLineTool.html",
"target": "v1.0/CommandLineTool.html",
"renderlist": [
"https://w3id.org/cwl/cwl#CommandLineToolDoc",
"https://w3id.org/cwl/cwl#CommandLineTool"
Expand All @@ -29,10 +29,10 @@
{
"source": {
"class": "File",
"path": "../draft-4/CommonWorkflowLanguage.yml",
"path": "../v1.0/CommonWorkflowLanguage.yml",
"secondaryFiles": {"$import": "draft4-deps.json"}
},
"target": "draft-4/Workflow.html",
"target": "v1.0/Workflow.html",
"renderlist": [
"https://w3id.org/cwl/cwl#WorkflowDoc",
"https://w3id.org/cwl/cwl#Workflow"
Expand All @@ -51,7 +51,7 @@
},
{
"source": {$import: draft4-metaschema.json},
"target": "draft-4/SchemaSalad.html",
"target": "v1.0/SchemaSalad.html",
"renderlist": [
"https://w3id.org/cwl/salad#Semantic_Annotations_for_Linked_Avro_Data",
"https://w3id.org/cwl/salad#SaladRecordSchema",
Expand All @@ -65,7 +65,7 @@
},
#{
# "source": {"$import": "userguide-draft4-input.json"},
# "target": "draft-4/UserGuide.html",
# "target": "v1.0/UserGuide.html",
# "renderlist": [],
# "redirect": [],
# "brandlink": "index.html",
Expand Down
10 changes: 5 additions & 5 deletions cwltool/schemas/site/cwlsite-draft4-schemas.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[ {
"schema_in": {
"class": "File",
"path": "../draft-4/CommonWorkflowLanguage.yml",
"path": "../v1.0/CommonWorkflowLanguage.yml",
"secondaryFiles": {"$import": "draft4-deps.json"}
},
"context_target": "draft-4/cwl-context.json",
"rdfs_target": "draft-4/cwl.ttl"
"context_target": "v1.0/cwl-context.json",
"rdfs_target": "v1.0/cwl.ttl"
}, {
"schema_in": {$import: draft4-metaschema.json},
"context_target": "draft-4/salad-context.json",
"rdfs_target": "draft-4/salad.ttl"
"context_target": "v1.0/salad-context.json",
"rdfs_target": "v1.0/salad.ttl"
}
]
2 changes: 1 addition & 1 deletion cwltool/schemas/site/cwlsite.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env cwl-runner
cwlVersion: cwl:draft-4.dev3
cwlVersion: cwl:v1.0.dev4

class: Workflow
inputs:
Expand Down
24 changes: 12 additions & 12 deletions cwltool/schemas/site/draft4-deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"basename": "concepts.md",
"class": "File",
"location": "../draft-4/concepts.md"
"location": "../v1.0/concepts.md"
},
{
"basename": "salad",
Expand All @@ -25,7 +25,7 @@
{
"basename": "metaschema_base.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/metaschema_base.yml"
"location": "../v1.0/salad/schema_salad/metaschema/metaschema_base.yml"
}
]
}
Expand All @@ -36,55 +36,55 @@
],
"basename": "Process.yml",
"class": "File",
"location": "../draft-4/Process.yml"
"location": "../v1.0/Process.yml"
},
{
"secondaryFiles": [
{
"basename": "contrib.md",
"class": "File",
"location": "../draft-4/contrib.md"
"location": "../v1.0/contrib.md"
},
{
"basename": "concepts.md",
"class": "File",
"location": "../draft-4/concepts.md"
"location": "../v1.0/concepts.md"
},
{
"basename": "invocation.md",
"class": "File",
"location": "../draft-4/invocation.md"
"location": "../v1.0/invocation.md"
},
{
"basename": "intro.md",
"class": "File",
"location": "../draft-4/intro.md"
"location": "../v1.0/intro.md"
}
],
"basename": "CommandLineTool.yml",
"class": "File",
"location": "../draft-4/CommandLineTool.yml"
"location": "../v1.0/CommandLineTool.yml"
},
{
"secondaryFiles": [
{
"basename": "contrib.md",
"class": "File",
"location": "../draft-4/contrib.md"
"location": "../v1.0/contrib.md"
},
{
"basename": "concepts.md",
"class": "File",
"location": "../draft-4/concepts.md"
"location": "../v1.0/concepts.md"
},
{
"basename": "intro.md",
"class": "File",
"location": "../draft-4/intro.md"
"location": "../v1.0/intro.md"
}
],
"basename": "Workflow.yml",
"class": "File",
"location": "../draft-4/Workflow.yml"
"location": "../v1.0/Workflow.yml"
}
]
40 changes: 20 additions & 20 deletions cwltool/schemas/site/draft4-metaschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,105 +5,105 @@
{
"basename": "link_res_schema.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/link_res_schema.yml"
"location": "../v1.0/salad/schema_salad/metaschema/link_res_schema.yml"
},
{
"basename": "link_res_src.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/link_res_src.yml"
"location": "../v1.0/salad/schema_salad/metaschema/link_res_src.yml"
},
{
"basename": "link_res_proc.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/link_res_proc.yml"
"location": "../v1.0/salad/schema_salad/metaschema/link_res_proc.yml"
}
],
"basename": "link_res.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/link_res.yml"
"location": "../v1.0/salad/schema_salad/metaschema/link_res.yml"
},
{
"basename": "salad.md",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/salad.md"
"location": "../v1.0/salad/schema_salad/metaschema/salad.md"
},
{
"basename": "metaschema_base.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/metaschema_base.yml"
"location": "../v1.0/salad/schema_salad/metaschema/metaschema_base.yml"
},
{
"basename": "import_include.md",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/import_include.md"
"location": "../v1.0/salad/schema_salad/metaschema/import_include.md"
},
{
"secondaryFiles": [
{
"basename": "field_name_src.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/field_name_src.yml"
"location": "../v1.0/salad/schema_salad/metaschema/field_name_src.yml"
},
{
"basename": "field_name_schema.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/field_name_schema.yml"
"location": "../v1.0/salad/schema_salad/metaschema/field_name_schema.yml"
},
{
"basename": "field_name_proc.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/field_name_proc.yml"
"location": "../v1.0/salad/schema_salad/metaschema/field_name_proc.yml"
}
],
"basename": "field_name.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/field_name.yml"
"location": "../v1.0/salad/schema_salad/metaschema/field_name.yml"
},
{
"secondaryFiles": [
{
"basename": "ident_res_proc.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/ident_res_proc.yml"
"location": "../v1.0/salad/schema_salad/metaschema/ident_res_proc.yml"
},
{
"basename": "ident_res_schema.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/ident_res_schema.yml"
"location": "../v1.0/salad/schema_salad/metaschema/ident_res_schema.yml"
},
{
"basename": "ident_res_src.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/ident_res_src.yml"
"location": "../v1.0/salad/schema_salad/metaschema/ident_res_src.yml"
}
],
"basename": "ident_res.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/ident_res.yml"
"location": "../v1.0/salad/schema_salad/metaschema/ident_res.yml"
},
{
"secondaryFiles": [
{
"basename": "vocab_res_schema.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/vocab_res_schema.yml"
"location": "../v1.0/salad/schema_salad/metaschema/vocab_res_schema.yml"
},
{
"basename": "vocab_res_proc.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/vocab_res_proc.yml"
"location": "../v1.0/salad/schema_salad/metaschema/vocab_res_proc.yml"
},
{
"basename": "vocab_res_src.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/vocab_res_src.yml"
"location": "../v1.0/salad/schema_salad/metaschema/vocab_res_src.yml"
}
],
"basename": "vocab_res.yml",
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/vocab_res.yml"
"location": "../v1.0/salad/schema_salad/metaschema/vocab_res.yml"
}
],
"class": "File",
"location": "../draft-4/salad/schema_salad/metaschema/metaschema.yml"
"location": "../v1.0/salad/schema_salad/metaschema/metaschema.yml"
}
2 changes: 1 addition & 1 deletion cwltool/schemas/site/linkchecker.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class: CommandLineTool
cwlVersion: draft-4.dev3
cwlVersion: v1.0.dev4
hints:
DockerRequirement:
dockerFile: |
Expand Down
2 changes: 1 addition & 1 deletion cwltool/schemas/site/makecontext.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cwlVersion: draft-4.dev3
cwlVersion: v1.0.dev4
class: CommandLineTool
inputs:
schema:
Expand Down
2 changes: 1 addition & 1 deletion cwltool/schemas/site/makedoc.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cwlVersion: draft-4.dev3
cwlVersion: v1.0.dev4
class: CommandLineTool
requirements:
- class: InlineJavascriptRequirement
Expand Down
2 changes: 1 addition & 1 deletion cwltool/schemas/site/makerdfs.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cwlVersion: draft-4.dev3
cwlVersion: v1.0.dev4
class: CommandLineTool
inputs:
schema:
Expand Down
2 changes: 1 addition & 1 deletion cwltool/schemas/site/makespec.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cwlVersion: draft-4.dev3
cwlVersion: v1.0.dev4
class: Workflow

inputs:
Expand Down
2 changes: 1 addition & 1 deletion cwltool/schemas/site/mergesecondary.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class: ExpressionTool
cwlVersion: draft-4.dev3
cwlVersion: v1.0.dev4
inputs:
primary: File
secondary: File[]
Expand Down
Loading