kameleon-builder 2.10.11 → 2.10.12
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 +4 -4
- data/.bumpversion.cfg +1 -1
- data/AUTHORS +6 -5
- data/CHANGES +9 -0
- data/kameleon-builder.gemspec +2 -2
- data/lib/kameleon/cli.rb +1 -1
- data/lib/kameleon/recipe.rb +2 -2
- data/lib/kameleon/version.rb +1 -1
- data/lib/kameleon.rb +3 -3
- metadata +5 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 756d8f2585c156772b7fff190366543ed56ea250de8ecf0a9b08fa2a10ab9291
|
4
|
+
data.tar.gz: c0d8a7a73a6eeb8d436711811744c674f71c76fb71d1f2f724476a0aa1f441a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28dba475cc7f55acfe066a245cfc62e14962dacb933541b4df5c90bf78ae9c505f11561b0ec094feaf586cc6b2b85ce8b7c04da9a43ec0eee06652cb38507769
|
7
|
+
data.tar.gz: 5584616d421ffb8586ed25bbd1a20d4784077802231efba67d6777eef1f1a8a9b808b132a3093682979dc3f7b58c835515c1705ca084d8f8bc3eab7c02ca03da
|
data/.bumpversion.cfg
CHANGED
data/AUTHORS
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Kameleon is developed within the
|
2
2
|
Laboratoire LIG
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
Batiment IMAG
|
4
|
+
150 Place du Torrent
|
5
|
+
38400 Saint Martin d'Hères FRANCE
|
6
6
|
|
7
7
|
Kameleon is a sub-project of OAR, and so maintained by the OAR team.
|
8
8
|
|
@@ -11,9 +11,10 @@ Initially developed by:
|
|
11
11
|
Joseph Emeras < Joseph.Emeras@imag.fr >
|
12
12
|
Olivier Richard < olivier.richard@imag.fr >
|
13
13
|
Philippe Le Brouster < philippe.le-brouster@imag.fr >
|
14
|
-
|
15
|
-
Now maintained by:
|
16
14
|
Salem Harrache < salem.harrache@inria.fr >
|
17
15
|
Michael Mercier < michael.mercier@inria.fr >
|
18
16
|
Cristan Ruiz < cristian.ruiz@imag.fr >
|
19
17
|
Bruno Bzeznik < bruno.bzeznik@imag.fr >
|
18
|
+
|
19
|
+
Now maintained by:
|
20
|
+
Pierre Neyron < pierre.neyron@imag.fr >
|
data/CHANGES
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
Kameleon CHANGELOG
|
2
2
|
==================
|
3
3
|
|
4
|
+
Version 2.10.12
|
5
|
+
---------------
|
6
|
+
|
7
|
+
Released on February 18th 2025
|
8
|
+
|
9
|
+
- Fix AUTHORS: update maintainer.
|
10
|
+
- Fix bug with File.exists? (removed from ruby 3.3), use File.exist?
|
11
|
+
- Fix gemspec: License and update Thor to remove the DidYouMean::SPELL_CHECKERS warning.
|
12
|
+
|
4
13
|
Version 2.10.11
|
5
14
|
---------------
|
6
15
|
|
data/kameleon-builder.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.description = %q{The mindful appliance builder}
|
21
21
|
s.summary = %q{Kameleon is a tool to build system appliances from scratch}
|
22
22
|
s.homepage = 'http://kameleon.imag.fr/'
|
23
|
-
s.license = 'GPL-2.0'
|
23
|
+
s.license = 'GPL-2.0-or-later'
|
24
24
|
|
25
25
|
s.files = `git ls-files`.split($/)
|
26
26
|
s.files.reject! { |file| file.start_with?('docs/') }
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.require_paths = ['lib']
|
30
30
|
|
31
31
|
s.add_dependency 'childprocess', '~> 0.5.3', '>= 0.3.0'
|
32
|
-
s.add_dependency 'thor', '~>
|
32
|
+
s.add_dependency 'thor', '~> 1'
|
33
33
|
s.add_dependency 'table_print', '~> 1.5'
|
34
34
|
s.add_dependency 'psych', '~> 2.0'
|
35
35
|
s.add_dependency 'ruby-graphviz', '~> 1.2'
|
data/lib/kameleon/cli.rb
CHANGED
@@ -345,7 +345,7 @@ module Kameleon
|
|
345
345
|
end
|
346
346
|
end
|
347
347
|
Kameleon.ui.info("Export recipe #{recipe_path} to directory: #{dest_path}")
|
348
|
-
if File.
|
348
|
+
if File.exist?(dest_path)
|
349
349
|
unless options[:add]
|
350
350
|
raise if Kameleon.ui.level("verbose")
|
351
351
|
raise ExportError, "Target export directory '#{dest_path}' already "\
|
data/lib/kameleon/recipe.rb
CHANGED
@@ -85,7 +85,7 @@ module Kameleon
|
|
85
85
|
steps_dirs.push(File.expand_path(File.join(p.to_s, 'steps')))
|
86
86
|
steps_dirs.push(File.expand_path(File.join(p.to_s, '.steps')))
|
87
87
|
end
|
88
|
-
steps_dirs.select! { |x| File.
|
88
|
+
steps_dirs.select! { |x| File.exist? x }
|
89
89
|
end
|
90
90
|
|
91
91
|
def load!(kwargs = {})
|
@@ -157,7 +157,7 @@ module Kameleon
|
|
157
157
|
[File.join(steps_dir, section.name, path),
|
158
158
|
File.join(steps_dir, path)]
|
159
159
|
end
|
160
|
-
end.flatten.select { |x| File.
|
160
|
+
end.flatten.select { |x| File.exist? x }
|
161
161
|
Kameleon.ui.debug("Directory to search for steps: #{dir_to_search}")
|
162
162
|
|
163
163
|
if yaml_recipe.key? section.name
|
data/lib/kameleon/version.rb
CHANGED
data/lib/kameleon.rb
CHANGED
@@ -40,7 +40,7 @@ module Kameleon
|
|
40
40
|
|
41
41
|
def userdir
|
42
42
|
@userdir ||= Pathname.new(File.join('~', '.kameleon.d'))
|
43
|
-
Dir.mkdir(File.expand_path(@userdir.to_s)) unless File.
|
43
|
+
Dir.mkdir(File.expand_path(@userdir.to_s)) unless File.exist?(File.expand_path(@userdir.to_s))
|
44
44
|
@userdir
|
45
45
|
end
|
46
46
|
|
@@ -49,7 +49,7 @@ module Kameleon
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def init_userconf()
|
52
|
-
if not File.
|
52
|
+
if not File.exist?(Kameleon.userconf_path) or File.zero?(Kameleon.userconf_path)
|
53
53
|
File.open(Kameleon.userconf_path, 'w+') do |file|
|
54
54
|
userconf_erb = File.join(Kameleon.erb_dirpath, "userconf.yaml.erb")
|
55
55
|
erb = ERB.new(File.open(userconf_erb, 'rb') { |f| f.read })
|
@@ -60,7 +60,7 @@ module Kameleon
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def load_userconf
|
63
|
-
if File.
|
63
|
+
if File.exist?(Kameleon.userconf_path) and not File.zero?(Kameleon.userconf_path)
|
64
64
|
yaml_conf = YAML.load_file Kameleon.userconf_path
|
65
65
|
unless yaml_conf.kind_of? Hash
|
66
66
|
yaml_conf = {}
|
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.
|
4
|
+
version: 2.10.12
|
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:
|
15
|
+
date: 2025-02-18 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: childprocess
|
@@ -40,20 +40,14 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.15.0
|
43
|
+
version: '1'
|
47
44
|
type: :runtime
|
48
45
|
prerelease: false
|
49
46
|
version_requirements: !ruby/object:Gem::Requirement
|
50
47
|
requirements:
|
51
48
|
- - "~>"
|
52
49
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 0.15.0
|
50
|
+
version: '1'
|
57
51
|
- !ruby/object:Gem::Dependency
|
58
52
|
name: table_print
|
59
53
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,7 +212,7 @@ files:
|
|
218
212
|
- tests/test_version.rb
|
219
213
|
homepage: http://kameleon.imag.fr/
|
220
214
|
licenses:
|
221
|
-
- GPL-2.0
|
215
|
+
- GPL-2.0-or-later
|
222
216
|
metadata: {}
|
223
217
|
post_install_message:
|
224
218
|
rdoc_options: []
|