cnvrg 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cnvrg/cli.rb +15 -2
- data/lib/cnvrg/datafiles.rb +0 -2
- data/lib/cnvrg/version.rb +1 -1
- 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: 25b58081b1cb2e38c5d005ae73351be64d558139
|
4
|
+
data.tar.gz: b73f8907fcec8ca473e7e736d45bbbc9cd3da0c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41f8d755bdcfe87720c666aef040eb47c7373961a58b28c024141859ec1f28aa4a82279dae5089d726e4d0be0d227beea86aa7f2a7255b08358ae833c2c4a214
|
7
|
+
data.tar.gz: 89ced73c9ceb966b619f29028a1e53490ed48fbfdaa0ca556cbf0a667da14901a648da9077244400fe44939da836693c9f86a33cec22bbde0e7d4667b8cdf69b
|
data/lib/cnvrg/cli.rb
CHANGED
@@ -885,7 +885,6 @@ module Cnvrg
|
|
885
885
|
if !read
|
886
886
|
@dataset.write_idx(nil, commit) #nil means, generate idx
|
887
887
|
end
|
888
|
-
log_message("#{Time.now} Clone finished successfully", Thor::Shell::Color::GREEN)
|
889
888
|
|
890
889
|
log_message("#{check} Clone finished successfully", Thor::Shell::Color::GREEN)
|
891
890
|
end
|
@@ -3847,6 +3846,7 @@ module Cnvrg
|
|
3847
3846
|
if !instance_type.nil? and instance_type.include? "gpu"
|
3848
3847
|
remote = "#{remote} --gpu=true"
|
3849
3848
|
end
|
3849
|
+
|
3850
3850
|
output_dir = options["output_dir"] || nil
|
3851
3851
|
git_commit = options["git_commit"]
|
3852
3852
|
git_branch = options["git_branch"]
|
@@ -3889,8 +3889,21 @@ module Cnvrg
|
|
3889
3889
|
|
3890
3890
|
|
3891
3891
|
|
3892
|
+
end
|
3893
|
+
#handle grid if it's git project
|
3894
|
+
if project.is_git and grid.present?
|
3895
|
+
if !File.exist? "#{project.local_path}/#{grid}"
|
3896
|
+
log_message("Hyper Search File:#{grid} couldn't be found", Thor::Shell::Color::RED)
|
3897
|
+
return
|
3892
3898
|
end
|
3893
|
-
|
3899
|
+
grid_content = YAML.load_file("#{project.local_path}/#{grid}")
|
3900
|
+
if grid_content.present?
|
3901
|
+
grid = grid_content
|
3902
|
+
else
|
3903
|
+
log_message("Hyper Search file:#{grid} has no content", Thor::Shell::Color::RED)
|
3904
|
+
return
|
3905
|
+
end
|
3906
|
+
end
|
3894
3907
|
|
3895
3908
|
if command.include? "'"
|
3896
3909
|
oc = command.to_enum(:scan, /'/).map {Regexp.last_match}
|
data/lib/cnvrg/datafiles.rb
CHANGED
@@ -956,8 +956,6 @@ module Cnvrg
|
|
956
956
|
return Cnvrg::Result.new(false,"Could not create file: #{file_path}")
|
957
957
|
end
|
958
958
|
rescue => e
|
959
|
-
puts(e)
|
960
|
-
puts(e.backtrace)
|
961
959
|
return Cnvrg::Result.new(false,"Could not create file: #{file_path}", e.message, e.backtrace)
|
962
960
|
raise Parallel::Kill
|
963
961
|
end
|
data/lib/cnvrg/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cnvrg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yochay Ettun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|