arvados-cli 0.1.20140915112745 → 0.1.20140916224142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/arv-run-pipeline-instance +12 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b6745cb6e9a3739e122cf8810278e722c4fc469
|
4
|
+
data.tar.gz: aa6d7e7d3445e2d6d9d6dfc2bc6ab5340d8ddc4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bc01916926a94b002274c876f904ac1f12d48c4892205a093c093e6320cd107a73e49d79c781667e9db57378ba255d3e784cf98db11507cd6c035174ffe2cf0
|
7
|
+
data.tar.gz: 8f9b00f6d2e0b29cc6a3522a8b4f79b60a6c2d78c4423f758bf47984744c0763bd83ac3adad99ccdcebfa0b7cc8fe90e8df732481651dcf3032c942828b46f58
|
@@ -42,6 +42,8 @@
|
|
42
42
|
# [--status-json path] Print JSON status report to a file or
|
43
43
|
# fifo. Default: /dev/null
|
44
44
|
#
|
45
|
+
# [--description] Description for the pipeline instance.
|
46
|
+
#
|
45
47
|
# == Parameters
|
46
48
|
#
|
47
49
|
# [param_name=param_value]
|
@@ -175,6 +177,10 @@ p = Trollop::Parser.new do
|
|
175
177
|
"Manage the pipeline in process.",
|
176
178
|
:short => :none,
|
177
179
|
:type => :boolean)
|
180
|
+
opt(:description,
|
181
|
+
"Description for the pipeline instance.",
|
182
|
+
:short => :none,
|
183
|
+
:type => :string)
|
178
184
|
stop_on [:'--']
|
179
185
|
end
|
180
186
|
$options = Trollop::with_standard_exception_handling p do
|
@@ -478,6 +484,8 @@ class WhRunPipelineInstance
|
|
478
484
|
end
|
479
485
|
end
|
480
486
|
else
|
487
|
+
description = $options[:description]
|
488
|
+
description = ("Created at #{Time.now.localtime}" + (@template[:name].andand.size>0 ? " using the pipeline template *#{@template[:name]}*" : "")) if !description
|
481
489
|
@instance = PipelineInstance.
|
482
490
|
create(components: @components,
|
483
491
|
properties: {
|
@@ -486,6 +494,7 @@ class WhRunPipelineInstance
|
|
486
494
|
}
|
487
495
|
},
|
488
496
|
pipeline_template_uuid: @template[:uuid],
|
497
|
+
description: description,
|
489
498
|
state: ($options[:submit] ? 'RunningOnServer' : 'RunningOnClient'))
|
490
499
|
end
|
491
500
|
self
|
@@ -569,9 +578,11 @@ class WhRunPipelineInstance
|
|
569
578
|
debuglog "names: #{@instance[:name]} #{@template[:name]}", 0
|
570
579
|
if (not @instance[:name].nil?) and (not @instance[:name].empty?)
|
571
580
|
pipeline_name = @instance[:name]
|
572
|
-
|
581
|
+
elsif @instance[:pipeline_template_uuid]
|
573
582
|
fetch_template(@instance[:pipeline_template_uuid])
|
574
583
|
pipeline_name = @template[:name]
|
584
|
+
else
|
585
|
+
pipeline_name = "pipeline started #{@instance[:started_at]}"
|
575
586
|
end
|
576
587
|
if c[:output_name] != false
|
577
588
|
# Create a collection located in the same project as the pipeline with the contents of the output.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20140916224142
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arvados
|
@@ -166,7 +166,7 @@ dependencies:
|
|
166
166
|
- - "<"
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: 1.0.0
|
169
|
-
description: This is the Arvados SDK CLI gem, git revision
|
169
|
+
description: This is the Arvados SDK CLI gem, git revision 4cfb296612f7b483b56c36f119ca175def706d2f
|
170
170
|
email: gem-dev@curoverse.com
|
171
171
|
executables:
|
172
172
|
- arv
|