foreman_leapp 0.1.10 → 0.1.12

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: b1891f98edb810793eaf892578ca6a2fdafe87be017e1e3ee370ebbd008baaeb
4
- data.tar.gz: 3a618bb3303b275113dc3ddaae440971f6f17939d274e4d0263c66424d5511b8
3
+ metadata.gz: 4ccc8006d2858984a80d8370a93af82704ff1734dc8f73990e60416e75ee00a1
4
+ data.tar.gz: 60c327e53286b5141288c36cd8fee4ac602b8897373b6215f4864c35646f560b
5
5
  SHA512:
6
- metadata.gz: 652a75504d5ccfb8b20580043c02335547d0ab1d763f936329558499d9e4bdfe1958c6fc091c76fc8c55a77babeb8b2beb89c655afc8c5ae33f48cf4494a0372
7
- data.tar.gz: 05b6c03d647d507262bb8f7847c87da4cb97facc0ea20d139fd90e788e37bc51664de0bd56d5bba0f89c0731e40eff8f02daadf0beba2dc890a6a2fced63e44e
6
+ metadata.gz: 18ebdf0f64f30536376fbeb66ee5feab67a219f6ac3c08dc868aba6ea5786936dd4f9f88a9f2cb02b8f97d76a322205760b64b186a85018b0a5ebc5c2ec84ccd
7
+ data.tar.gz: 27d71b3c90c6bd5ef3548aace9e3326aea7716ce07cee664e888fbbcd8ea50697946dada672756dbd5d06a15d1fe2364f7fa2a764e6f979aecc198b6d0dee9e1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ForemanLeapp
2
2
 
