foreman_leapp 0.1.11 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f66eb2aaee146f245f45c3806525803d9bf0834035ea62fcde33e666d9df94d7
4
- data.tar.gz: 20d3e32fc5ab353b5bb0e804bb54a2f937a757cb220a37cb3d1067915f4f7129
3
+ metadata.gz: 4ccc8006d2858984a80d8370a93af82704ff1734dc8f73990e60416e75ee00a1
4
+ data.tar.gz: 60c327e53286b5141288c36cd8fee4ac602b8897373b6215f4864c35646f560b
5
5
  SHA512:
6
- metadata.gz: 529c587c622d1d3a131f16d62670c6bb341ae9a762dea74b092d62b8e56b3a7b3b2874be83bc96b83e521f9474123a745d868390162df2836e1a83d73ed10b62
7
- data.tar.gz: 6efbb688ff2ce91a8181f2698fb4beb9e64b5bb01d95e3ddbb6e91bedac4fbd326e651d3bbe74650ed3c20226c59a56bc19c673762f29f148aa1223b52bdc1f5
6
+ metadata.gz: 18ebdf0f64f30536376fbeb66ee5feab67a219f6ac3c08dc868aba6ea5786936dd4f9f88a9f2cb02b8f97d76a322205760b64b186a85018b0a5ebc5c2ec84ccd
7
+ data.tar.gz: 27d71b3c90c6bd5ef3548aace9e3326aea7716ce07cee664e888fbbcd8ea50697946dada672756dbd5d06a15d1fe2364f7fa2a764e6f979aecc198b6d0dee9e1
@@ -78,11 +78,6 @@ module ForemanLeapp
78
78
  ForemanTasks.dynflow.config.eager_load_paths << File.join(ForemanLeapp::Engine.root, 'app/lib/actions')
79
79
  end
80
80
 
81
- initializer('foreman_leapp.extend_remote_execution',
82
- after: 'foreman_leapp.require_foreman_remote_execution') do |_app|
83
- RemoteExecutionHelper.prepend ForemanLeapp::RemoteExecutionHelperExtension
84
- end
85
-
86
81
  initializer 'foreman_leapp.apipie' do
87
82
  Apipie.configuration.checksum_path += ['/api/']
88
83
  end
@@ -92,14 +87,14 @@ module ForemanLeapp
92
87
  :leapp_preupgrade,
93
88
  N_('Preupgrade check with Leapp'),
94
89
  description: N_('Upgradeability check for RHEL host'),
95
- host_action_button: false
90
+ host_action_button: true
96
91
  )
97
92
 
98
93
  RemoteExecutionFeature.register(
99
94
  :leapp_upgrade,
100
95
  N_('Upgrade with Leapp'),
101
96
  description: N_('Run Leapp upgrade job for RHEL host'),
102
- host_action_button: false
97
+ host_action_button: true
103
98
  )
104
99
 
105
100
  RemoteExecutionFeature.register(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanLeapp
4
- VERSION = '0.1.11'
4
+ VERSION = '0.1.12'
5
5
  end
@@ -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"
@@ -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"
@@ -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: 2022-10-10 10:24+0200\n"
12
- "PO-Revision-Date: 2022-10-10 10:24+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"
@@ -166,19 +166,19 @@ msgid "Inhibitor?"
166
166
  msgstr ""
167
167
 
168
168
  #: action_names.rb:2
169
- msgid "Remote action:"
169
+ msgid "Action with sub plans"
170
170
  msgstr ""
171
171
 
172
172
  #: action_names.rb:3
173
- msgid "Import Puppet classes"
173
+ msgid "Import facts"
174
174
  msgstr ""
175
175
 
176
176
  #: action_names.rb:4
177
- msgid "Import facts"
177
+ msgid "Import Puppet classes"
178
178
  msgstr ""
179
179
 
180
180
  #: action_names.rb:5
181
- msgid "Action with sub plans"
181
+ msgid "Remote action:"
182
182
  msgstr ""
183
183
 
184
184
  #: action_names.rb:6
@@ -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.11
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-10-24 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
@@ -65,7 +65,6 @@ files:
65
65
  - app/controllers/api/v2/concerns/api_authorizer.rb
66
66
  - app/controllers/api/v2/preupgrade_reports_controller.rb
67
67
  - app/controllers/preupgrade_reports_controller.rb
68
- - app/helpers/concerns/foreman_leapp/remote_execution_helper_extension.rb
69
68
  - app/helpers/foreman_leapp/hosts_helper.rb
70
69
  - app/helpers/foreman_leapp/template_helper.rb
71
70
  - app/lib/actions/preupgrade_job.rb
@@ -98,11 +97,16 @@ files:
98
97
  - lib/tasks/foreman_leapp_tasks.rake
99
98
  - locale/Makefile
100
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
101
103
  - locale/en/foreman_leapp.edit.po
102
104
  - locale/en/foreman_leapp.po
103
105
  - locale/en/foreman_leapp.po.time_stamp
104
106
  - locale/foreman_leapp.pot
105
107
  - locale/gemspec.rb
108
+ - locale/ka/LC_MESSAGES/foreman_leapp.mo
109
+ - locale/ka/foreman_leapp.po
106
110
  - package.json
107
111
  - test/factories/foreman_leapp_factories.rb
108
112
  - test/functional/api/v2/preupgrade_reports_controller_test.rb
@@ -199,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
203
  - !ruby/object:Gem::Version
200
204
  version: '0'
201
205
  requirements: []
202
- rubygems_version: 3.1.6
206
+ rubygems_version: 3.3.26
203
207
  signing_key:
204
208
  specification_version: 4
205
209
  summary: A Foreman plugin for Leapp utility.
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ForemanLeapp
4
- module RemoteExecutionHelperExtension
5
- def rex_host_features(*args)
6
- super + [link_to(_('Preupgrade check with Leapp'),
7
- new_job_invocation_path(host_ids: [args.first.id], feature: 'leapp_preupgrade')),
8
- link_to(_('Upgrade with Leapp'),
9
- new_job_invocation_path(host_ids: [args.first.id], feature: 'leapp_upgrade'))]
10
- end
11
- end
12
- end