cnvrg 2.1.5 → 2.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffe47307abd2feac46497f34ceec95fab9a866324a235db3ab6f0c61129a7a9d
4
- data.tar.gz: cd8316866861c8b16ec4a4d1d001d8da20f79e34ab95ea38a850a8bce79d6d66
3
+ metadata.gz: 296eba8c8dab87e1a16b7980c1e80b013be95af52cfc184a12cf366f676a3a2b
4
+ data.tar.gz: '08ad62abd898bb6bb1a9099237f5ebd854f87359ecc571036ce351b259127d78'
5
5
  SHA512:
6
- metadata.gz: 9b73987d1023e4aa2600ca11555078194398e7e10cb1d0314569aac8ab24a7385a41c4e86e70a169a4502f122e56baa1bde68ea5cb13706c666996c7a92b5244
7
- data.tar.gz: 8dbd96c0b77e8c88d52254d04af38efa20fcab1c003027c8ee4b8e5918dc01ff35ae35505ec5d36687183925847438d5cb49eb8063a2db2ed2784a13e09900d3
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
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '2.1.5'
2
+ VERSION = '2.1.6'
3
3
  end
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.5
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-07 00:00:00.000000000 Z
13
+ date: 2022-08-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler