kameleon-builder 2.10.7 → 2.10.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa12710602f297326fe8253eab48928c5e527a07bdc91b3f6686375faa83c8c5
4
- data.tar.gz: 306b743b116a9a53801208368f54a2e71bcf2b1bdb55f17d7549eac003403e0d
3
+ metadata.gz: 553ea238eb5037446a3a2fd352806d8f32bc19d728288b60b515d00c606c8862
4
+ data.tar.gz: 8ec292f91ce56340f1492f1c8f9533b4615fb108029d4985eb515d5c08a97a14
5
5
  SHA512:
6
- metadata.gz: a97ddc0ccb77269a2084ad51022b66393300404cd220d1eff6c51e85d2de8f33122d8d44d308c8c27ff4bcda6122076d5ed6e269ca01c2af51059a45eb4aa31b
7
- data.tar.gz: 5290bd82ceb90cabe2ee472485feb652c6b653638b45bff99e1869b56c86edf6845241082ea2561a0b33ea6ce52e2130d775dbcf59ec673e749cdedb1fb4612a
6
+ metadata.gz: 9b57c04cd35dbeb46a61dbb9b1a433b141f7952e8db071795505c061781ccbf63df33f4d3540f9c3c9d530ba7c4e3fa9d25f3397ea81e3abd17b85bbf7a75e35
7
+ data.tar.gz: 69179ec31b646c1b98c42817a880aa2423a316ada9338383f7fb88f7d4f9f0aefd40808803df4e5dd129d50a2f85218544c57223126f79121f6af2427a821691
data/.bumpversion.cfg CHANGED
@@ -1,7 +1,7 @@
1
1
  [bumpversion]
2
2
  commit = True
3
3
  tag = True
4
- current_version = 2.10.7
4
+ current_version = 2.10.8
5
5
  parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+))?
6
6
  serialize =
7
7
  {major}.{minor}.{patch}.{release}
data/CHANGES CHANGED
@@ -1,6 +1,14 @@
1
1
  Kameleon CHANGELOG
2
2
  ==================
3
3
 
4
+ Version 2.10.8
5
+ --------------
6
+
7
+ Released on October 21st 2022
8
+
9
+ - Fix a fatal error with the pipe command: make sure the destination context is started.
10
+ - Avoid git warning when running kameleon repo update: use git pull --ff-only
11
+
4
12
  Version 2.10.7
5
13
  --------------
6
14
 
@@ -106,6 +106,7 @@ module Kameleon
106
106
 
107
107
  Kameleon.ui.verbose("Forwarding #{tmp.path} to STDIN of #{other_ctx.name}_ctx")
108
108
  dest_pipe_path = "${KAMELEON_WORKDIR}/pipe-#{ Kameleon::Utils.generate_slug(other_cmd)[0..20] }"
109
+ other_ctx.load_shell
109
110
  other_ctx.send_file(tmp.path, dest_pipe_path)
110
111
  other_cmd_with_pipe = "cat #{dest_pipe_path} | #{other_cmd} && rm #{dest_pipe_path}"
111
112
  other_ctx.execute(other_cmd_with_pipe, kwargs)
@@ -30,7 +30,7 @@ module Kameleon
30
30
  git_repo = File.join(Kameleon.env.repositories_path, name)
31
31
  raise RepositoryError, "Repository not found '#{name}'" if not File.directory?(git_repo)
32
32
  cmd = ["git", "--git-dir", File.join(git_repo, ".git"), "--work-tree",
33
- git_repo, "pull", "--verbose"]
33
+ git_repo, "pull", "--ff-only"]
34
34
  process = ChildProcess.build(*cmd)
35
35
  process.io.inherit!
36
36
  process.start
@@ -177,7 +177,7 @@ SCRIPT
177
177
 
178
178
  def execute(cmd, kwargs = {})
179
179
  cmd_obj = Command.new(cmd)
180
- send_command cmd_obj = Command.new(cmd)
180
+ send_command(cmd_obj)
181
181
  iodata = {:stderr => { :io => @stderr,
182
182
  :name => 'stderr',
183
183
  :begin => false,
@@ -1,3 +1,3 @@
1
1
  module Kameleon
2
- VERSION = '2.10.7'
2
+ VERSION = '2.10.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kameleon-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.7
4
+ version: 2.10.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salem Harrache
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2021-12-07 00:00:00.000000000 Z
15
+ date: 2022-10-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: childprocess