machinery-tool 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/.git_revision +1 -1
  3. data/NEWS +17 -0
  4. data/bin/machinery +10 -2
  5. data/html/comparison.html.haml +1 -1
  6. data/html/index.html.haml +2 -2
  7. data/html/partials/{config_files.html.haml → changed_config_files.html.haml} +10 -10
  8. data/html/partials/compare/changed_config_files.html.haml +48 -0
  9. data/html/partials/compare/{config_file_list.html.haml → changed_config_files_list.html.haml} +0 -0
  10. data/html/partials/compare/unmanaged_file_list.html.haml +1 -1
  11. data/html/partials/compare/unmanaged_files.html.haml +2 -2
  12. data/html/partials/patterns.html.haml +5 -0
  13. data/html/upgrade.html.haml +49 -0
  14. data/lib/{analyze_config_file_diffs_task.rb → analyze_changed_config_files_diffs_task.rb} +8 -8
  15. data/lib/autoyast.rb +12 -13
  16. data/lib/build_task.rb +2 -2
  17. data/lib/cli.rb +39 -32
  18. data/lib/compare_task.rb +1 -1
  19. data/lib/config_base.rb +1 -1
  20. data/lib/deploy_task.rb +4 -4
  21. data/lib/docker_system.rb +1 -1
  22. data/lib/element_filter.rb +3 -3
  23. data/lib/export_task.rb +3 -3
  24. data/lib/file_validator.rb +8 -5
  25. data/lib/filter.rb +5 -5
  26. data/lib/filter_option_parser.rb +3 -3
  27. data/lib/hint.rb +9 -4
  28. data/lib/html.rb +3 -3
  29. data/lib/inspect_task.rb +3 -3
  30. data/lib/json_schema_monkey_patch.rb +2 -2
  31. data/lib/json_validation_error_cleaner.rb +1 -1
  32. data/lib/json_validator.rb +2 -2
  33. data/lib/kiwi_config.rb +39 -14
  34. data/lib/list_task.rb +1 -1
  35. data/lib/local_system.rb +4 -4
  36. data/lib/machinery.rb +1 -1
  37. data/lib/machinery_logger.rb +4 -4
  38. data/lib/manifest.rb +5 -5
  39. data/lib/migration.rb +4 -4
  40. data/lib/object.rb +6 -10
  41. data/lib/remove_task.rb +1 -1
  42. data/lib/renderer.rb +5 -5
  43. data/lib/scope_file_access_archive.rb +2 -2
  44. data/lib/scope_file_access_flat.rb +3 -3
  45. data/lib/scope_file_store.rb +3 -3
  46. data/lib/serve_html_task.rb +15 -2
  47. data/lib/server.rb +32 -12
  48. data/lib/system.rb +1 -1
  49. data/lib/system_description.rb +16 -14
  50. data/lib/system_description_store.rb +5 -6
  51. data/lib/ui.rb +1 -1
  52. data/lib/upgrade_format_task.rb +2 -2
  53. data/lib/version.rb +1 -1
  54. data/lib/workload_mapper.rb +11 -11
  55. data/lib/zypper.rb +1 -1
  56. data/machinery-helper/Rakefile +1 -1
  57. data/machinery-helper/version.go +1 -1
  58. data/man/generated/machinery.1.gz +0 -0
  59. data/manual/docs/machinery-analyze.1.md +3 -3
  60. data/manual/docs/machinery-compare.1.md +2 -2
  61. data/manual/docs/machinery-inspect-docker.1.md +1 -1
  62. data/manual/docs/machinery-inspect.1.md +4 -1
  63. data/manual/docs/machinery-show.1.md +2 -2
  64. data/manual/docs/machinery_main_general.1.md +1 -1
  65. data/manual/docs/machinery_main_scopes.1.md +8 -6
  66. data/manual/site/machinery-analyze.1/index.html +3 -3
  67. data/manual/site/machinery-compare.1/index.html +2 -2
  68. data/manual/site/machinery-inspect-docker.1/index.html +1 -1
  69. data/manual/site/machinery-inspect.1/index.html +3 -1
  70. data/manual/site/machinery-show.1/index.html +2 -2
  71. data/manual/site/machinery_main_general.1/index.html +1 -1
  72. data/manual/site/machinery_main_scopes.1/index.html +8 -6
  73. data/manual/site/mkdocs/search_index.json +17 -17
  74. data/manual/site/sitemap.xml +23 -23
  75. data/plugins/{config_files/config_files.yml → changed_config_files/changed_config_files.yml} +3 -3
  76. data/plugins/{config_files/config_files_inspector.rb → changed_config_files/changed_config_files_inspector.rb} +14 -10
  77. data/plugins/{config_files/config_files_model.rb → changed_config_files/changed_config_files_model.rb} +1 -1
  78. data/plugins/{config_files/config_files_renderer.rb → changed_config_files/changed_config_files_renderer.rb} +9 -9
  79. data/plugins/{config_files/schema/system-description-config-files.schema-v1.json → changed_config_files/schema/system-description-changed-config-files.schema-v1.json} +0 -0
  80. data/plugins/{config_files/schema/system-description-config-files.schema-v2.json → changed_config_files/schema/system-description-changed-config-files.schema-v2.json} +0 -0
  81. data/plugins/{config_files/schema/system-description-config-files.schema-v3.json → changed_config_files/schema/system-description-changed-config-files.schema-v3.json} +0 -0
  82. data/plugins/{config_files/schema/system-description-config-files.schema-v4.json → changed_config_files/schema/system-description-changed-config-files.schema-v4.json} +0 -0
  83. data/plugins/{config_files/schema/system-description-config-files.schema-v5.json → changed_config_files/schema/system-description-changed-config-files.schema-v5.json} +0 -0
  84. data/plugins/{config_files/schema/system-description-config-files.schema-v6.json → changed_config_files/schema/system-description-changed-config-files.schema-v6.json} +0 -0
  85. data/plugins/{config_files/schema/system-description-config-files.schema-v7.json → changed_config_files/schema/system-description-changed-config-files.schema-v7.json} +0 -0
  86. data/plugins/changed_config_files/schema/system-description-changed-config-files.schema-v8.json +160 -0
  87. data/plugins/changed_managed_files/changed_managed_files_inspector.rb +6 -2
  88. data/plugins/changed_managed_files/changed_managed_files_renderer.rb +1 -1
  89. data/plugins/changed_managed_files/schema/system-description-changed-managed-files.schema-v8.json +160 -0
  90. data/plugins/environment/schema/system-description-environment.schema-v8.json +17 -0
  91. data/plugins/groups/groups_inspector.rb +1 -1
  92. data/plugins/groups/groups_renderer.rb +1 -1
  93. data/plugins/groups/schema/system-description-groups.schema-v8.json +49 -0
  94. data/plugins/os/os_inspector.rb +6 -6
  95. data/plugins/os/os_renderer.rb +1 -1
  96. data/plugins/os/schema/system-description-os.schema-v8.json +21 -0
  97. data/plugins/packages/packages_inspector.rb +1 -1
  98. data/plugins/packages/schema/system-description-packages.schema-v8.json +115 -0
  99. data/plugins/patterns/patterns.yml +5 -3
  100. data/plugins/patterns/patterns_inspector.rb +4 -3
  101. data/plugins/patterns/patterns_renderer.rb +5 -1
  102. data/plugins/patterns/schema/system-description-patterns.schema-v8.json +58 -0
  103. data/plugins/repositories/repositories_inspector.rb +2 -1
  104. data/plugins/repositories/schema/system-description-repositories.schema-v8.json +165 -0
  105. data/plugins/services/schema/system-description-services.schema-v8.json +93 -0
  106. data/plugins/services/services.yml +1 -1
  107. data/plugins/services/services_inspector.rb +1 -1
  108. data/plugins/unmanaged_files/schema/system-description-unmanaged-files.schema-v8.json +124 -0
  109. data/plugins/unmanaged_files/unmanaged_files_inspector.rb +9 -4
  110. data/plugins/unmanaged_files/unmanaged_files_model.rb +12 -5
  111. data/plugins/unmanaged_files/unmanaged_files_renderer.rb +1 -1
  112. data/plugins/users/schema/system-description-users.schema-v8.json +86 -0
  113. data/plugins/users/users_inspector.rb +7 -7
  114. data/schema/migrations/migrate1to2.rb +4 -4
  115. data/schema/migrations/migrate2to3.rb +1 -1
  116. data/schema/migrations/migrate3to4.rb +9 -9
  117. data/schema/migrations/migrate7to8.rb +47 -0
  118. data/schema/system-description-global.schema-v8.json +43 -0
  119. data/workload_mapper/rails/setup/setup.rb.erb +1 -1
  120. data/workload_mapper/wordpress/setup/setup.rb.erb +1 -1
  121. metadata +31 -17
  122. data/html/partials/compare/config_files.html.haml +0 -48
