arvados-cli 0.1.20140612144922 → 0.1.20140612152159
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/crunch-job +7 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd026c9cafbd77abe28195f8db355d2604f3ce46
|
4
|
+
data.tar.gz: e2ed7aed74ccd8ce186d359aade2b3bb2319a112
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4909acbddad2f2e67b8c259f3011e1fef9e5bfa19969a5e7de099d32cd4f465c665d5515b5ee004b68fcdf21114f9f86f6e5d4951fa40f3139491a05dd8b058f
|
7
|
+
data.tar.gz: b4e33cac2782ce0e64b64f4f05ca945e4edf3420dfa7908151a5bdb7637bfa798d7128dc33e1761b4420dbcd99483590688a33e2651034bbd4ece9a7c223ea01
|
data/bin/crunch-job
CHANGED
@@ -821,20 +821,22 @@ if ($collated_output)
|
|
821
821
|
or die "failed to get collated manifest: $!";
|
822
822
|
# Read the original manifest, and strip permission hints from it,
|
823
823
|
# so we can put the result in a Collection.
|
824
|
-
my @
|
824
|
+
my @stripped_manifest_lines = ();
|
825
|
+
my $orig_manifest_text = '';
|
825
826
|
while (my $manifest_line = <$orig_manifest>) {
|
827
|
+
$orig_manifest_text .= $manifest_line;
|
826
828
|
my @words = split(/ /, $manifest_line, -1);
|
827
829
|
foreach my $ii (0..$#words) {
|
828
830
|
if ($words[$ii] =~ /^[0-9a-f]{32}\+/) {
|
829
831
|
$words[$ii] =~ s/\+A[0-9a-f]{40}@[0-9a-f]{8}\b//;
|
830
832
|
}
|
831
833
|
}
|
832
|
-
push(@
|
834
|
+
push(@stripped_manifest_lines, join(" ", @words));
|
833
835
|
}
|
834
|
-
my $
|
836
|
+
my $stripped_manifest_text = join("", @stripped_manifest_lines);
|
835
837
|
my $output = $arv->{'collections'}->{'create'}->execute('collection' => {
|
836
|
-
'uuid' => md5_hex($
|
837
|
-
'manifest_text' => $
|
838
|
+
'uuid' => md5_hex($stripped_manifest_text),
|
839
|
+
'manifest_text' => $orig_manifest_text,
|
838
840
|
});
|
839
841
|
$Job->update_attributes('output' => $output->{uuid});
|
840
842
|
if ($Job->{'output_is_persistent'}) {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.20140612152159
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
@@ -146,7 +146,7 @@ dependencies:
|
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0.8'
|
149
|
-
description: This is the Arvados SDK CLI gem, git revision
|
149
|
+
description: This is the Arvados SDK CLI gem, git revision 4d84c7d2c66ea255db24e2b4159bcafed29ef00d
|
150
150
|
email: gem-dev@curoverse.com
|
151
151
|
executables:
|
152
152
|
- arv
|