machinery-tool 1.0.2 → 1.1.0

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
  SHA1:
3
- metadata.gz: a5b4804155835a910512c7ba76385a0026ba3d40
4
- data.tar.gz: c8a43d58d2335533c6e9c9ff34e0e19ce1d26dbf
3
+ metadata.gz: 551ee9539d7129929b744957a8dd0ac26c6ae192
4
+ data.tar.gz: ee438023ee53265b39100377a44fd9a424af341a
5
5
  SHA512:
6
- metadata.gz: 5d5f77c1f4e9e089cdef9477aef10324f9979b1a7aa58c00fa8c03cdb26cb56d5aa495cdfcbae3e80183acce917e50466799d5ab894c1ffd91b468100f48a65f
7
- data.tar.gz: 965c1de8d0cd1ab698f3ff135d83d216039919701cf5d8ca3ff80ce6a7f61a964cd36030101b76965ae9673624d94f03256cf1721b7d76280323eb019827d3e0
6
+ metadata.gz: 056cc96bb640691c3fdb20f95a2d1adf62b5f22354dfa13d108c7cabddba2880ae657b56d2d14ccdbc15847268e236473aa64ab09d1f12e653935f944f17669f
7
+ data.tar.gz: 43900b48ef6ed9739efbfbd239fac78c4f9e7c1add2bd2f36349f716ed333a51771b8627574f59e3fb285aabfabeffa214fc31b417f073a6252bbc46ec2fac2f
data/NEWS CHANGED
@@ -1,6 +1,14 @@
1
1
  # Machinery Release Notes
2
2
 
3
3
 
4
+ ## Version 1.1.0 - Mon Nov 17 16:30:44 CET 2014 - thardeck@suse.de
5
+
6
+ * File extraction status is now shown in the comparison output
7
+ * Fixed image building issue when the repository alias consisted spaces
8
+ * Fixed compare output for unmanaged-files
9
+ * Added hint for analyze how to show the diffs
10
+ * Added hint to recommend ssh-copy-id if passwordless logins are not possible
11
+
4
12
  ## Version 1.0.1 - Tue Oct 28 16:24:16 CET 2014 - thardeck@suse.de
5
13
 
6
14
  * Added autofs to the remote file system filter
data/lib/cli.rb CHANGED
@@ -110,7 +110,7 @@ class Cli
110
110
 
111
111
  def self.shift_arg(args, name)
112
112
  if !res = args.shift
113
- raise GLI::BadCommandLine.new("Machinery was called with missing argument #{name}.")
113
+ raise GLI::BadCommandLine.new("You need to provide the required argument #{name}.")
114
114
  end
115
115
  res
116
116
  end
@@ -209,6 +209,7 @@ class Cli
209
209
  when "config-file-diffs"
210
210
  task = AnalyzeConfigFileDiffsTask.new
211
211
  task.analyze(description)
212
+ Hint.show_analyze_data(name: name)
212
213
  else