3
- This plugin allows to run inplace upgrades for RHEL 7 hosts in Foreman using Leapp tool.
3
+ This plugin allows to run inplace upgrades for RHEL hosts in Foreman using Leapp tool.
4
4
  For more information about Leapp tool check [github](https://github.com/oamg/leapp) or [developer docs](https://leapp.readthedocs.io/en/latest/).
5
5
 
6
6
  ## Installation
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ForemanLeapp
4
+ module HostsHelper
5
+ def leapp_hosts_multiple_actions
6
+ [{ action: [_('Preupgrade check with Leapp'), new_job_invocation_path(feature: 'leapp_preupgrade'), false],
7
+ priority: 1000 },
8
+ { action: [_('Upgrade with Leapp'), new_job_invocation_path(feature: 'leapp_upgrade'), false], priority: 1000 }]
9
+ end
10
+ end
11
+ end
@@ -2,7 +2,7 @@
2
2
  kind: job_template
3
3
  name: Run preupgrade via Leapp
4
4
  job_category: Leapp - Preupgrade
5
- description_format: 'Upgradeability check for RHEL 7 host'
5
+ description_format: 'Upgradeability check for RHEL host'
6
6
  provider_type: SSH
7
7
  feature: leapp_preupgrade
8
8
  model: JobTemplate
@@ -2,7 +2,7 @@
2
2
  kind: job_template
3
3
  name: Run upgrade via Leapp
4
4
  job_category: Leapp - Upgrade
5
- description_format: 'Upgrade RHEL 7 host'
5
+ description_format: 'Upgrade RHEL host'
6
6
  provider_type: Ansible
7
7
  feature: leapp_upgrade
8
8
  model: JobTemplate
@@ -41,13 +41,16 @@ module ForemanLeapp
41
41
  permission :view_job_invocations, { :preupgrade_reports => %i[index show job_invocation],
42
42
  'api/v2/preupgrade_reports' => %i[index show job_invocation] }
43
43
  end
44
+
45
+ describe_host do
46
+ multiple_actions_provider :leapp_hosts_multiple_actions
47
+ end
44
48
  end
45
49
  end
46
50
 
47
51
  # Include concerns in this config.to_prepare block
48
52
  config.to_prepare do
49
53
  begin
50
- ::HostsHelper.prepend ForemanLeapp::HostsHelperExtensions
51
54
  ::JobInvocation.include ForemanLeapp::JobInvocationExtensions
52
55
  rescue StandardError => e
53
56
  Rails.logger.warn "ForemanLeapp: skipping engine hook (#{e})"
@@ -75,11 +78,6 @@ module ForemanLeapp
75
78
  ForemanTasks.dynflow.config.eager_load_paths << File.join(ForemanLeapp::Engine.root, 'app/lib/actions')
76
79
  end
77
80
 
78
- initializer('foreman_leapp.extend_remote_execution',
79
- after: 'foreman_leapp.require_foreman_remote_execution') do |_app|
80
- RemoteExecutionHelper.prepend ForemanLeapp::RemoteExecutionHelperExtension
81
- end
82
-
83
81
  initializer 'foreman_leapp.apipie' do
84
82
  Apipie.configuration.checksum_path += ['/api/']
85
83
  end
@@ -88,15 +86,15 @@ module ForemanLeapp
88
86
  RemoteExecutionFeature.register(
89
87
  :leapp_preupgrade,
90
88
  N_('Preupgrade check with Leapp'),
91
- description: N_('Upgradeability check for RHEL 7 host'),
92
- host_action_button: false
89
+ description: N_('Upgradeability check for RHEL host'),
90
+ host_action_button: true
93
91
  )
94
92
 
95
93
  RemoteExecutionFeature.register(
96
94
  :leapp_upgrade,
97
95
  N_('Upgrade with Leapp'),
98
- description: N_('Run Leapp upgrade job for RHEL 7 host'),
99
- host_action_button: false
96
+ description: N_('Run Leapp upgrade job for RHEL host'),
97
+ host_action_button: true
100
98
  )
101
99
 
102
100
  RemoteExecutionFeature.register(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanLeapp
4
- VERSION = '0.1.10'
4
+ VERSION = '0.1.12'
5
5
  end
@@ -1,6 +1,6 @@
1
1
  # Autogenerated!
2
- _("Preupgrade job")
3
2
  _("Remote action:")
4
3
  _("Import Puppet classes")
5
4
  _("Import facts")
6
- _("Action with sub plans")
5
+ _("Action with sub plans")
6
+ _("Preupgrade job")
@@ -0,0 +1,141 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_leapp package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Martin Zimmermann <martin.zimmermann@gmx.com>, 2022
8
+ # Ettore Atalan <atalanttore@googlemail.com>, 2022
9
+ # Wiederoder <stefanwiederoder@googlemail.com>, 2022
10
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2022
11
+ # Lukas Kallies <github.com@luke-web.de>, 2022
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Project-Id-Version: foreman_leapp 1.0.0\n"
16
+ "Report-Msgid-Bugs-To: \n"
17
+ "PO-Revision-Date: 2022-10-12 12:00+0000\n"
18
+ "Last-Translator: Lukas Kallies <github.com@luke-web.de>, 2022\n"
19
+ "Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Language: de\n"
24
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
25
+
26
+ msgid "A Foreman plugin to support inplace RHEL upgrades with Leapp utility."
27
+ msgstr ""
28
+
29
+ msgid "Action with sub plans"
30
+ msgstr ""
31
+
32
+ msgid "All"
33
+ msgstr "Alle"
34
+
35
+ msgid "Command"
36
+ msgstr "Befehl"
37
+
38
+ msgid "Fix Selected"
39
+ msgstr "Behebe Auswahl"
40
+
41
+ msgid "Fix Type"
42
+ msgstr ""
43
+
44
+ msgid "Has Remediation?"
45
+ msgstr "Hat Sanierungsplan?"
46
+
47
+ msgid "High"
48
+ msgstr "Hoch"
49
+
50
+ msgid "Hint"
51
+ msgstr "Hinweis"
52
+
53
+ msgid "Host"
54
+ msgstr "Host"
55
+
56
+ msgid "Import Puppet classes"
57
+ msgstr ""
58
+
59
+ msgid "Import facts"
60
+ msgstr ""
61
+
62
+ msgid "Info"
63
+ msgstr "Info"
64
+
65
+ msgid "Inhibitor"
66
+ msgstr ""
67
+
68
+ msgid "Inhibitor?"
69
+ msgstr ""
70
+
71
+ msgid "Leapp preupgrade report"
72
+ msgstr ""
73
+
74
+ msgid "List Preupgrade reports"
75
+ msgstr ""
76
+
77
+ msgid "List Preupgrade reports for Job invocation"
78
+ msgstr ""
79
+
80
+ msgid "Low"
81
+ msgstr "Niedrig"
82
+
83
+ msgid "Medium"
84
+ msgstr "Medium"
85
+
86
+ msgid "Missing one of the required permissions: view_hosts"
87
+ msgstr "Eine der erforderlichen Berechtigungen fehlt: %s"
88
+
89
+ msgid "No"
90
+ msgstr "Nein"
91
+
92
+ msgid "No Preupgrade Report Available"
93
+ msgstr ""
94
+
95
+ msgid "Preupgrade check with Leapp"
96
+ msgstr ""
97
+
98
+ msgid "Preupgrade job"
99
+ msgstr ""
100
+
101
+ msgid "Remediation plan"
102
+ msgstr "Sanierungsplan"
103
+
104
+ msgid "Remote action:"
105
+ msgstr ""
106
+
107
+ msgid "Risk Factor"
108
+ msgstr "Risikofaktor"
109
+
110
+ msgid "Run Leapp upgrade job for RHEL host"
111
+ msgstr ""
112
+
113
+ msgid "Run Remediation plan with Leapp"
114
+ msgstr "Sanierungsplan mit Leapp ausführen"
115
+
116
+ msgid "Run Upgrade"
117
+ msgstr "Aktualisierung ausführen"
118
+
119
+ msgid "Show Preupgrade report"
120
+ msgstr ""
121
+
122
+ msgid "The preupgrade report could not be generated, check the job details for the reason"
123
+ msgstr ""
124
+
125
+ msgid "The preupgrade report will be available after the job finishes"
126
+ msgstr ""
127
+
128
+ msgid "This issue inhibits the upgrade."
129
+ msgstr ""
130
+
131
+ msgid "Title"
132
+ msgstr "Titel"
133
+
134
+ msgid "Upgrade with Leapp"
135
+ msgstr "Aktualisiere mit Leapp"
136
+
137
+ msgid "Upgradeability check for RHEL host"
138
+ msgstr ""
139
+
140
+ msgid "Yes"
141
+ msgstr "Ja"
@@ -0,0 +1,172 @@
1
+ # foreman_leapp
2
+ #
3
+ # This file is distributed under the same license as foreman_leapp.
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: version 0.0.1\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "PO-Revision-Date: 2014-08-20 08:54+0100\n"
10
+ "Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
11
+ "Language-Team: Foreman Team <foreman-dev@googlegroups.com>\n"
12
+ "Language: \n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+
18
+ #: ../app/controllers/api/v2/concerns/api_authorizer.rb:16
19
+ msgid "Missing one of the required permissions: view_hosts"
20
+ msgstr ""
21
+
22
+ #: ../app/controllers/api/v2/preupgrade_reports_controller.rb:10
23
+ msgid "List Preupgrade reports"
24
+ msgstr ""
25
+
26
+ #: ../app/controllers/api/v2/preupgrade_reports_controller.rb:16
27
+ msgid "Show Preupgrade report"
28
+ msgstr ""
29
+
30
+ #: ../app/controllers/api/v2/preupgrade_reports_controller.rb:22
31
+ msgid "List Preupgrade reports for Job invocation"
32
+ msgstr ""
33
+
34
+ #: ../app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb:6 ../app/helpers/foreman_leapp/hosts_helper.rb:6 ../lib/foreman_leapp/engine.rb:93
35
+ msgid "Preupgrade check with Leapp"
36
+ msgstr ""
37
+
38
+ #: ../app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb:8 ../app/helpers/foreman_leapp/hosts_helper.rb:8 ../lib/foreman_leapp/engine.rb:100
39
+ msgid "Upgrade with Leapp"
40
+ msgstr ""
41
+
42
+ #: ../lib/foreman_leapp/engine.rb:32
43
+ msgid "Leapp preupgrade report"
44
+ msgstr ""
45
+
46
+ #: ../lib/foreman_leapp/engine.rb:94
47
+ msgid "Upgradeability check for RHEL host"
48
+ msgstr ""
49
+
50
+ #: ../lib/foreman_leapp/engine.rb:101
51
+ msgid "Run Leapp upgrade job for RHEL host"
52
+ msgstr ""
53
+
54
+ #: ../lib/foreman_leapp/engine.rb:107
55
+ msgid "Remediation plan"
56
+ msgstr ""
57
+
58
+ #: ../lib/foreman_leapp/engine.rb:108
59
+ msgid "Run Remediation plan with Leapp"
60
+ msgstr ""
61
+
62
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:19 ../webpack/components/PreupgradeReportsList/components/PreupgradeReportsListHeader.js:38
63
+ msgid "Title"
64
+ msgstr ""
65
+
66
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:20 ../webpack/components/PreupgradeReportsList/components/PreupgradeReportsListHeader.js:13
67
+ msgid "Risk Factor"
68
+ msgstr ""
69
+
70
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:21 ../webpack/components/PreupgradeReportsList/components/PreupgradeReportsListHeader.js:12
71
+ msgid "Host"
72
+ msgstr ""
73
+
74
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:22
75
+ msgid "Fix Type"
76
+ msgstr ""
77
+
78
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:23 ../webpack/components/PreupgradeReportsList/components/InhibitorInfoItem.js:21
79
+ msgid "Inhibitor"
80
+ msgstr ""
81
+
82
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:27 ../webpack/components/PreupgradeReports/components/EntriesFilter.js:35 ../webpack/components/PreupgradeReports/components/EntriesFilter.js:41
83
+ msgid "All"
84
+ msgstr ""
85
+
86
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:28
87
+ msgid "Low"
88
+ msgstr ""
89
+
90
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:29
91
+ msgid "Medium"
92
+ msgstr ""
93
+
94
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:30
95
+ msgid "High"
96
+ msgstr ""
97
+
98
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:31
99
+ msgid "Info"
100
+ msgstr ""
101
+
102
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:36
103
+ msgid "Hint"
104
+ msgstr ""
105
+
106
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:37
107
+ msgid "Command"
108
+ msgstr ""
109
+
110
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:42
111
+ msgid "Yes"
112
+ msgstr ""
113
+
114
+ #: ../webpack/components/PreupgradeReports/components/EntriesFilter.js:43
115
+ msgid "No"
116
+ msgstr ""
117
+
118
+ #: ../webpack/components/PreupgradeReports/components/FixSelectedButton.js:12
119
+ msgid "Fix Selected"
120
+ msgstr ""
121
+
122
+ #: ../webpack/components/PreupgradeReports/components/NoReports.js:12
123
+ msgid "The preupgrade report could not be generated, check the job details for the reason"
124
+ msgstr ""
125
+
126
+ #: ../webpack/components/PreupgradeReports/components/NoReports.js:17
127
+ msgid "The preupgrade report will be available after the job finishes"
128
+ msgstr ""
129
+
130
+ #: ../webpack/components/PreupgradeReports/components/NoReports.js:25
131
+ msgid "No Preupgrade Report Available"
132
+ msgstr ""
133
+
134
+ #: ../webpack/components/PreupgradeReports/components/UpgradeAllButton.js:8
135
+ msgid "Run Upgrade"
136
+ msgstr ""
137
+
138
+ #: ../webpack/components/PreupgradeReportsList/components/InhibitorInfoItem.js:17
139
+ msgid "This issue inhibits the upgrade."
140
+ msgstr ""
141
+
142
+ #: ../webpack/components/PreupgradeReportsList/components/PreupgradeReportsListHeader.js:14
143
+ msgid "Has Remediation?"
144
+ msgstr ""
145
+
146
+ #: ../webpack/components/PreupgradeReportsList/components/PreupgradeReportsListHeader.js:15
147
+ msgid "Inhibitor?"
148
+ msgstr ""
149
+
150
+ #: action_names.rb:2
151
+ msgid "Remote action:"
152
+ msgstr ""
153
+
154
+ #: action_names.rb:3
155
+ msgid "Import Puppet classes"
156
+ msgstr ""
157
+
158
+ #: action_names.rb:4
159
+ msgid "Import facts"
160
+ msgstr ""
161
+
162
+ #: action_names.rb:5
163
+ msgid "Action with sub plans"
164
+ msgstr ""
165
+
166
+ #: action_names.rb:6
167
+ msgid "Preupgrade job"
168
+ msgstr ""
169
+
170
+ #: gemspec.rb:4
171
+ msgid "A Foreman plugin to support inplace RHEL upgrades with Leapp utility."
172
+ msgstr ""
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: version 0.0.1\n"
7
+ "Project-Id-Version: foreman_leapp 0.1.11\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "PO-Revision-Date: 2014-08-20 08:54+0100\n"
10
10
  "Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
@@ -15,7 +15,10 @@ msgstr ""
15
15
  "Content-Transfer-Encoding: 8bit\n"
16
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
17
 
18
- msgid "A foreman plugin to support inplace RHEL 7 -> RHEL 8 upgrades with Leapp utility."
18
+ msgid "A Foreman plugin to support inplace RHEL upgrades with Leapp utility."
19
+ msgstr ""
20
+
21
+ msgid "Action with sub plans"
19
22
  msgstr ""
20
23
 
21
24
  msgid "All"
@@ -42,6 +45,12 @@ msgstr ""
42
45
  msgid "Host"
43
46
  msgstr ""
44
47
 
48
+ msgid "Import Puppet classes"
49
+ msgstr ""
50
+
51
+ msgid "Import facts"
52
+ msgstr ""
53
+
45
54
  msgid "Info"
46
55
  msgstr ""
47
56
 
@@ -78,19 +87,19 @@ msgstr ""
78
87
  msgid "Preupgrade check with Leapp"
79
88
  msgstr ""
80
89
 
81
- msgid "Remediation plan"
90
+ msgid "Preupgrade job"
82
91
  msgstr ""
83
92
 
84
- msgid "Rerun preupgrade check"
93
+ msgid "Remediation plan"
85
94
  msgstr ""
86
95
 
87
- msgid "Risk Factor"
96
+ msgid "Remote action:"
88
97
  msgstr ""
89
98
 
90
- msgid "Run Leapp Preupgrade check again"
99
+ msgid "Risk Factor"
91
100
  msgstr ""
92
101
 
93
- msgid "Run Leapp upgrade job for RHEL 7 host"
102
+ msgid "Run Leapp upgrade job for RHEL host"
94
103
  msgstr ""
95
104
 
96
105
  msgid "Run Remediation plan with Leapp"
@@ -102,6 +111,9 @@ msgstr ""
102
111
  msgid "Show Preupgrade report"
103
112
  msgstr ""
104
113
 
114
+ msgid "The preupgrade report could not be generated, check the job details for the reason"
115
+ msgstr ""
116
+
105
117
  msgid "The preupgrade report will be available after the job finishes"
106
118
  msgstr ""
107
119
 
@@ -114,7 +126,7 @@ msgstr ""
114
126
  msgid "Upgrade with Leapp"
115
127
  msgstr ""
116
128
 
117
- msgid "Upgradeability check for RHEL 7 host"
129
+ msgid "Upgradeability check for RHEL host"
118
130
  msgstr ""
119
131
 
120
132
  msgid "Yes"
File without changes
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_leapp 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2020-07-20 08:46+0200\n"
12
- "PO-Revision-Date: 2020-07-20 08:46+0200\n"
11
+ "POT-Creation-Date: 2022-11-24 18:59+0100\n"
12
+ "PO-Revision-Date: 2022-11-24 18:59+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -34,44 +34,35 @@ msgstr ""
34
34
  msgid "List Preupgrade reports for Job invocation"
35
35
  msgstr ""
36
36
 
37
- #: ../app/helpers/concerns/foreman_leapp/hosts_helper_extensions.rb:6
38
- #: ../app/helpers/concerns/foreman_leapp/hosts_helper_extensions.rb:11
39
- #: ../lib/foreman_leapp/engine.rb:53
37
+ #: ../app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb:6
38
+ #: ../app/helpers/foreman_leapp/hosts_helper.rb:6
39
+ #: ../lib/foreman_leapp/engine.rb:93
40
40
  msgid "Preupgrade check with Leapp"
41
41
  msgstr ""
42
42
 
43
- #: ../app/helpers/concerns/foreman_leapp/hosts_helper_extensions.rb:7
44
- #: ../app/helpers/concerns/foreman_leapp/hosts_helper_extensions.rb:13
45
- #: ../lib/foreman_leapp/engine.rb:60
46
- msgid "Upgrade with Leapp"
47
- msgstr ""
48
-
49
43
  #: ../app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb:8
50
- msgid "Rerun preupgrade check"
51
- msgstr ""
52
-
53
- #:
54
- #: ../app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb:11
55
- msgid "Run Leapp Preupgrade check again"
44
+ #: ../app/helpers/foreman_leapp/hosts_helper.rb:8
45
+ #: ../lib/foreman_leapp/engine.rb:100
46
+ msgid "Upgrade with Leapp"
56
47
  msgstr ""
57
48
 
58
49
  #: ../lib/foreman_leapp/engine.rb:32
59
50
  msgid "Leapp preupgrade report"
60
51
  msgstr ""
61
52
 
62
- #: ../lib/foreman_leapp/engine.rb:54
63
- msgid "Upgradeability check for RHEL 7 host"
53
+ #: ../lib/foreman_leapp/engine.rb:94
54
+ msgid "Upgradeability check for RHEL host"
64
55
  msgstr ""
65
56
 
66
- #: ../lib/foreman_leapp/engine.rb:61
67
- msgid "Run Leapp upgrade job for RHEL 7 host"
57
+ #: ../lib/foreman_leapp/engine.rb:101
58
+ msgid "Run Leapp upgrade job for RHEL host"
68
59
  msgstr ""
69
60
 
70
- #: ../lib/foreman_leapp/engine.rb:67
61
+ #: ../lib/foreman_leapp/engine.rb:107
71
62
  msgid "Remediation plan"
72
63
  msgstr ""
73
64
 
74
- #: ../lib/foreman_leapp/engine.rb:68
65
+ #: ../lib/foreman_leapp/engine.rb:108
75
66
  msgid "Run Remediation plan with Leapp"
76
67
  msgstr ""
77
68
 
@@ -141,6 +132,12 @@ msgstr ""
141
132
  msgid "Fix Selected"
142
133
  msgstr ""
143
134
 
135
+ #: ../webpack/components/PreupgradeReports/components/NoReports.js:12
136
+ msgid ""
137
+ "The preupgrade report could not be generated, check the job details for the re"
138
+ "ason"
139
+ msgstr ""
140
+
144
141
  #: ../webpack/components/PreupgradeReports/components/NoReports.js:17
145
142
  msgid "The preupgrade report will be available after the job finishes"
146
143
  msgstr ""
@@ -149,7 +146,7 @@ msgstr ""
149
146
  msgid "No Preupgrade Report Available"
150
147
  msgstr ""
151
148
 
152
- #: ../webpack/components/PreupgradeReports/components/UpgradeAllButton.js:13
149
+ #: ../webpack/components/PreupgradeReports/components/UpgradeAllButton.js:8
153
150
  msgid "Run Upgrade"
154
151
  msgstr ""
155
152
 
@@ -168,8 +165,26 @@ msgstr ""
168
165
  msgid "Inhibitor?"
169
166
  msgstr ""
170
167
 
168
+ #: action_names.rb:2
169
+ msgid "Action with sub plans"
170
+ msgstr ""
171
+
172
+ #: action_names.rb:3
173
+ msgid "Import facts"
174
+ msgstr ""
175
+
176
+ #: action_names.rb:4
177
+ msgid "Import Puppet classes"
178
+ msgstr ""
179
+
180
+ #: action_names.rb:5
181
+ msgid "Remote action:"
182
+ msgstr ""
183
+
184
+ #: action_names.rb:6
185
+ msgid "Preupgrade job"
186
+ msgstr ""
187
+
171
188
  #: gemspec.rb:4
172
- msgid ""
173
- "A foreman plugin to support inplace RHEL 7 -> RHEL 8 upgrades with Leapp utili"
174
- "ty."
189
+ msgid "A Foreman plugin to support inplace RHEL upgrades with Leapp utility."
175
190
  msgstr ""
data/locale/gemspec.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Matches foreman_leapp.gemspec
4
- _('A foreman plugin to support inplace RHEL 7 -> RHEL 8 upgrades with Leapp utility.')
4
+ _('A Foreman plugin to support inplace RHEL upgrades with Leapp utility.')
@@ -0,0 +1,137 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_leapp package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # NorwayFun <temuri.doghonadze@gmail.com>, 2022
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: foreman_leapp 1.0.0\n"
12
+ "Report-Msgid-Bugs-To: \n"
13
+ "PO-Revision-Date: 2022-10-12 12:00+0000\n"
14
+ "Last-Translator: NorwayFun <temuri.doghonadze@gmail.com>, 2022\n"
15
+ "Language-Team: Georgian (https://www.transifex.com/foreman/teams/114/ka/)\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Language: ka\n"
20
+ "Plural-Forms: nplurals=2; plural=(n!=1);\n"
21
+
22
+ msgid "A Foreman plugin to support inplace RHEL upgrades with Leapp utility."
23
+ msgstr ""
24
+
25
+ msgid "Action with sub plans"
26
+ msgstr ""
27
+
28
+ msgid "All"
29
+ msgstr "ყველა"
30
+
31
+ msgid "Command"
32
+ msgstr "ბრძანება"
33
+
34
+ msgid "Fix Selected"
35
+ msgstr "არჩეული გასწორება"
36
+
37
+ msgid "Fix Type"
38
+ msgstr "გასწორების ტიპი"
39
+
40
+ msgid "Has Remediation?"
41
+ msgstr "აქვს გაუქმება?"
42
+
43
+ msgid "High"
44
+ msgstr "მაღალი"
45
+
46
+ msgid "Hint"
47
+ msgstr "მინიშნება"
48
+
49
+ msgid "Host"
50
+ msgstr "ჰოსტი"
51
+
52
+ msgid "Import Puppet classes"
53
+ msgstr ""
54
+
55
+ msgid "Import facts"
56
+ msgstr ""
57
+
58
+ msgid "Info"
59
+ msgstr "ინფორმაცია"
60
+
61
+ msgid "Inhibitor"
62
+ msgstr "ინჰიბიტორი"
63
+
64
+ msgid "Inhibitor?"
65
+ msgstr "ინჰიბიტორი?"
66
+
67
+ msgid "Leapp preupgrade report"
68
+ msgstr "Leapp-ის განახლებისწინა ანგარიში"
69
+
70
+ msgid "List Preupgrade reports"
71
+ msgstr "განახლებისწინა ანგარიშების სია"
72
+
73
+ msgid "List Preupgrade reports for Job invocation"
74
+ msgstr "განახლებისწინა ანგარიშების სია დავალების ჩასაწოდებლად"
75
+
76
+ msgid "Low"
77
+ msgstr "დაბალი"
78
+
79
+ msgid "Medium"
80
+ msgstr "საშუალო"
81
+
82
+ msgid "Missing one of the required permissions: view_hosts"
83
+ msgstr "აკლია ერთ-ერთი საჭირო ნებართვა: view_hosts"
84
+
85
+ msgid "No"
86
+ msgstr "არა"
87
+
88
+ msgid "No Preupgrade Report Available"
89
+ msgstr "განახლებისწინა ანგარიში ხელმისაწვდომი არაა"
90
+
91
+ msgid "Preupgrade check with Leapp"
92
+ msgstr "განახლებისწინა შემოწმება Leapp-ით"
93
+
94
+ msgid "Preupgrade job"
95
+ msgstr ""
96
+
97
+ msgid "Remediation plan"
98
+ msgstr "გაუქმების გეგმა"
99
+
100
+ msgid "Remote action:"
101
+ msgstr ""
102
+
103
+ msgid "Risk Factor"
104
+ msgstr "რისკის ფაქტორი"
105
+
106
+ msgid "Run Leapp upgrade job for RHEL host"
107
+ msgstr ""
108
+
109
+ msgid "Run Remediation plan with Leapp"
110
+ msgstr "გაუქმების გეგმის Leapp-ით გაშვება"
111
+
112
+ msgid "Run Upgrade"
113
+ msgstr "განახლების გაშვება"
114
+
115
+ msgid "Show Preupgrade report"
116
+ msgstr "განახლებისწინა ანგარიშის ჩვენება"
117
+
118
+ msgid "The preupgrade report could not be generated, check the job details for the reason"
119
+ msgstr ""
120
+
121
+ msgid "The preupgrade report will be available after the job finishes"
122
+ msgstr "განახლებისწინა ანგარიში დავალების დასრულების შემდეგ იქნება ხელმისაწვდომი"
123
+
124
+ msgid "This issue inhibits the upgrade."
125
+ msgstr "ეს პრობლემა აჩერებს განახლებას."
126
+
127
+ msgid "Title"
128
+ msgstr "სათაური"
129
+
130
+ msgid "Upgrade with Leapp"
131
+ msgstr "Leapp-ით განახლება"
132
+
133
+ msgid "Upgradeability check for RHEL host"
134
+ msgstr ""
135
+
136
+ msgid "Yes"
137
+ msgstr "დიახ"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_leapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Leapp team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2023-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman_remote_execution
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
19
+ version: 8.1.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '3.2'
26
+ version: 8.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: foreman_ansible
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,8 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '6.2'
55
- description: A Foreman plugin to support inplace RHEL 7 -> RHEL 8 upgrades with Leapp
56
- utility.
55
+ description: A Foreman plugin to support inplace RHEL upgrades with Leapp utility.
57
56
  email:
58
57
  - foreman-dev@googlegroups.com
59
58
  executables: []
@@ -66,8 +65,7 @@ files:
66
65
  - app/controllers/api/v2/concerns/api_authorizer.rb
67
66
  - app/controllers/api/v2/preupgrade_reports_controller.rb
68
67
  - app/controllers/preupgrade_reports_controller.rb
69
- - app/helpers/concerns/foreman_leapp/hosts_helper_extensions.rb
70
- - app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb
68
+ - app/helpers/foreman_leapp/hosts_helper.rb
71
69
  - app/helpers/foreman_leapp/template_helper.rb
72
70
  - app/lib/actions/preupgrade_job.rb
73
71
  - app/lib/helpers/job_helper.rb
@@ -99,9 +97,16 @@ files:
99
97
  - lib/tasks/foreman_leapp_tasks.rake
100
98
  - locale/Makefile
101
99
  - locale/action_names.rb
100
+ - locale/de/LC_MESSAGES/foreman_leapp.mo
101
+ - locale/de/foreman_leapp.po
102
+ - locale/en/LC_MESSAGES/foreman_leapp.mo
103
+ - locale/en/foreman_leapp.edit.po
102
104
  - locale/en/foreman_leapp.po
105
+ - locale/en/foreman_leapp.po.time_stamp
103
106
  - locale/foreman_leapp.pot
104
107
  - locale/gemspec.rb
108
+ - locale/ka/LC_MESSAGES/foreman_leapp.mo
109
+ - locale/ka/foreman_leapp.po
105
110
  - package.json
106
111
  - test/factories/foreman_leapp_factories.rb
107
112
  - test/functional/api/v2/preupgrade_reports_controller_test.rb
@@ -198,17 +203,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
203
  - !ruby/object:Gem::Version
199
204
  version: '0'
200
205
  requirements: []
201
- rubygems_version: 3.3.7
206
+ rubygems_version: 3.3.26
202
207
  signing_key:
203
208
  specification_version: 4
204
209
  summary: A Foreman plugin for Leapp utility.
205
210
  test_files:
211
+ - test/factories/foreman_leapp_factories.rb
206
212
  - test/functional/api/v2/preupgrade_reports_controller_test.rb
207
213
  - test/functional/preupgrade_reports_controller_test.rb
208
- - test/models/preupgrade_report_test.rb
214
+ - test/helpers/template_helper_test.rb
209
215
  - test/models/preupgrade_report_entry_test.rb
210
- - test/unit/helpers/job_helper_test.rb
216
+ - test/models/preupgrade_report_test.rb
211
217
  - test/unit/actions/preupgrade_job_test.rb
218
+ - test/unit/helpers/job_helper_test.rb
212
219
  - test/test_plugin_helper.rb
213
- - test/helpers/template_helper_test.rb
214
- - test/factories/foreman_leapp_factories.rb
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ForemanLeapp
4
- module HostsHelperExtensions
5
- def multiple_actions
6
- super + [[_('Preupgrade check with Leapp'), new_job_invocation_path(feature: 'leapp_preupgrade'), false],
7
- [_('Upgrade with Leapp'), new_job_invocation_path(feature: 'leapp_upgrade'), false]]
8
- end
9
-
10
- def rex_host_features(*args)
11
- super + [link_to(_('Preupgrade check with Leapp'),
12
- new_job_invocation_path(host_ids: [args.first.id], feature: 'leapp_preupgrade')),
13
- link_to(_('Upgrade with Leapp'),
14
- new_job_invocation_path(host_ids: [args.first.id], feature: 'leapp_upgrade'))]
15
- end
16
- end
17
- end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ForemanLeapp
4
- module RemoteExecutionHelperExtension
5
- def job_invocation_task_buttons(task)
6
- return super unless ::Helpers::JobHelper.correct_feature?(@job_invocation, 'leapp_remediation_plan')
7
-
8
- super.insert(2, link_to(_('Rerun preupgrade check'),
9
- new_job_invocation_path(host_ids: @resource_base.map(&:id), feature: 'leapp_preupgrade'),
10
- class: 'btn btn-default',
11
- title: _('Run Leapp Preupgrade check again'),
12
- method: :get))
13
- end
14
- end
15
- end