kameleon-builder 2.3.0 → 2.3.1

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
  SHA1:
3
- metadata.gz: c6a3d7e9962e22c223344369a554019b3ecdef6a
4
- data.tar.gz: 25c90de017ffdb6e7f82dcdaa64a5ed7f2d621e1
3
+ metadata.gz: 831efdcaf699199841a69c3d9ab2bff0e94ebf5a
4
+ data.tar.gz: f44e03a1c234a92ca5121f9b4763d6e346a3719e
5
5
  SHA512:
6
- metadata.gz: f9846ad8bd70649a76ec8c8408228eb44a172030127361e117672d0076211680c3ee07dcf6829529d73cde1b81d28051b494d92794a23062c7907a28bde4399e
7
- data.tar.gz: 5143fe65f730c5b2cefd5ded3c0b412c88cd6a0b8dfa85fe5bc30417deec36e650605c9c82e0b066637cd23a4b388d0f1a3d49416eb3ff986b66a2cbca8de51c
6
+ metadata.gz: cdaca07b09b3d7dabf2e84173df798e1243e14ee7657391bdc0ff86e59fc1e7d5db1b2a082c32ea90b17e7f5ec82c7a7945a8bcbdc747a7465faa1ebde31921a
7
+ data.tar.gz: e7039527062c70fca73b71324e2109d20b8b372c7172f4de8ecb518d1d6fbaa971922d1feb002c6a4458b4886d53bbcb25471265b5d9196b8a356c6fdbc8b26e
data/CHANGELOG.rst CHANGED
@@ -1,6 +1,13 @@
1
1
  Kameleon CHANGELOG
2
2
  ==================
3
3
 
4
+ version 2.3.1
5
+ -------------
6
+
7
+ Released on Nov 5th 2014
8
+
9
+ - ``--from-checkpoint`` option automatically enable the checkpoint process.
10
+ - ``--from-checkpoint`` could take a special value "last" to refer to the last valid checkpoint.
4
11
 
5
12
  version 2.3.0
6
13
  -------------
data/README.rst CHANGED
@@ -1,111 +1,11 @@
1
1
  Kameleon appliance builder
2
2
  ==========================
3
3
 