213
214
  raise Machinery::Errors::InvalidCommandLine.new(
214
215
  "The operation '#{options[:operation]}' is not supported. " \
data/lib/hint.rb CHANGED
@@ -24,6 +24,11 @@ class Hint
24
24
  output "To show the data of the system you just inspected run:\n#{$0} show #{options[:name]}"
25
25
  end
26
26
 
27
+ def self.show_analyze_data(options)
28
+ output "To show the config file diffs you just created run:\n" \
29
+ "#{$0} show --scope config-files --show-diffs #{options[:name]}"
30
+ end
31
+
27
32
  def self.do_complete_inspection(options)
28
33
  output "To do a full inspection containing all scopes and to extract files run:\n" \
29
34
  "#{$0} inspect #{options[:host]} --name #{options[:name]} --extract-files"
data/lib/kiwi_config.rb CHANGED
@@ -215,14 +215,16 @@ EOF
215
215
  def apply_repositories(xml)
216
216
  if @system_description.repositories
217
217
  @system_description.repositories.each do |repo|
218
- # only use accessible repositories as source for kiwi build
219
- parameters = { alias: repo.alias, type: repo.type, priority: repo.priority }
218
+ # workaround kiwi issue by replacing spaces
219
+ # the final image is not affected because the repositories are added by the config.sh
220
+ parameters = { alias: repo.alias.gsub(" ", "-"), type: repo.type, priority: repo.priority }
220
221
  if repo.username && repo.password
221
222
  parameters[:username] = repo.username
222
223
  parameters[:password] = repo.password
223
224
  end
224
225
  is_external_medium = repo.url.start_with?("cd://") ||
225
226
  repo.url.start_with?("dvd://")
227
+ # only use accessible repositories as source for kiwi build
226
228
  if repo.enabled && !repo.type.nil? && !is_external_medium
227
229
  xml.repository(parameters) do
228
230
  xml.source(path: repo.url)
data/lib/local_system.rb CHANGED
@@ -16,7 +16,7 @@
16
16
  # you may find current contact information at www.suse.com
17
17
 
18
18
  class LocalSystem < System
19
- class <<self
19
+ class << self
20
20
  def os_object
21
21
  description = SystemDescription.new("localhost")
22
22
  inspector = OsInspector.new
@@ -46,9 +46,10 @@ class LocalSystem < System
46
46
  end
47
47
 
48
48
  if !os || !os.can_run_machinery?
49
+ supported_oses = Os.supported_host_systems.map { |o| o.new.name }.
50
+ sort.join(", ")
49
51
  message = "Running Machinery is not supported on this system.\n" \
50
- "Check the 'Installation' section in the README.md for more information " \
51
- "about the requirements."
52
+ "Supported operating systems are: #{supported_oses}"
52
53
 
53
54
  raise(Machinery::Errors::IncompatibleHost.new(message))
54
55
  end
data/lib/os.rb CHANGED
@@ -32,6 +32,10 @@ class Os
32
32
  raise Machinery::Errors::UnknownOs.new("Unknown OS: '#{os_name}'")
33
33
  end
34
34
 
35
+ def self.supported_host_systems
36
+ descendants.select { |os| os.new.can_run_machinery? }
37
+ end
38
+
35
39
  def can_build?(os)
36
40
  if os.is_a?(Class)
37
41
  return @can_build.include?(os)
@@ -76,3 +80,11 @@ class OsOpenSuse13_1 < Os
76
80
  @can_run_machinery = true
77
81
  end
78
82
  end
83
+
84
+ class OsOpenSuse13_2 < Os
85
+ def initialize
86
+ @can_build = [OsSles11, OsOpenSuse13_1, OsOpenSuse13_2]
87
+ @name = "openSUSE 13.2 (Harlequin)"
88
+ @can_run_machinery = true
89
+ end
90
+ end
data/lib/remote_system.rb CHANGED
@@ -80,7 +80,9 @@ class RemoteSystem < System
80
80
  rescue Cheetah::ExecutionFailed
81
81
  raise Machinery::Errors::SshConnectionFailed.new(
82
82
  "Could not establish SSH connection to host '#{host}'. Please make sure that " \
83
- "you can connect non-interactively as root, e.g. using ssh-agent."
83
+ "you can connect non-interactively as root, e.g. using ssh-agent.\n\n" \
84
+ "To copy your default ssh key to the machine run:\n" \
85
+ "ssh-copy-id root@#{host}"
84
86
  )
85
87
  end
86
88
 
data/lib/renderer.rb CHANGED
@@ -84,13 +84,6 @@ class Renderer
84
84
  header = display_name
85
85
  meta = system_description[scope].meta
86
86
 
87
- if system_description[scope].is_extractable?
88
- if @system_description.scope_extracted?(scope)
89
- header += " (extracted)"
90
- else
91
- header += " (not extracted)"
92
- end
93
- end
94
87
  if meta
95
88
  header += " [#{meta.hostname}]"
96
89
  date = Time.parse(meta.modified).localtime
data/lib/version.rb CHANGED
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Machinery
19
19
 
20
- VERSION = "1.0.2"
20
+ VERSION = "1.1.0"
21
21
 
22
22
  end
@@ -15,6 +15,7 @@
15
15
  # To contact SUSE about this file by physical or electronic mail,
16
16
  # you may find current contact information at www.suse.com
17
17
 
18
+ require_relative "file_scope"
18
19
 
19
20
  class ChangedManagedFile < Machinery::Object
20
21
  end
@@ -23,7 +24,7 @@ class ChangedManagedFileList < Machinery::Array
23
24
  has_elements class: ChangedManagedFile
24
25
  end
25
26
 
26
- class ChangedManagedFilesScope < Machinery::Object
27
+ class ChangedManagedFilesScope < FileScope
27
28
  include Machinery::ScopeMixin
28
29
  has_property :files, class: ChangedManagedFileList
29
30
  end
@@ -15,6 +15,7 @@
15
15
  # To contact SUSE about this file by physical or electronic mail,
16
16
  # you may find current contact information at www.suse.com
17
17
 
18
+ require_relative "file_scope"
18
19
 
19
20
  class ConfigFile < Machinery::Object
20
21
  end
@@ -23,7 +24,7 @@ class ConfigFileList < Machinery::Array
23
24
  has_elements class: ConfigFile
24
25
  end
25
26
 
26
- class ConfigFilesScope < Machinery::Object
27
+ class ConfigFilesScope < FileScope
27
28
  include Machinery::ScopeMixin
28
29
  has_property :files, class: ConfigFileList
29
30
  end
@@ -0,0 +1,66 @@
1
+ # Copyright (c) 2013-2014 SUSE LLC
2
+ #
3
+ # This program is free software; you can redistribute it and/or
4
+ # modify it under the terms of version 3 of the GNU General Public License as
5
+ # published by the Free Software Foundation.
6
+ #
7
+ # This program is distributed in the hope that it will be useful,
8
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
9
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
+ # GNU General Public License for more details.
11
+ #
12
+ # You should have received a copy of the GNU General Public License
13
+ # along with this program; if not, contact SUSE LLC.
14
+ #
15
+ # To contact SUSE about this file by physical or electronic mail,
16
+ # you may find current contact information at www.suse.com
17
+
18
+ class FileScope < Machinery::Object
19
+ def compare_with(other)
20
+ validate_attributes(other)
21
+
22
+ only_self = self.class.new
23
+ only_other = self.class.new
24
+ shared = self.class.new
25
+
26
+ compare_extracted(other, only_self, only_other, shared)
27
+ compare_files(other, only_self, only_other, shared)
28
+
29
+ only_self = nil if only_self.empty?
30
+ only_other = nil if only_other.empty?
31
+ shared = nil if shared.empty?
32
+ [only_self, only_other, shared]
33
+ end
34
+
35
+ private
36
+
37
+ def validate_attributes(other)
38
+ expected_attributes = [:extracted, :files]
39
+ actual_attributes = (attributes.keys + other.attributes.keys).uniq.sort
40
+
41
+ if actual_attributes != expected_attributes
42
+ unsupported = actual_attributes - expected_attributes
43
+ raise Machinery::Errors::MachineryError.new(
44
+ "The following attributes are not covered by FileScope#compare_with: " +
45
+ unsupported.join(", ")
46
+ )
47
+ end
48
+ end
49
+
50
+ def compare_extracted(other, only_self, only_other, shared)
51
+ if extracted == other.extracted
52
+ shared.extracted = extracted
53
+ else
54
+ only_self.extracted = extracted
55
+ only_other.extracted = other.extracted
56
+ end
57
+ end
58
+
59
+ def compare_files(other, only_self, only_other, shared)
60
+ own_files, other_files, shared_files = files.compare_with(other.files)
61
+
62
+ only_self.files = own_files if own_files
63
+ only_other.files = other_files if other_files
64
+ shared.files = shared_files if shared_files
65
+ end
66
+ end
@@ -15,15 +15,43 @@
15
15
  # To contact SUSE about this file by physical or electronic mail,
16
16
  # you may find current contact information at www.suse.com
17
17
 
18
+ require_relative "file_scope"
18
19
 
19
20
  class UnmanagedFile < Machinery::Object
20
21
  end
21
22
 
22
23
  class UnmanagedFileList < Machinery::Array
23
24
  has_elements class: UnmanagedFile
25
+
26
+ def compare_with(other)
27
+ only_self = elements.reject do |element|
28
+ other.elements.find { |other_element| files_match(element, other_element) }
29
+ end
30
+ only_other = other.elements.reject do |element|
31
+ elements.find { |other_element| files_match(element, other_element) }
32
+ end
33
+ both = elements.select do |element|
34
+ other.elements.find { |other_element| files_match(element, other_element) }
35
+ end
36
+
37
+ [
38
+ self.class.new(only_self),
39
+ self.class.new(only_other),
40
+ self.class.new(both)
41
+ ].map { |e| !e.empty? ? e : nil }
42
+ end
43
+
44
+ private
45
+
46
+ def files_match(a, b)
47
+ common_attributes = a.attributes.keys & b.attributes.keys
48
+ common_attributes.all? do |attribute|
49
+ a[attribute] == b[attribute]
50
+ end
51
+ end
24
52
  end
25
53
 
26
- class UnmanagedFilesScope < Machinery::Object
54
+ class UnmanagedFilesScope < FileScope
27
55
  include Machinery::ScopeMixin
28
56
  has_property :files, class: UnmanagedFileList
29
57
  end
@@ -19,19 +19,26 @@ class ChangedManagedFilesRenderer < Renderer
19
19
  def do_render
20
20
  return unless @system_description["changed_managed_files"]
21
21
 
22
- files, errors = @system_description["changed_managed_files"].files.partition do |file|
23
- file.status != "error"
22
+ if @system_description["changed_managed_files"].files
23
+ files, errors = @system_description["changed_managed_files"].files.partition do |file|
24
+ file.status != "error"
25
+ end
24
26
  end
25
27
 
26
- if !files.empty?
27
- list do
28
+ list do
29
+ file_status = @system_description["changed_managed_files"].extracted
30
+ if !file_status.nil?
31
+ puts "Files extracted: #{file_status ? "yes" : "no"}"
32
+ end
33
+
34
+ if files && !files.empty?
28
35
  files.each do |p|
29
36
  item "#{p.name} (#{p.changes.join(", ")})"
30
37
  end
31
38
  end
32
39
  end
33
40
 
34
- if !errors.empty?
41
+ if errors && !errors.empty?
35
42
  list("Errors") do
36
43
  errors.each do |p|
37
44
  item "#{p.name}: #{p.error_message}"
@@ -32,13 +32,20 @@ class ConfigFilesRenderer < Renderer
32
32
  end
33
33
 
34
34
  list do
35
- @system_description["config_files"].files.each do |p|
36
- if @options[:show_diffs] && p.changes.include?("md5")
37
- item "#{p.name} (#{p.changes.join(", ")})" do
38
- render_diff_file(diffs_dir, p.name)
35
+ file_status = @system_description["config_files"].extracted
36
+ if !file_status.nil?
37
+ puts "Files extracted: #{file_status ? "yes" : "no"}"
38
+ end
39
+ files = @system_description["config_files"].files
40
+ if files
41
+ files.each do |p|
42
+ if @options[:show_diffs] && p.changes.include?("md5")
43
+ item "#{p.name} (#{p.changes.join(", ")})" do
44
+ render_diff_file(diffs_dir, p.name)
45
+ end
46
+ else
47
+ item ("#{p.name} (#{p.changes.join(", ")})")
39
48
  end
40
- else
41
- item ("#{p.name} (#{p.changes.join(", ")})")
42
49
  end
43
50
  end
44
51
  end
@@ -20,16 +20,22 @@ class UnmanagedFilesRenderer < Renderer
20
20
  return unless @system_description["unmanaged_files"]
21
21
 
22
22
  list do
23
- @system_description["unmanaged_files"].files.each do |p|
24
- if p.user && p.group
25
- item "#{p.name} (#{p.type})" do
26
- puts "User/Group: #{p.user}:#{p.group}"
27
- puts "Mode: #{p.mode}" if p.mode
28
- puts "Size: #{number_to_human_size(p.size)}" if p.size
29
- puts "Files: #{p.files}" if p.files
30
- end
31
- else
32
- item "#{p.name} (#{p.type})" do
23
+ file_status = @system_description["unmanaged_files"].extracted
24
+ if !file_status.nil?
25
+ puts "Files extracted: #{file_status ? "yes" : "no"}"
26
+ end
27
+
28
+ if @system_description["unmanaged_files"].files
29
+ @system_description["unmanaged_files"].files.each do |p|
30
+ if p.user && p.group
31
+ item "#{p.name} (#{p.type})" do
32
+ puts "User/Group: #{p.user}:#{p.group}"
33
+ puts "Mode: #{p.mode}" if p.mode
34
+ puts "Size: #{number_to_human_size(p.size)}" if p.size
35
+ puts "Files: #{p.files}" if p.files
36
+ end
37
+ else
38
+ item "#{p.name} (#{p.type})"
33
39
  end
34
40
  end
35
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: machinery-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SUSE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-03 00:00:00.000000000 Z
11
+ date: 2014-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cheetah
@@ -188,162 +188,161 @@ executables:
188
188
  extensions: []
189
189
  extra_rdoc_files: []
190
190
  files:
191
- - lib/analyze_config_file_diffs_task.rb
192
- - lib/array.rb
193
- - lib/changed_rpm_files_helper.rb
194
- - lib/compare_task.rb
195
- - lib/copy_task.rb
196
- - lib/current_user.rb
191
+ - lib/cli.rb
192
+ - lib/validate_task.rb
193
+ - lib/machinery_logger.rb
197
194
  - lib/generate_html_task.rb
195
+ - lib/show_task.rb
196
+ - lib/config_base.rb
198
197
  - lib/inspect_task.rb
199
- - lib/inspector.rb
200
- - lib/kiwi_export_task.rb
198
+ - lib/hint.rb
199
+ - lib/html.rb
200
+ - lib/system_description_validator.rb
201
201
  - lib/list_task.rb
202
202
  - lib/logged_cheetah.rb
203
- - lib/machinery_logger.rb
204
- - lib/migration.rb
205
- - lib/remove_task.rb
206
203
  - lib/renderer.rb
207
- - lib/renderer_helper.rb
208
- - lib/rpm.rb
209
- - lib/scope_mixin.rb
210
- - lib/system_description.rb
211
- - lib/tarball.rb
204
+ - lib/remote_system.rb
205
+ - lib/kiwi_export_task.rb
206
+ - lib/kiwi_config.rb
212
207
  - lib/upgrade_format_task.rb
213
- - lib/validate_task.rb
214
- - lib/zypper.rb
215
- - lib/config.rb
216
- - lib/config_base.rb
217
- - lib/constants.rb
218
- - lib/hint.rb
219
- - lib/html.rb
208
+ - lib/tarball.rb
220
209
  - lib/machinery.rb
221
- - lib/system_description_validator.rb
210
+ - lib/inspector.rb
211
+ - lib/renderer_helper.rb
212
+ - lib/analyze_config_file_diffs_task.rb
213
+ - lib/config.rb
214
+ - lib/os.rb
215
+ - lib/version.rb
216
+ - lib/system.rb
222
217
  - lib/object.rb
223
218
  - lib/system_description_store.rb
219
+ - lib/config_task.rb
220
+ - lib/remove_task.rb
221
+ - lib/system_description.rb
222
+ - lib/zypper.rb
223
+ - lib/constants.rb
224
+ - lib/mountpoints.rb
225
+ - lib/ui.rb
226
+ - lib/rpm.rb
227
+ - lib/array.rb
228
+ - lib/changed_rpm_files_helper.rb
229
+ - lib/copy_task.rb
224
230
  - lib/build_task.rb
231
+ - lib/local_system.rb
232
+ - lib/current_user.rb
233
+ - lib/scope_mixin.rb
225
234
  - lib/deploy_task.rb
226
- - lib/exceptions.rb
227
235
  - lib/helper.rb
228
- - lib/local_system.rb
229
- - lib/mountpoints.rb
230
- - lib/os.rb
231
- - lib/show_task.rb
232
- - lib/system.rb
233
- - lib/ui.rb
234
- - lib/cli.rb
235
- - lib/config_task.rb
236
- - lib/kiwi_config.rb
237
- - lib/remote_system.rb
238
- - lib/version.rb
239
- - plugins/docs/changed_managed_files.md
236
+ - lib/migration.rb
237
+ - lib/exceptions.rb
238
+ - lib/compare_task.rb
239
+ - plugins/schema/v2/system-description-packages.schema.json
240
+ - plugins/schema/v2/system-description-patterns.schema.json
241
+ - plugins/schema/v2/system-description-changed-managed-files.schema.json
242
+ - plugins/schema/v2/system-description-groups.schema.json
243
+ - plugins/schema/v2/system-description-users.schema.json
244
+ - plugins/schema/v2/system-description-services.schema.json
245
+ - plugins/schema/v2/system-description-os.schema.json
246
+ - plugins/schema/v2/system-description-unmanaged-files.schema.json
247
+ - plugins/schema/v2/system-description-config-files.schema.json
248
+ - plugins/schema/v2/system-description-repositories.schema.json
249
+ - plugins/schema/v1/system-description-packages.schema.json
250
+ - plugins/schema/v1/system-description-patterns.schema.json
251
+ - plugins/schema/v1/system-description-changed-managed-files.schema.json
252
+ - plugins/schema/v1/system-description-groups.schema.json
253
+ - plugins/schema/v1/system-description-users.schema.json
254
+ - plugins/schema/v1/system-description-services.schema.json
255
+ - plugins/schema/v1/system-description-os.schema.json
256
+ - plugins/schema/v1/system-description-unmanaged-files.schema.json
257
+ - plugins/schema/v1/system-description-config-files.schema.json
258
+ - plugins/schema/v1/system-description-repositories.schema.json
259
+ - plugins/model/users_model.rb
260
+ - plugins/model/packages_model.rb
261
+ - plugins/model/changed_managed_files_model.rb
262
+ - plugins/model/patterns_model.rb
263
+ - plugins/model/services_model.rb
264
+ - plugins/model/repositories_model.rb
265
+ - plugins/model/config_files_model.rb
266
+ - plugins/model/unmanaged_files_model.rb
267
+ - plugins/model/groups_model.rb
268
+ - plugins/model/os_model.rb
269
+ - plugins/model/file_scope.rb
270
+ - plugins/show/repositories_renderer.rb
271
+ - plugins/show/patterns_renderer.rb
272
+ - plugins/show/os_renderer.rb
273
+ - plugins/show/packages_renderer.rb
274
+ - plugins/show/config_files_renderer.rb
275
+ - plugins/show/users_renderer.rb
276
+ - plugins/show/unmanaged_files_renderer.rb
277
+ - plugins/show/changed_managed_files_renderer.rb
278
+ - plugins/show/services_renderer.rb
279
+ - plugins/show/groups_renderer.rb
280
+ - plugins/docs/os.md
281
+ - plugins/docs/unmanaged_files.md
240
282
  - plugins/docs/config_files.md
283
+ - plugins/docs/users.md
241
284
  - plugins/docs/groups.md
242
- - plugins/docs/os.md
243
- - plugins/docs/packages.md
285
+ - plugins/docs/changed_managed_files.md
244
286
  - plugins/docs/patterns.md
245
- - plugins/docs/repositories.md
246
287
  - plugins/docs/services.md
247
- - plugins/docs/unmanaged_files.md
248
- - plugins/docs/users.md
249
- - plugins/inspect/changed_managed_files_inspector.rb
250
- - plugins/inspect/config_files_inspector.rb
251
- - plugins/inspect/packages_inspector.rb
252
- - plugins/inspect/patterns_inspector.rb
253
- - plugins/inspect/services_inspector.rb
288
+ - plugins/docs/repositories.md
289
+ - plugins/docs/packages.md
254
290
  - plugins/inspect/unmanaged_files_inspector.rb
255
- - plugins/inspect/groups_inspector.rb
291
+ - plugins/inspect/services_inspector.rb
256
292
  - plugins/inspect/os_inspector.rb
293
+ - plugins/inspect/groups_inspector.rb
294
+ - plugins/inspect/patterns_inspector.rb
257
295
  - plugins/inspect/users_inspector.rb
258
296
  - plugins/inspect/repositories_inspector.rb
259
- - plugins/model/os_model.rb
260
- - plugins/model/changed_managed_files_model.rb
261
- - plugins/model/config_files_model.rb
262
- - plugins/model/groups_model.rb
263
- - plugins/model/packages_model.rb
264
- - plugins/model/patterns_model.rb
265
- - plugins/model/repositories_model.rb
266
- - plugins/model/services_model.rb
267
- - plugins/model/unmanaged_files_model.rb
268
- - plugins/model/users_model.rb
269
- - plugins/schema/v1/system-description-changed-managed-files.schema.json
270
- - plugins/schema/v1/system-description-config-files.schema.json
271
- - plugins/schema/v1/system-description-groups.schema.json
272
- - plugins/schema/v1/system-description-os.schema.json
273
- - plugins/schema/v1/system-description-packages.schema.json
274
- - plugins/schema/v1/system-description-patterns.schema.json
275
- - plugins/schema/v1/system-description-repositories.schema.json
276
- - plugins/schema/v1/system-description-services.schema.json
277
- - plugins/schema/v1/system-description-unmanaged-files.schema.json
278
- - plugins/schema/v1/system-description-users.schema.json
279
- - plugins/schema/v2/system-description-groups.schema.json
280
- - plugins/schema/v2/system-description-os.schema.json
281
- - plugins/schema/v2/system-description-packages.schema.json
282
- - plugins/schema/v2/system-description-patterns.schema.json
283
- - plugins/schema/v2/system-description-repositories.schema.json
284
- - plugins/schema/v2/system-description-services.schema.json
285
- - plugins/schema/v2/system-description-users.schema.json
286
- - plugins/schema/v2/system-description-changed-managed-files.schema.json
287
- - plugins/schema/v2/system-description-config-files.schema.json
288
- - plugins/schema/v2/system-description-unmanaged-files.schema.json
289
- - plugins/show/changed_managed_files_renderer.rb
290
- - plugins/show/config_files_renderer.rb
291
- - plugins/show/groups_renderer.rb
292
- - plugins/show/os_renderer.rb
293
- - plugins/show/packages_renderer.rb
294
- - plugins/show/patterns_renderer.rb
295
- - plugins/show/repositories_renderer.rb
296
- - plugins/show/services_renderer.rb
297
- - plugins/show/unmanaged_files_renderer.rb
298
- - plugins/show/users_renderer.rb
297
+ - plugins/inspect/changed_managed_files_inspector.rb
298
+ - plugins/inspect/packages_inspector.rb
299
+ - plugins/inspect/config_files_inspector.rb
299
300
  - bin/machinery
300
- - man/generated/machinery.1.gz
301
- - man/generated/machinery.1.html
302
301
  - NEWS
303
302
  - COPYING
304
- - helpers/changed_managed_files.sh
305
303
  - helpers/filter-packages-for-build.yaml
306
- - kiwi_helpers/kiwi_export_readme.md
304
+ - helpers/changed_managed_files.sh
307
305
  - kiwi_helpers/merge_users_and_groups.pl.erb
308
306
  - kiwi_helpers/unmanaged_files_build_excludes
307
+ - kiwi_helpers/kiwi_export_readme.md
308
+ - schema/v2/system-description-global.schema.json
309
309
  - schema/migrations/migrate1to2.rb
310
310
  - schema/v1/system-description-global.schema.json
311
- - schema/v2/system-description-global.schema.json
312
- - html/assets/arrow_down.png
313
311
  - html/assets/arrow_up.png
314
- - html/assets/bootstrap-popover.js
315
- - html/assets/bootstrap-tooltip.js
316
- - html/assets/bootstrap.min.css
317
- - html/assets/collapse.js
318
- - html/assets/hogan-3.0.2.min.mustache.js
319
- - html/assets/jquery-2.1.1.min.js
320
- - html/assets/logo-changed-managed-files-small.png
321
- - html/assets/logo-changed-managed-files.png
322
- - html/assets/logo-config-files-small.png
323
312
  - html/assets/logo-config-files.png
324
- - html/assets/logo-groups-small.png
325
- - html/assets/logo-groups.png
313
+ - html/assets/logo-unmanaged-files.png
314
+ - html/assets/logo-users.png
315
+ - html/assets/logo-patterns.png
326
316
  - html/assets/logo-os-small.png
327
317
  - html/assets/logo-os.png
318
+ - html/assets/logo-groups-small.png
319
+ - html/assets/transition.js
320
+ - html/assets/bootstrap-tooltip.js
321
+ - html/assets/logo-config-files-small.png
328
322
  - html/assets/logo-packages-small.png
329
- - html/assets/logo-packages.png
323
+ - html/assets/logo-changed-managed-files-small.png
324
+ - html/assets/hogan-3.0.2.min.mustache.js
325
+ - html/assets/machinery-base.css
326
+ - html/assets/machinery.css
327
+ - html/assets/logo-unmanaged-files-small.png
330
328
  - html/assets/logo-patterns-small.png
331
- - html/assets/logo-patterns.png
332
- - html/assets/logo-repositories-small.png
333
329
  - html/assets/logo-repositories.png
334
- - html/assets/logo-services-small.png
335
- - html/assets/logo-services.png
336
- - html/assets/logo-unmanaged-files-small.png
337
- - html/assets/logo-unmanaged-files.png
330
+ - html/assets/arrow_down.png
331
+ - html/assets/bootstrap-popover.js
332
+ - html/assets/bootstrap.min.css
338
333
  - html/assets/logo-users-small.png
339
- - html/assets/logo-users.png
340
- - html/assets/machinery-base.css
341
- - html/assets/transition.js
342
- - html/assets/wheels_horizontal.png
343
- - html/assets/machinery.css
334
+ - html/assets/logo-packages.png
335
+ - html/assets/logo-groups.png
336
+ - html/assets/jquery-2.1.1.min.js
337
+ - html/assets/collapse.js
344
338
  - html/assets/machinery.js
339
+ - html/assets/logo-services.png
340
+ - html/assets/logo-repositories-small.png
341
+ - html/assets/wheels_horizontal.png
342
+ - html/assets/logo-services-small.png
343
+ - html/assets/logo-changed-managed-files.png
345
344
  - html/index.html.haml
346
- homepage: https://github.com/SUSE/machinery/
345
+ homepage: http://machinery-project.org
347
346
  licenses:
348
347
  - GPL-3.0
349
348
  metadata: {}
@@ -368,3 +367,4 @@ signing_key:
368
367
  specification_version: 4
369
368
  summary: Systems management toolkit
370
369
  test_files: []
370
+ has_rdoc: