arvados-cli 0.1.20150529160203 → 0.1.20150529180401
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 +17 -13
- 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: 8bec1865a7a48a02773857fae3cac6b17db24701
|
4
|
+
data.tar.gz: c5ca95ddaafb6fc953d77194b9ca94d8d321cf04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad0f42ae02c9065f6e6d4d929a4e50ea3c2e996bffebe23e1b99cedf875974bfbb3ce1b9df659f5d46b71b0e90428b8c2774bc6cc646f2763b65ce498f021fda
|
7
|
+
data.tar.gz: 287993c105debeaad2fca946942da43d8f13d5d710f7248ab7e60033855dbd8db3bc632760c596c5fb67145b5f7f7bece62c05fe5f2dfae3411a2f6e24cfb92a
|
data/bin/crunch-job
CHANGED
@@ -2083,19 +2083,23 @@ if (readlink ("$destdir.archive_hash") eq $archive_hash && -d $destdir) {
|
|
2083
2083
|
unlink "$destdir.archive_hash";
|
2084
2084
|
mkdir $destdir;
|
2085
2085
|
|
2086
|
-
|
2087
|
-
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2098
|
-
}
|
2086
|
+
do {
|
2087
|
+
# Ignore SIGPIPE: we check retval of close() instead. See perlipc(1).
|
2088
|
+
local $SIG{PIPE} = "IGNORE";
|
2089
|
+
warn "Extracting archive: $archive_hash\n";
|
2090
|
+
if (!open(TARX, "|-", "tar", "-xC", $destdir)) {
|
2091
|
+
die "Error launching 'tar -xC $destdir': $!";
|
2092
|
+
}
|
2093
|
+
# If we send too much data to tar in one write (> 4-5 MiB), it stops, and we
|
2094
|
+
# get SIGPIPE. We must feed it data incrementally.
|
2095
|
+
my $tar_input;
|
2096
|
+
while (read(DATA, $tar_input, 65536)) {
|
2097
|
+
print TARX $tar_input;
|
2098
|
+
}
|
2099
|
+
if(!close(TARX)) {
|
2100
|
+
die "'tar -xC $destdir' exited $?: $!";
|
2101
|
+
}
|
2102
|
+
};
|
2099
2103
|
|
2100
2104
|
mkdir $install_dir;
|
2101
2105
|
|
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.20150529180401
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
- - "<"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.0.0
|
181
|
-
description: Arvados command line tools, git commit
|
181
|
+
description: Arvados command line tools, git commit 9413eb733015601af699f2027d9a7a5bad3f3dea
|
182
182
|
email: gem-dev@curoverse.com
|
183
183
|
executables:
|
184
184
|
- arv
|