hammer_cli_foreman_tasks 0.0.13 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hammer_cli_foreman_tasks/command_extensions/recurring_logic.rb +55 -0
- data/lib/hammer_cli_foreman_tasks/command_extensions.rb +3 -0
- data/lib/hammer_cli_foreman_tasks/helper.rb +2 -1
- data/lib/hammer_cli_foreman_tasks/recurring_logic.rb +35 -1
- data/lib/hammer_cli_foreman_tasks/task.rb +2 -1
- data/lib/hammer_cli_foreman_tasks/task_progress.rb +11 -4
- data/lib/hammer_cli_foreman_tasks/version.rb +1 -1
- data/lib/hammer_cli_foreman_tasks.rb +1 -0
- data/locale/de/hammer_cli_foreman_tasks.po +8 -3
- data/locale/es/hammer_cli_foreman_tasks.po +9 -3
- data/locale/fr/hammer_cli_foreman_tasks.po +27 -22
- data/locale/it/hammer_cli_foreman_tasks.po +8 -3
- data/locale/ja/hammer_cli_foreman_tasks.po +8 -3
- data/locale/ko/hammer_cli_foreman_tasks.po +8 -3
- data/locale/pt_BR/hammer_cli_foreman_tasks.po +8 -3
- data/locale/ru/hammer_cli_foreman_tasks.po +8 -3
- data/locale/zh_CN/hammer_cli_foreman_tasks.po +8 -3
- data/locale/zh_TW/hammer_cli_foreman_tasks.po +8 -3
- metadata +11 -32
- data/locale/de/hammer_cli_foreman_tasks.edit.po +0 -121
- data/locale/de/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/en/hammer_cli_foreman_tasks.edit.po +0 -118
- data/locale/en/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/es/hammer_cli_foreman_tasks.edit.po +0 -121
- data/locale/es/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/fr/hammer_cli_foreman_tasks.edit.po +0 -118
- data/locale/fr/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/it/hammer_cli_foreman_tasks.edit.po +0 -119
- data/locale/it/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/ja/hammer_cli_foreman_tasks.edit.po +0 -119
- data/locale/ja/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/ko/hammer_cli_foreman_tasks.edit.po +0 -117
- data/locale/ko/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/pt_BR/hammer_cli_foreman_tasks.edit.po +0 -118
- data/locale/pt_BR/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/ru/hammer_cli_foreman_tasks.edit.po +0 -120
- data/locale/ru/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/zh_CN/hammer_cli_foreman_tasks.edit.po +0 -121
- data/locale/zh_CN/hammer_cli_foreman_tasks.po.time_stamp +0 -0
- data/locale/zh_TW/hammer_cli_foreman_tasks.edit.po +0 -117
- data/locale/zh_TW/hammer_cli_foreman_tasks.po.time_stamp +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd856c3497ae7216b0f22a19c6e211ee14f632a10f296d313f3e71f4132005aa
|
4
|
+
data.tar.gz: bc9362f59573117b8e1082a494cbad459047caeac7ab8051525653d4b9277b30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60f1b4f705a38a11e7727fc387e238966c058ed651a79bcacf5f5a7f36f66a71562cb314949e01b3c4cffec2d77f59e307c0594c9473340b292737ebc0f6f76b
|
7
|
+
data.tar.gz: 147d001ecf30f7f74db028d347aff312627b7bd99f9789708d20c66692ae5aa25de3bb2fe92f51d5fadb0ebc00571a57eab7c2132eca5aacb66182e0703131da
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'date'
|
2
|
+
|
3
|
+
module HammerCLIForemanTasks
|
4
|
+
module CommandExtensions
|
5
|
+
class RecurringLogic < HammerCLI::CommandExtensions
|
6
|
+
before_print do |data|
|
7
|
+
data['action'] = format_task_input(data['tasks'].last)
|
8
|
+
data['last_occurrence'] = recurring_logic_last_occurrence(data)
|
9
|
+
data['next_occurrence'] = recurring_logic_next_occurrence(data)
|
10
|
+
data['iteration_limit'] = format_recurring_logic_limit(data['max_iteration'])
|
11
|
+
data['repeat_until'] = format_recurring_logic_limit(data['end_time'])
|
12
|
+
end
|
13
|
+
|
14
|
+
output do |definition|
|
15
|
+
definition.insert(:after, :cron_line) do
|
16
|
+
field :action, _('Action')
|
17
|
+
field :last_occurrence, _('Last occurrence')
|
18
|
+
field :next_occurrence, _('Next occurrence')
|
19
|
+
end
|
20
|
+
definition.insert(:after, :iteration) do
|
21
|
+
field :iteration_limit, _('Iteration limit')
|
22
|
+
end
|
23
|
+
definition.insert(:replace, :end_time) do
|
24
|
+
field :repeat_until, _('Repeat until')
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.recurring_logic_last_occurrence(recurring_logic)
|
29
|
+
last_task = recurring_logic['tasks'].select { |t| t['started_at'] }
|
30
|
+
.max { |a, b| a['started_at'] <=> b['started_at'] }
|
31
|
+
return '-' if last_task.nil? || last_task['started_at'].nil?
|
32
|
+
|
33
|
+
last_task['started_at']
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.recurring_logic_next_occurrence(recurring_logic)
|
37
|
+
default = '-'
|
38
|
+
return default if %w[cancelled finished disabled].include?(recurring_logic['state'])
|
39
|
+
|
40
|
+
last_task = recurring_logic['tasks'].max { |a, b| a['start_at'] <=> b['start_at'] }
|
41
|
+
last_task ? last_task['start_at'] : default
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.format_task_input(task)
|
45
|
+
return '-' unless task
|
46
|
+
|
47
|
+
task['action']
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.format_recurring_logic_limit(thing)
|
51
|
+
thing || _('Unlimited')
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -4,7 +4,8 @@ module HammerCLIForemanTasks
|
|
4
4
|
def task_progress(task_or_id)
|
5
5
|
task_id = task_or_id.is_a?(Hash) ? task_or_id['id'] : task_or_id
|
6
6
|
if !task_id.empty?
|
7
|
-
|
7
|
+
options = { verbosity: @context[:verbosity] || HammerCLI::V_VERBOSE }
|
8
|
+
task_progress = TaskProgress.new(task_id, options) { |id| load_task(id) }
|
8
9
|
task_progress.render
|
9
10
|
task_progress.success?
|
10
11
|
else
|
@@ -6,8 +6,8 @@ module HammerCLIForemanTasks
|
|
6
6
|
output do
|
7
7
|
field :id, _('ID')
|
8
8
|
field :cron_line, _('Cron line')
|
9
|
-
field :end_time, _('End time')
|
10
9
|
field :iteration, _('Iteration')
|
10
|
+
field :end_time, _('End time')
|
11
11
|
field :state, _('State')
|
12
12
|
end
|
13
13
|
|
@@ -17,6 +17,8 @@ module HammerCLIForemanTasks
|
|
17
17
|
class InfoCommand < HammerCLIForeman::InfoCommand
|
18
18
|
output ListCommand.output_definition
|
19
19
|
build_options
|
20
|
+
|
21
|
+
extend_with(HammerCLIForemanTasks::CommandExtensions::RecurringLogic.new)
|
20
22
|
end
|
21
23
|
|
22
24
|
class CancelCommand < HammerCLIForeman::DeleteCommand
|
@@ -26,6 +28,38 @@ module HammerCLIForemanTasks
|
|
26
28
|
failure_message _('Could not cancel the recurring logic')
|
27
29
|
build_options
|
28
30
|
end
|
31
|
+
|
32
|
+
class DeleteCommand < HammerCLIForeman::DeleteCommand
|
33
|
+
action :bulk_destroy
|
34
|
+
|
35
|
+
option '--cancelled', :flag, _("Only delete cancelled recurring logics")
|
36
|
+
option '--finished', :flag, _("Only delete finished recurring logics")
|
37
|
+
def request_params
|
38
|
+
params = super
|
39
|
+
raise ArgumentError, "Please specify if you want to remove cancelled or finished recurring logics using --cancelled or --finished." unless (options['option_cancelled'] || options["option_finished"])
|
40
|
+
raise ArgumentError, "Please only use one of the arguments at a time." if (options['option_cancelled'] && options["option_finished"])
|
41
|
+
cancelled = "state=cancelled" if options["option_cancelled"]
|
42
|
+
finished = "state=finished" if options["option_finished"]
|
43
|
+
params["search"] = cancelled || finished
|
44
|
+
params
|
45
|
+
end
|
46
|
+
|
47
|
+
command_name 'delete'
|
48
|
+
desc _("Delete all recuring logics filtered by the arguments")
|
49
|
+
failure_message _('Could not delete recurring logics')
|
50
|
+
output ListCommand.output_definition
|
51
|
+
|
52
|
+
def execute
|
53
|
+
response = send_request
|
54
|
+
if response.length > 0
|
55
|
+
puts _('The following recurring logics deleted:') + "\n"
|
56
|
+
print_data(response)
|
57
|
+
else
|
58
|
+
puts _("No recurring logics deleted.")
|
59
|
+
end
|
60
|
+
HammerCLI::EX_OK
|
61
|
+
end
|
62
|
+
end
|
29
63
|
|
30
64
|
autoload_subcommands
|
31
65
|
end
|
@@ -44,6 +44,7 @@ module HammerCLIForemanTasks
|
|
44
44
|
field :result, _('Result')
|
45
45
|
field :started_at, _('Started at'), Fields::Date
|
46
46
|
field :ended_at, _('Ended at'), Fields::Date
|
47
|
+
field :duration, _('Duration')
|
47
48
|
field :username, _('Owner')
|
48
49
|
|
49
50
|
from :humanized do
|
@@ -65,6 +66,7 @@ module HammerCLIForemanTasks
|
|
65
66
|
field :result, _('Result')
|
66
67
|
field :started_at, _('Started at'), Fields::Date
|
67
68
|
field :ended_at, _('Ended at'), Fields::Date
|
69
|
+
field :duration, _('Duration')
|
68
70
|
field :username, _('Owner')
|
69
71
|
|
70
72
|
from :humanized do
|
@@ -73,7 +75,6 @@ module HammerCLIForemanTasks
|
|
73
75
|
end
|
74
76
|
|
75
77
|
build_options
|
76
|
-
|
77
78
|
end
|
78
79
|
|
79
80
|
class ResumeCommand < HammerCLIForeman::InfoCommand
|
@@ -3,10 +3,11 @@ module HammerCLIForemanTasks
|
|
3
3
|
class TaskProgress
|
4
4
|
attr_accessor :interval, :task
|
5
5
|
|
6
|
-
def initialize(task_id, &block)
|
6
|
+
def initialize(task_id, options = {}, &block)
|
7
7
|
@update_block = block
|
8
8
|
@task_id = task_id
|
9
9
|
@interval = 2
|
10
|
+
@options = options
|
10
11
|
end
|
11
12
|
|
12
13
|
def render
|
@@ -43,8 +44,10 @@ module HammerCLIForemanTasks
|
|
43
44
|
end
|
44
45
|
|
45
46
|
def render_result
|
46
|
-
puts @task['humanized']['output']
|
47
|
-
|
47
|
+
puts @task['humanized']['output'] if !@task['humanized']['output'].to_s.empty? && appropriate_verbosity?
|
48
|
+
unless @task['humanized']['errors'].nil? || @task['humanized']['errors'].empty?
|
49
|
+
STDERR.puts "Error: #{@task['humanized']['errors'].join("\n")}"
|
50
|
+
end
|
48
51
|
end
|
49
52
|
|
50
53
|
def update_task
|
@@ -61,11 +64,15 @@ module HammerCLIForemanTasks
|
|
61
64
|
bar.settings.tty.finite.template.main = '[${<bar>}] [${<percent>%}]'
|
62
65
|
bar.settings.tty.finite.template.padchar = ' '
|
63
66
|
bar.settings.tty.finite.template.barchar = '.'
|
64
|
-
bar.settings.tty.finite.output = Proc.new { |s| $stderr.print s }
|
67
|
+
bar.settings.tty.finite.output = Proc.new { |s| $stderr.print s if appropriate_verbosity? }
|
65
68
|
yield bar
|
66
69
|
ensure
|
67
70
|
bar.close
|
68
71
|
render_result
|
69
72
|
end
|
73
|
+
|
74
|
+
def appropriate_verbosity?
|
75
|
+
@options[:verbosity] >= HammerCLI::V_VERBOSE
|
76
|
+
end
|
70
77
|
end
|
71
78
|
end
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# Wiederoder <stefanwiederoder@googlemail.com>, 2017
|
8
|
+
# Ettore Atalan <atalanttore@googlemail.com>, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
18
|
"Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
|
14
19
|
"MIME-Version: 1.0\n"
|
15
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -3,13 +3,19 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# Sergio Ocón <sergio.ocon@redhat.com>, 2017
|
8
|
+
# Gustavo Varela <gustavo.varela@gmail.com>, 2017
|
9
|
+
# Carmela Rubiños <carmela.rubinos@gmail.com>, 2017
|
10
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
11
|
+
#
|
6
12
|
#, fuzzy
|
7
13
|
msgid ""
|
8
14
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
15
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
16
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
17
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
18
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
19
|
"Language-Team: Spanish (https://www.transifex.com/foreman/teams/114/es/)\n"
|
14
20
|
"MIME-Version: 1.0\n"
|
15
21
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# 21966816214bc546c1fc8a185e75ca1c, 2017
|
8
|
+
# Claer <transiblu@claer.hammock.fr>, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2018
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2018\n"
|
13
18
|
"Language-Team: French (https://www.transifex.com/foreman/teams/114/fr/)\n"
|
14
19
|
"MIME-Version: 1.0\n"
|
15
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -18,31 +23,31 @@ msgstr ""
|
|
18
23
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
19
24
|
|
20
25
|
msgid "ID"
|
21
|
-
msgstr "
|
26
|
+
msgstr "Identificateur"
|
22
27
|
|
23
28
|
msgid "Cron line"
|
24
|
-
msgstr "Ligne
|
29
|
+
msgstr "Ligne cron"
|
25
30
|
|
26
31
|
msgid "End time"
|
27
|
-
msgstr ""
|
32
|
+
msgstr "Heure de fin"
|
28
33
|
|
29
34
|
msgid "Iteration"
|
30
|
-
msgstr ""
|
35
|
+
msgstr "Itération"
|
31
36
|
|
32
37
|
msgid "State"
|
33
38
|
msgstr "État "
|
34
39
|
|
35
40
|
msgid "Recurring logic cancelled."
|
36
|
-
msgstr ""
|
41
|
+
msgstr "Logique récurrente annulée."
|
37
42
|
|
38
43
|
msgid "Could not cancel the recurring logic."
|
39
|
-
msgstr ""
|
44
|
+
msgstr "N'a pas pu annuler la logique récurrente."
|
40
45
|
|
41
46
|
msgid "Recurring logic related actions."
|
42
|
-
msgstr ""
|
47
|
+
msgstr "Actions liées à la logique récurrente."
|
43
48
|
|
44
49
|
msgid "Show the progress of the task"
|
45
|
-
msgstr ""
|
50
|
+
msgstr "Afficher le progrès de la tâche"
|
46
51
|
|
47
52
|
msgid "Name"
|
48
53
|
msgstr "Nom"
|
@@ -60,34 +65,34 @@ msgid "Result"
|
|
60
65
|
msgstr "Résultat"
|
61
66
|
|
62
67
|
msgid "Task action"
|
63
|
-
msgstr ""
|
68
|
+
msgstr "Action de tâche"
|
64
69
|
|
65
70
|
msgid "Task errors"
|
66
|
-
msgstr ""
|
71
|
+
msgstr "Erreurs de tâche"
|
67
72
|
|
68
73
|
msgid "Resume all tasks paused in error state"
|
69
|
-
msgstr ""
|
74
|
+
msgstr "Reprendre toutes les tâches en attente avec des erreurs"
|
70
75
|
|
71
76
|
msgid "Total tasks found paused in error state"
|
72
|
-
msgstr ""
|
77
|
+
msgstr "Total des tâches mises en attente avec des erreurs"
|
73
78
|
|
74
79
|
msgid "Total tasks resumed"
|
75
|
-
msgstr ""
|
80
|
+
msgstr "Totals des tâches terminées"
|
76
81
|
|
77
82
|
msgid "Resumed tasks"
|
78
|
-
msgstr ""
|
83
|
+
msgstr "Tâches terminées"
|
79
84
|
|
80
85
|
msgid "Task identifier"
|
81
|
-
msgstr ""
|
86
|
+
msgstr "Identificateur de tâche"
|
82
87
|
|
83
88
|
msgid "Total tasks failed to resume"
|
84
|
-
msgstr ""
|
89
|
+
msgstr "Total des tâches qui n'ont pas pu être terminées"
|
85
90
|
|
86
91
|
msgid "Failed tasks"
|
87
|
-
msgstr ""
|
92
|
+
msgstr "Tâches ayant échoué"
|
88
93
|
|
89
94
|
msgid "Total tasks skipped"
|
90
|
-
msgstr ""
|
95
|
+
msgstr "Total des tâches évitées"
|
91
96
|
|
92
97
|
msgid "Skipped tasks"
|
93
|
-
msgstr ""
|
98
|
+
msgstr "Tâches évitées"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# mbacovsky <martin.bacovsky@gmail.com>, 2017
|
8
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
9
|
+
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2017\n"
|
13
18
|
"Language-Team: Italian (https://www.transifex.com/foreman/teams/114/it/)\n"
|
14
19
|
"MIME-Version: 1.0\n"
|
15
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# 山田 修司 🍣 Shuji Yamada <uzy.exe@gmail.com>, 2017
|
8
|
+
# Tomoyuki KATO <inactive+katomo@transifex.com>, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
18
|
"Language-Team: Japanese (https://www.transifex.com/foreman/teams/114/ja/)\n"
|
14
19
|
"MIME-Version: 1.0\n"
|
15
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# mbacovsky <martin.bacovsky@gmail.com>, 2017
|
8
|
+
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
18
|
"Language-Team: Korean (https://www.transifex.com/foreman/teams/114/ko/)\n"
|
14
19
|
"MIME-Version: 1.0\n"
|
15
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# Flamarion Jorge <jorge.flamarion@gmail.com>, 2017
|
8
|
+
# Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
18
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/foreman/teams/11"
|
14
19
|
"4/pt_BR/)\n"
|
15
20
|
"MIME-Version: 1.0\n"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# Vladimir Pavlov <v.pavlov@i-teco.ru>, 2017
|
8
|
+
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
18
|
"Language-Team: Russian (https://www.transifex.com/foreman/teams/114/ru/)\n"
|
14
19
|
"MIME-Version: 1.0\n"
|
15
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# mbacovsky <martin.bacovsky@gmail.com>, 2017
|
8
|
+
# tim123, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
18
|
"Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh"
|
14
19
|
"_CN/)\n"
|
15
20
|
"MIME-Version: 1.0\n"
|
@@ -3,13 +3,18 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_tasks package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
|
+
# Translators:
|
7
|
+
# mbacovsky <martin.bacovsky@gmail.com>, 2017
|
8
|
+
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2017
|
9
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2017
|
10
|
+
#
|
6
11
|
#, fuzzy
|
7
12
|
msgid ""
|
8
13
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.
|
14
|
+
"Project-Id-Version: hammer_cli_foreman_tasks 0.0.12\n"
|
10
15
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
16
|
+
"PO-Revision-Date: 2017-09-11 13:45+0000\n"
|
17
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2017\n"
|
13
18
|
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/foreman/teams/114/z"
|
14
19
|
"h_TW/)\n"
|
15
20
|
"MIME-Version: 1.0\n"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: powerbar
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 0.1.1
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 4.0.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,11 +49,11 @@ dependencies:
|
|
49
49
|
version: 0.1.1
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
52
|
+
version: 4.0.0
|
53
53
|
description: 'Contains the code for showing of the tasks (results and progress) in
|
54
54
|
the Hammer CLI.
|
55
55
|
|
56
|
-
'
|
56
|
+
'
|
57
57
|
email:
|
58
58
|
- inecas@redhat.com
|
59
59
|
executables: []
|
@@ -65,6 +65,8 @@ files:
|
|
65
65
|
- config/foreman_tasks.yml
|
66
66
|
- lib/hammer_cli_foreman_tasks.rb
|
67
67
|
- lib/hammer_cli_foreman_tasks/async_command.rb
|
68
|
+
- lib/hammer_cli_foreman_tasks/command_extensions.rb
|
69
|
+
- lib/hammer_cli_foreman_tasks/command_extensions/recurring_logic.rb
|
68
70
|
- lib/hammer_cli_foreman_tasks/helper.rb
|
69
71
|
- lib/hammer_cli_foreman_tasks/i18n.rb
|
70
72
|
- lib/hammer_cli_foreman_tasks/recurring_logic.rb
|
@@ -73,45 +75,23 @@ files:
|
|
73
75
|
- lib/hammer_cli_foreman_tasks/version.rb
|
74
76
|
- locale/Makefile
|
75
77
|
- locale/README.md
|
76
|
-
- locale/de/hammer_cli_foreman_tasks.edit.po
|
77
78
|
- locale/de/hammer_cli_foreman_tasks.po
|
78
|
-
- locale/de/hammer_cli_foreman_tasks.po.time_stamp
|
79
|
-
- locale/en/hammer_cli_foreman_tasks.edit.po
|
80
79
|
- locale/en/hammer_cli_foreman_tasks.po
|
81
|
-
- locale/en/hammer_cli_foreman_tasks.po.time_stamp
|
82
|
-
- locale/es/hammer_cli_foreman_tasks.edit.po
|
83
80
|
- locale/es/hammer_cli_foreman_tasks.po
|
84
|
-
- locale/es/hammer_cli_foreman_tasks.po.time_stamp
|
85
|
-
- locale/fr/hammer_cli_foreman_tasks.edit.po
|
86
81
|
- locale/fr/hammer_cli_foreman_tasks.po
|
87
|
-
- locale/fr/hammer_cli_foreman_tasks.po.time_stamp
|
88
82
|
- locale/hammer_cli_foreman_tasks.pot
|
89
|
-
- locale/it/hammer_cli_foreman_tasks.edit.po
|
90
83
|
- locale/it/hammer_cli_foreman_tasks.po
|
91
|
-
- locale/it/hammer_cli_foreman_tasks.po.time_stamp
|
92
|
-
- locale/ja/hammer_cli_foreman_tasks.edit.po
|
93
84
|
- locale/ja/hammer_cli_foreman_tasks.po
|
94
|
-
- locale/ja/hammer_cli_foreman_tasks.po.time_stamp
|
95
|
-
- locale/ko/hammer_cli_foreman_tasks.edit.po
|
96
85
|
- locale/ko/hammer_cli_foreman_tasks.po
|
97
|
-
- locale/ko/hammer_cli_foreman_tasks.po.time_stamp
|
98
|
-
- locale/pt_BR/hammer_cli_foreman_tasks.edit.po
|
99
86
|
- locale/pt_BR/hammer_cli_foreman_tasks.po
|
100
|
-
- locale/pt_BR/hammer_cli_foreman_tasks.po.time_stamp
|
101
|
-
- locale/ru/hammer_cli_foreman_tasks.edit.po
|
102
87
|
- locale/ru/hammer_cli_foreman_tasks.po
|
103
|
-
- locale/ru/hammer_cli_foreman_tasks.po.time_stamp
|
104
|
-
- locale/zh_CN/hammer_cli_foreman_tasks.edit.po
|
105
88
|
- locale/zh_CN/hammer_cli_foreman_tasks.po
|
106
|
-
- locale/zh_CN/hammer_cli_foreman_tasks.po.time_stamp
|
107
|
-
- locale/zh_TW/hammer_cli_foreman_tasks.edit.po
|
108
89
|
- locale/zh_TW/hammer_cli_foreman_tasks.po
|
109
|
-
- locale/zh_TW/hammer_cli_foreman_tasks.po.time_stamp
|
110
90
|
homepage: https://github.com/theforeman/hammer-cli-foreman-tasks
|
111
91
|
licenses:
|
112
92
|
- GPL-3.0
|
113
93
|
metadata: {}
|
114
|
-
post_install_message:
|
94
|
+
post_install_message:
|
115
95
|
rdoc_options: []
|
116
96
|
require_paths:
|
117
97
|
- lib
|
@@ -126,9 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
106
|
- !ruby/object:Gem::Version
|
127
107
|
version: '0'
|
128
108
|
requirements: []
|
129
|
-
|
130
|
-
|
131
|
-
signing_key:
|
109
|
+
rubygems_version: 3.1.2
|
110
|
+
signing_key:
|
132
111
|
specification_version: 4
|
133
112
|
summary: Foreman CLI plugin for showing tasks information for resoruces and users
|
134
113
|
test_files: []
|