4
- Kameleon should be seen as a simple but powerful tool to generate customized
5
- appliances. With Kameleon, you make your recipe that describes how to create
6
- step by step your own distribution. At start Kameleon is used to create custom
7
- kvm, LXC, VirtualBox, iso images, ..., but as it is designed to be very generic
8
- you can probably do a lot more than that.
9
-
10
- .. _`installation`:
11
-
12
- ------------
13
- Installation
14
- ------------
15
-
16
- To install the latest release from `RubyGems`_:
17
-
18
- .. _RubyGems: https://rubygems.org/gems/kameleon-builder
19
-
20
- From RubyGems
21
- -------------
22
-
23
- Debian/Ubuntu
24
- -------------
25
-
26
- ::
27
-
28
- apt-get install ruby-childprocess
29
- gem install --no-ri --no-rdoc kameleon-builder
30
-
31
- Fedora
32
- ------
33
-
34
- ::
35
-
36
- yum install rubygem-childprocess
37
- gem install --no-ri --no-rdoc kameleon-builder
38
-
39
-
40
- From Source
41
- -----------
42
-
43
- ::
44
-
45
- git clone https://github.com/oar-team/kameleon.git && cd kameleon
46
- gem build kameleon-builder.gemspec
47
- gem install kameleon-builder-*.gem
48
-
49
- -----
50
- Usage
51
- -----
52
-
53
- Just type
54
-
55
- ::
56
-
57
- kameleon
58
-
59
- ...to see the cli help :
60
-
61
- ::
62
-
63
- Commands:
64
- kameleon build [RECIPE_PATH] # Builds the appliance from the given recipe
65
- kameleon checkpoints [RECIPE_PATH] # Lists all availables checkpoints
66
- kameleon clean [RECIPE_PATH] # Cleaning 'out' and 'local' contexts and removing all checkpoints
67
- kameleon help [COMMAND] # Describe available commands or one specific command
68
- kameleon import [TEMPLATE_NAME] # Imports the given template
69
- kameleon new [RECIPE_NAME] [TEMPLATE_NAME] # Creates a new recipe
70
- kameleon templates # Lists all defined templates
71
- kameleon version # Prints the Kameleon's version information
72
-
73
- Options:
74
- [--color], [--no-color] # Enable colorization in output
75
- # Default: true
76
- [--debug], [--no-debug] # Enable debug output
77
-
78
- First, you should select a template. To see the available templates use:
79
-
80
- ::
81
-
82
- kameleon templates
83
-
84
- Then, create a new recipe from the template you've just choose.
85
-
86
- ::
87
-
88
- kameleon new my_test_recipe template_name
89
-
90
- Then build your new recipe with the build command:
91
-
92
- ::
93
-
94
- kameleon build my_test_recipe
95
-
96
- A ``builds`` directory will be created and will contain your new image!
97
-
98
- To go further, it is highly recommended you start with the `Getting Started`_ guide.
99
-
100
-
101
- .. _Getting Started: http://kameleon.imag.fr/getting_started.html
102
-
103
- ------------
104
- Contributing
105
- ------------
106
-
107
- 1. Fork it
108
- 2. Create your feature branch (`git checkout -b my-new-feature`)
109
- 3. Commit your changes (`git commit -am 'Add some feature'`)
110
- 4. Push to the branch (`git push origin my-new-feature`)
111
- 5. Create new Pull Request
4
+ Kameleon is a simple but powerful tool to generate customized appliances. With
5
+ Kameleon, you make your recipe that describes how to create step by step your
6
+ own distribution. At start Kameleon is used to create custom kvm, LXC,
7
+ VirtualBox, iso images, ..., but as it is designed to be very generic you can
8
+ probably do a lot more than that.
9
+
10
+ * Latest documentation: http://kameleon.imag.fr/getting_started.html
11
+ * Source code and issue tracker: https://github.com/Kozea/WeasyPrint
data/erb/extend.erb CHANGED
@@ -10,7 +10,7 @@
10
10
  extend: <%= tpl.relative_path_from_recipe(recipe_path) %>
11
11
 
12
12
  global:
13
- # You can see the base template `<%= tpl.relative_path_from_recipe(recipe_path) %>.yaml` to know the
13
+ # You can see the base template `<%= tpl.relative_path_from_recipe(recipe_path) %>` to know the
14
14
  # variables that you can override
15
15
 
16
16
  bootstrap:
@@ -25,6 +25,7 @@ module Kameleon
25
25
  end
26
26
  end
27
27
  @enable_checkpoint = @options[:enable_checkpoint]
28
+ @enable_checkpoint = true unless @options[:from_checkpoint].nil?
28
29
  # Check if the recipe have checkpoint entry
29
30
  if @enable_checkpoint && @recipe.checkpoint.nil?
30
31
  fail BuildError, "Checkpoint is unavailable for this recipe"
@@ -368,7 +369,7 @@ module Kameleon
368
369
  def build
369
370
  if @enable_checkpoint
370
371
  @from_checkpoint = @options[:from_checkpoint]
371
- if @from_checkpoint.nil?
372
+ if @from_checkpoint.nil? || @from_checkpoint == "last"
372
373
  @from_checkpoint = list_checkpoints.last
373
374
  else
374
375
  unless list_checkpoints.include?@from_checkpoint
data/version.txt CHANGED
@@ -1 +1 @@
1
- 2.3.0
1
+ 2.3.1
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.3.0
4
+ version: 2.3.1
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: 2014-10-16 00:00:00.000000000 Z
15
+ date: 2014-11-05 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: childprocess