@@ -33,7 +33,7 @@ class Migrate2To3 < Migration
33
33
  FileUtils.mv(old_path, new_path)
34
34
  end
35
35
 
36
- if @hash.has_key?("repositories")
36
+ if @hash.key?("repositories")
37
37
  @hash["repositories"].each do |repository|
38
38
  repository["package_manager"] = "zypp"
39
39
  end
@@ -23,16 +23,16 @@ class Migrate3To4 < Migration
23
23
 
24
24
  def migrate
25
25
  ["changed_managed_files", "config_files"].each do |scope|
26
- if @hash.has_key?(scope)
27
- @hash[scope]["files"].each do |file|
28
- next if file["changes"] == ["deleted"]
26
+ next unless @hash.key?(scope)
29
27
 
30
- path = File.join(@path, scope, file["name"])
31
- file["type"] = if File.directory?(path) || path.end_with?("/")
32
- "dir"
33
- else
34
- "file"
35
- end
28
+ @hash[scope]["files"].each do |file|
29
+ next if file["changes"] == ["deleted"]
30
+
31
+ path = File.join(@path, scope, file["name"])
32
+ file["type"] = if File.directory?(path) || path.end_with?("/")
33
+ "dir"
34
+ else
35
+ "file"
36
36
  end
37
37
  end
