cnvrg 2.1.5 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +4 -1
- data/lib/cnvrg/cli.rb +2 -2
- data/lib/cnvrg/project.rb +2 -2
- data/lib/cnvrg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 296eba8c8dab87e1a16b7980c1e80b013be95af52cfc184a12cf366f676a3a2b
|
4
|
+
data.tar.gz: '08ad62abd898bb6bb1a9099237f5ebd854f87359ecc571036ce351b259127d78'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5174c705ed765c76538401ea14ea2c14e267d98836b3d8e8b66a72d31d4f7ee2eeb313fbd080cd15a513bb4149f907aef075be2d7f6bab4b96afefb4ba5f341
|
7
|
+
data.tar.gz: 355b440e9a009571e2f097599d14418fcdbe0a79cfaae8473637722745923f8b138b4fdbc0e3ee60107122835f98468811661b770ffee4008f8b141250361fce
|
data/Readme.md
CHANGED
@@ -95,4 +95,7 @@
|
|
95
95
|
## Version v2.1.5
|
96
96
|
2022-07-31
|
97
97
|
* DEV-14244 - Bug: CLI - "failed to upload ongoing stats" due to NaN in float
|
98
|
-
* DEV-14633 - Bug: End sync did not complete, causing the experiment to get stuck in "terminating"
|
98
|
+
* DEV-14633 - Bug: End sync did not complete, causing the experiment to get stuck in "terminating"
|
99
|
+
## Version v2.1.6
|
100
|
+
2022-08-09
|
101
|
+
* DEV-14682 - Bug: git-Walki: CLI/SDK experiments goes into debug mode for Github+SSH integrated projects
|
data/lib/cnvrg/cli.rb
CHANGED
@@ -1848,7 +1848,7 @@ module Cnvrg
|
|
1848
1848
|
log_start(__method__, args, options)
|
1849
1849
|
project_home = Dir.pwd
|
1850
1850
|
soft = options["soft"] || false
|
1851
|
-
Project.stop_if_project_present(project_home, slug) if soft
|
1851
|
+
Project.stop_if_project_present(project_home, slug, owner) if soft
|
1852
1852
|
clone_resp = Project.clone_dir_remote(slug, owner, slug,true)
|
1853
1853
|
exit 1 if not clone_resp
|
1854
1854
|
idx_status = Project.new(get_project_home).generate_idx(files:[])
|
@@ -1918,7 +1918,7 @@ module Cnvrg
|
|
1918
1918
|
clone_resp = false
|
1919
1919
|
project_home = Dir.pwd
|
1920
1920
|
|
1921
|
-
Project.stop_if_project_present(project_home, project_name) if soft
|
1921
|
+
Project.stop_if_project_present(project_home, project_name, owner) if soft
|
1922
1922
|
|
1923
1923
|
if remote and !git
|
1924
1924
|
clone_resp = Project.clone_dir_remote(slug, owner, project_name,git)
|
data/lib/cnvrg/project.rb
CHANGED
@@ -829,12 +829,12 @@ module Cnvrg
|
|
829
829
|
Cnvrg::API.request("users/#{@owner}/projects/#{@slug}/jobs/#{job_type.underscore}/#{job_id}/set_started", "POST", {job_type: job_type, job_id: job_id})
|
830
830
|
end
|
831
831
|
|
832
|
-
def self.stop_if_project_present(project_home, project_name)
|
832
|
+
def self.stop_if_project_present(project_home, project_name, owner)
|
833
833
|
cli = Cnvrg::CLI.new()
|
834
834
|
config = YAML.load_file(project_home + "/.cnvrg/config.yml")
|
835
835
|
local_commit = YAML.load_file(project_home + "/.cnvrg/idx.yml")[:commit] rescue nil
|
836
836
|
return if local_commit.blank?
|
837
|
-
if config[:project_name] == project_name
|
837
|
+
if config[:project_name] == project_name && config[:owner] == owner
|
838
838
|
cli.log_message("Project already present, clone aborted")
|
839
839
|
exit(0)
|
840
840
|
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: 2.1.
|
4
|
+
version: 2.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yochay Ettun
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-08-
|
13
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|