38
38
  end
@@ -0,0 +1,47 @@
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 Migrate7To8 < Migration
19
+ desc <<-EOT
20
+ Format version 8 renames the scope config-files to changed-config-files.
21
+
22
+ Following this change the config_file_diff dir is also renamed to
23
+ changed_config_files_diffs.
24
+ EOT
25
+
26
+ def migrate
27
+ if File.directory?(File.join(@path, "config_files"))
28
+ FileUtils.mv(File.join(@path, "config_files"), File.join(@path, "changed_config_files"))
29
+ end
30
+
31
+ if File.directory?(File.join(@path, "analyze", "config_file_diffs"))
32
+ FileUtils.mv(
33
+ File.join(@path, "analyze", "config_file_diffs"),
34
+ File.join(@path, "analyze", "changed_config_files_diffs")
35
+ )
36
+ end
37
+
38
+ if @hash.key?("config_files")
39
+ @hash["changed_config_files"] = @hash.delete("config_files")
40
+ end
41
+
42
+ meta = @hash["meta"]
43
+ if meta.key?("config_files")
44
+ meta["changed_config_files"] = meta.delete("config_files")
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+
4
+ "type": "object",
5
+ "required": ["meta"],
6
+ "properties": {
7
+ "meta": {
8
+ "required": ["format_version"],
9
+ "properties": {
10
+ "format_version": {
11
+ "type": "integer",
12
+ "minimum": 1
13
+ },
14
+ "filters": {
15
+ "type": "object",
16
+ "required": ["inspect"],
17
+ "properties": {
18
+ "inspect": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "string"
22
+ }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "additionalProperties": {
28
+ "type": "object",
29
+ "required": ["modified", "hostname"],
30
+ "properties": {
31
+ "modified": {
32
+ "type": "string",
33
+ "format": "date-time"
34
+ },
35
+ "hostname": {
36
+ "type": "string",
37
+ "format": "hostname"
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -41,7 +41,7 @@ def build_image(path, name)
41
41
  end
42
42
 
43
43
  puts "Setting up #{db_workload}"
44
- if File.exists?("#{Dir.pwd}/#{db_workload}/data/configured.txt")
44
+ if File.exist?("#{Dir.pwd}/#{db_workload}/data/configured.txt")
45
45
  puts "Exiting as database has already been configured.\n" \
46
46
  "If you want to re run the configuration just remove the files in #{Dir.pwd}/#{db_workload}/data/"
47
47
  exit 1
@@ -41,7 +41,7 @@ def build_image(path, name)
41
41
  end
42
42
 
43
43
  puts "Setting up #{db_workload}"
44
- if File.exists?("#{Dir.pwd}/#{db_workload}/data/configured.txt")
44
+ if File.exist?("#{Dir.pwd}/#{db_workload}/data/configured.txt")
45
45
  puts "Exiting as database has already been configured.\n" \
46
46
  "If you want to re run the configuration just remove the files in #{Dir.pwd}/#{db_workload}/data/"
47
47
  exit 1
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.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SUSE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-01 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cheetah
@@ -265,13 +265,14 @@ files:
265
265
  - html/comparison.html.haml
266
266
  - html/index.html.haml
267
267
  - html/landing_page.html.haml
268
+ - html/partials/changed_config_files.html.haml
268
269
  - html/partials/changed_managed_files.html.haml
269
270
  - html/partials/compare/alert.html.haml
271
+ - html/partials/compare/changed_config_files.html.haml
272
+ - html/partials/compare/changed_config_files_list.html.haml
270
273
  - html/partials/compare/changed_managed_file_list.html.haml
271
274
  - html/partials/compare/changed_managed_files.html.haml
272
275
  - html/partials/compare/changes.html.haml
273
- - html/partials/compare/config_file_list.html.haml
274
- - html/partials/compare/config_files.html.haml
275
276
  - html/partials/compare/group_list.html.haml
276
277
  - html/partials/compare/groups.html.haml
277
278
  - html/partials/compare/os.html.haml
@@ -291,7 +292,6 @@ files:
291
292
  - html/partials/compare/unmanaged_files.html.haml
292
293
  - html/partials/compare/user_list.html.haml
293
294
  - html/partials/compare/users.html.haml
294
- - html/partials/config_files.html.haml
295
295
  - html/partials/groups.html.haml
296
296
  - html/partials/landing_page/alert.html.haml
297
297
  - html/partials/os.html.haml
@@ -305,10 +305,11 @@ files:
305
305
  - html/partials/services.html.haml
306
306
  - html/partials/unmanaged_files.html.haml
307
307
  - html/partials/users.html.haml
308
+ - html/upgrade.html.haml
308
309
  - inspect_helpers/changed_files.sh
309
310
  - inspect_helpers/dpkg_unmanaged_files.sh
310
311
  - inspect_helpers/yum_repositories.py
311
- - lib/analyze_config_file_diffs_task.rb
312
+ - lib/analyze_changed_config_files_diffs_task.rb
312
313
  - lib/array.rb
313
314
  - lib/autoyast.rb
314
315
  - lib/build_task.rb
@@ -555,6 +556,18 @@ files:
555
556
  - manual/site/mkdocs/search_index.json
556
557
  - manual/site/sitemap.xml
557
558
  - manual/site/wheels.png
559
+ - plugins/changed_config_files/changed_config_files.yml
560
+ - plugins/changed_config_files/changed_config_files_inspector.rb
561
+ - plugins/changed_config_files/changed_config_files_model.rb
562
+ - plugins/changed_config_files/changed_config_files_renderer.rb
563
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v1.json
564
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v2.json
565
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v3.json
566
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v4.json
567
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v5.json
568
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v6.json
569
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v7.json
570
+ - plugins/changed_config_files/schema/system-description-changed-config-files.schema-v8.json
558
571
  - plugins/changed_managed_files/changed_managed_files.yml
559
572
  - plugins/changed_managed_files/changed_managed_files_inspector.rb
560
573
  - plugins/changed_managed_files/changed_managed_files_model.rb
@@ -566,23 +579,14 @@ files:
566
579
  - plugins/changed_managed_files/schema/system-description-changed-managed-files.schema-v5.json
567
580
  - plugins/changed_managed_files/schema/system-description-changed-managed-files.schema-v6.json
568
581
  - plugins/changed_managed_files/schema/system-description-changed-managed-files.schema-v7.json
569
- - plugins/config_files/config_files.yml
570
- - plugins/config_files/config_files_inspector.rb
571
- - plugins/config_files/config_files_model.rb
572
- - plugins/config_files/config_files_renderer.rb
573
- - plugins/config_files/schema/system-description-config-files.schema-v1.json
574
- - plugins/config_files/schema/system-description-config-files.schema-v2.json
575
- - plugins/config_files/schema/system-description-config-files.schema-v3.json
576
- - plugins/config_files/schema/system-description-config-files.schema-v4.json
577
- - plugins/config_files/schema/system-description-config-files.schema-v5.json
578
- - plugins/config_files/schema/system-description-config-files.schema-v6.json
579
- - plugins/config_files/schema/system-description-config-files.schema-v7.json
582
+ - plugins/changed_managed_files/schema/system-description-changed-managed-files.schema-v8.json
580
583
  - plugins/environment/environment.md
581
584
  - plugins/environment/environment_inspector.rb
582
585
  - plugins/environment/environment_model.rb
583
586
  - plugins/environment/schema/system-description-environment.schema-v5.json
584
587
  - plugins/environment/schema/system-description-environment.schema-v6.json
585
588
  - plugins/environment/schema/system-description-environment.schema-v7.json
589
+ - plugins/environment/schema/system-description-environment.schema-v8.json
586
590
  - plugins/groups/groups.yml
587
591
  - plugins/groups/groups_inspector.rb
588
592
  - plugins/groups/groups_model.rb
@@ -594,6 +598,7 @@ files:
594
598
  - plugins/groups/schema/system-description-groups.schema-v5.json
595
599
  - plugins/groups/schema/system-description-groups.schema-v6.json
596
600
  - plugins/groups/schema/system-description-groups.schema-v7.json
601
+ - plugins/groups/schema/system-description-groups.schema-v8.json
597
602
  - plugins/os/os.yml
598
603
  - plugins/os/os_inspector.rb
599
604
  - plugins/os/os_model.rb
@@ -605,6 +610,7 @@ files:
605
610
  - plugins/os/schema/system-description-os.schema-v5.json
606
611
  - plugins/os/schema/system-description-os.schema-v6.json
607
612
  - plugins/os/schema/system-description-os.schema-v7.json
613
+ - plugins/os/schema/system-description-os.schema-v8.json
608
614
  - plugins/packages/packages.yml
609
615
  - plugins/packages/packages_inspector.rb
610
616
  - plugins/packages/packages_model.rb
@@ -616,6 +622,7 @@ files:
616
622
  - plugins/packages/schema/system-description-packages.schema-v5.json
617
623
  - plugins/packages/schema/system-description-packages.schema-v6.json
618
624
  - plugins/packages/schema/system-description-packages.schema-v7.json
625
+ - plugins/packages/schema/system-description-packages.schema-v8.json
619
626
  - plugins/patterns/patterns.yml
620
627
  - plugins/patterns/patterns_inspector.rb
621
628
  - plugins/patterns/patterns_model.rb
@@ -627,6 +634,7 @@ files:
627
634
  - plugins/patterns/schema/system-description-patterns.schema-v5.json
628
635
  - plugins/patterns/schema/system-description-patterns.schema-v6.json
629
636
  - plugins/patterns/schema/system-description-patterns.schema-v7.json
637
+ - plugins/patterns/schema/system-description-patterns.schema-v8.json
630
638
  - plugins/repositories/repositories.yml
631
639
  - plugins/repositories/repositories_inspector.rb
632
640
  - plugins/repositories/repositories_model.rb
@@ -638,6 +646,7 @@ files:
638
646
  - plugins/repositories/schema/system-description-repositories.schema-v5.json
639
647
  - plugins/repositories/schema/system-description-repositories.schema-v6.json
640
648
  - plugins/repositories/schema/system-description-repositories.schema-v7.json
649
+ - plugins/repositories/schema/system-description-repositories.schema-v8.json
641
650
  - plugins/services/schema/system-description-services.schema-v1.json
642
651
  - plugins/services/schema/system-description-services.schema-v2.json
643
652
  - plugins/services/schema/system-description-services.schema-v3.json
@@ -645,6 +654,7 @@ files:
645
654
  - plugins/services/schema/system-description-services.schema-v5.json
646
655
  - plugins/services/schema/system-description-services.schema-v6.json
647
656
  - plugins/services/schema/system-description-services.schema-v7.json
657
+ - plugins/services/schema/system-description-services.schema-v8.json
648
658
  - plugins/services/services.yml
649
659
  - plugins/services/services_inspector.rb
650
660
  - plugins/services/services_model.rb
@@ -656,6 +666,7 @@ files:
656
666
  - plugins/unmanaged_files/schema/system-description-unmanaged-files.schema-v5.json
657
667
  - plugins/unmanaged_files/schema/system-description-unmanaged-files.schema-v6.json
658
668
  - plugins/unmanaged_files/schema/system-description-unmanaged-files.schema-v7.json
669
+ - plugins/unmanaged_files/schema/system-description-unmanaged-files.schema-v8.json
659
670
  - plugins/unmanaged_files/unmanaged_files.yml
660
671
  - plugins/unmanaged_files/unmanaged_files_inspector.rb
661
672
  - plugins/unmanaged_files/unmanaged_files_model.rb
@@ -667,6 +678,7 @@ files:
667
678
  - plugins/users/schema/system-description-users.schema-v5.json
668
679
  - plugins/users/schema/system-description-users.schema-v6.json
669
680
  - plugins/users/schema/system-description-users.schema-v7.json
681
+ - plugins/users/schema/system-description-users.schema-v8.json
670
682
  - plugins/users/users.yml
671
683
  - plugins/users/users_inspector.rb
672
684
  - plugins/users/users_model.rb
@@ -677,6 +689,7 @@ files:
677
689
  - schema/migrations/migrate4to5.rb
678
690
  - schema/migrations/migrate5to6.rb
679
691
  - schema/migrations/migrate6to7.rb
692
+ - schema/migrations/migrate7to8.rb
680
693
  - schema/system-description-global.schema-v1.json
681
694
  - schema/system-description-global.schema-v2.json
682
695
  - schema/system-description-global.schema-v3.json
@@ -684,6 +697,7 @@ files:
684
697
  - schema/system-description-global.schema-v5.json
685
698
  - schema/system-description-global.schema-v6.json
686
699
  - schema/system-description-global.schema-v7.json
700
+ - schema/system-description-global.schema-v8.json
687
701
  - tools/go.rb
688
702
  - tools/helper_builder.rb
689
703
  - workload_mapper/docker-registry/clue.rb
@@ -1,48 +0,0 @@
1
- - if @diff["config_files"]
2
- - scope = "config_files"
3
- %a.scope_anchor{ id: scope }
4
- .scope#config_files_container
5
- .row
6
- .col-xs-1
7
- %a.btn.btn-default.btn-lg.scope_logo_big{ :href => "##{scope}",
8
- :title => scope_title(scope), "data-toggle"=>"popover",
9
- "data-content" => scope_help(scope) }
10
- %span= scope_initials(scope)
11
- %span.toggle{ title: "Collapse/Expand" }
12
- .col-xs-11
13
- %h2
14
- Config Files
15
- = render_partial "compare/summary",
16
- scope: "config_files",
17
- singular: "file",
18
- plural: "files"
19
- .row.scope_content.collapse.in
20
- .col-md-12
21
- .row
22
- .col-xs-6.table_container
23
- - if @diff["config_files"].only_in1
24
- = only_in_a
25
- = render_partial "compare/config_file_list", list: @diff["config_files"].only_in1
26
- .col-xs-6.table_container
27
- - if @diff["config_files"].only_in2
28
- = only_in_b
29
- = render_partial "compare/config_file_list", list: @diff["config_files"].only_in2
30
- - if @diff["config_files"].changed
31
- %a.both_anchor{ id: "config_files_changed" }
32
- .row
33
- .col-xs-12.table_container
34
- = changed
35
- = render_partial "compare/changes", changes: changed_elements("config_files",
36
- key: "name")
37
- - if @diff["config_files"].common
38
- %a.both_anchor{ id: "config_files_both" }
39
- .row
40
- .col-xs-12
41
- %a.show-common-elements{ href: "#config_files_both" }
42
- Show common elements in config-files
43
- %a.hide-common-elements{ href: "#", style: "display: none" }
44
- Hide common elements in config-files
45
- .row.scope_common_content.collapse
46
- .col-xs-12.table_container
47
- = in_both
48
- = render_partial "compare/config_file_list", list: @diff["config_files"].common