hammer_cli_katello 1.14.3 → 1.15.0
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_katello/activation_key.rb +46 -26
- data/lib/hammer_cli_katello/content_view_environment.rb +28 -0
- data/lib/hammer_cli_katello/foreman_search_options_creators.rb +4 -0
- data/lib/hammer_cli_katello/host_extensions.rb +8 -7
- data/lib/hammer_cli_katello/version.rb +1 -1
- data/lib/hammer_cli_katello.rb +6 -0
- data/locale/bn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/bn/hammer-cli-katello.po +1 -155
- data/locale/bn_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/bn_IN/hammer-cli-katello.po +1 -155
- data/locale/bqi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/bqi/hammer-cli-katello.po +1 -155
- data/locale/ca/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ca/hammer-cli-katello.po +1 -155
- data/locale/cs_CZ/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/cs_CZ/hammer-cli-katello.po +1 -155
- data/locale/de/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/de/hammer-cli-katello.po +1 -155
- data/locale/de_AT/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/de_AT/hammer-cli-katello.po +1 -155
- data/locale/de_DE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/de_DE/hammer-cli-katello.po +1 -155
- data/locale/el/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/el/hammer-cli-katello.po +1 -155
- data/locale/en/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/en/hammer-cli-katello.po +171 -187
- data/locale/en_GB/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/en_GB/hammer-cli-katello.po +1 -155
- data/locale/en_US/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/en_US/hammer-cli-katello.po +1 -155
- data/locale/es/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/es/hammer-cli-katello.po +1 -155
- data/locale/et_EE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/et_EE/hammer-cli-katello.po +1 -155
- data/locale/fr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/fr/hammer-cli-katello.po +1 -155
- data/locale/gl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/gl/hammer-cli-katello.po +1 -155
- data/locale/gu/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/gu/hammer-cli-katello.po +1 -155
- data/locale/hammer-cli-katello.pot +566 -631
- data/locale/he_IL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/he_IL/hammer-cli-katello.po +1 -155
- data/locale/hi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/hi/hammer-cli-katello.po +1 -155
- data/locale/id/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/id/hammer-cli-katello.po +1 -155
- data/locale/it/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/it/hammer-cli-katello.po +1 -155
- data/locale/ja/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ja/hammer-cli-katello.po +1 -155
- data/locale/ka/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ka/hammer-cli-katello.po +1 -155
- data/locale/kn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/kn/hammer-cli-katello.po +1 -155
- data/locale/ko/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ko/hammer-cli-katello.po +1 -155
- data/locale/ml_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ml_IN/hammer-cli-katello.po +1 -155
- data/locale/mr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/mr/hammer-cli-katello.po +1 -155
- data/locale/nl_NL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/nl_NL/hammer-cli-katello.po +1 -155
- data/locale/or/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/or/hammer-cli-katello.po +1 -155
- data/locale/pa/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pa/hammer-cli-katello.po +1 -155
- data/locale/pl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pl/hammer-cli-katello.po +1 -155
- data/locale/pl_PL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pl_PL/hammer-cli-katello.po +1 -155
- data/locale/pt/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pt/hammer-cli-katello.po +1 -155
- data/locale/pt_BR/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pt_BR/hammer-cli-katello.po +1 -155
- data/locale/ro/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ro/hammer-cli-katello.po +1 -155
- data/locale/ro_RO/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ro_RO/hammer-cli-katello.po +1 -155
- data/locale/ru/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ru/hammer-cli-katello.po +1 -155
- data/locale/sl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/sl/hammer-cli-katello.po +1 -155
- data/locale/sv_SE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/sv_SE/hammer-cli-katello.po +1 -155
- data/locale/ta/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ta/hammer-cli-katello.po +1 -155
- data/locale/ta_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ta_IN/hammer-cli-katello.po +1 -155
- data/locale/te/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/te/hammer-cli-katello.po +1 -155
- data/locale/tr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/tr/hammer-cli-katello.po +1 -155
- data/locale/vi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/vi/hammer-cli-katello.po +1 -155
- data/locale/vi_VN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/vi_VN/hammer-cli-katello.po +1 -155
- data/locale/zh/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh/hammer-cli-katello.po +1 -155
- data/locale/zh_CN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh_CN/hammer-cli-katello.po +1 -155
- data/locale/zh_TW/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh_TW/hammer-cli-katello.po +1 -155
- data/test/data/4.14/foreman_api.json +1 -0
- data/test/functional/activation_key/data/activation_key.json +43 -1
- data/test/functional/activation_key/info_test.rb +28 -2
- data/test/functional/activation_key/list_test.rb +10 -8
- data/test/functional/host/extensions/data/host_list.json +21 -0
- data/test/functional/host/extensions/list_test.rb +2 -2
- data/test/functional/repository/update_test.rb +0 -1
- data/test/test_helper.rb +1 -1
- metadata +7 -100
- data/locale/bn/hammer-cli-katello.edit.po +0 -3255
- data/locale/bn/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/bn_IN/hammer-cli-katello.edit.po +0 -3255
- data/locale/bn_IN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/bqi/hammer-cli-katello.edit.po +0 -3251
- data/locale/bqi/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ca/hammer-cli-katello.edit.po +0 -3255
- data/locale/ca/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/cs_CZ/hammer-cli-katello.edit.po +0 -3256
- data/locale/cs_CZ/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/de/hammer-cli-katello.edit.po +0 -3329
- data/locale/de/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/de_AT/hammer-cli-katello.edit.po +0 -3251
- data/locale/de_AT/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/de_DE/hammer-cli-katello.edit.po +0 -3257
- data/locale/de_DE/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/el/hammer-cli-katello.edit.po +0 -3255
- data/locale/el/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/en/hammer-cli-katello.edit.po +0 -2769
- data/locale/en/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/en_GB/hammer-cli-katello.edit.po +0 -3256
- data/locale/en_GB/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/en_US/hammer-cli-katello.edit.po +0 -3251
- data/locale/en_US/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/es/hammer-cli-katello.edit.po +0 -3323
- data/locale/es/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/et_EE/hammer-cli-katello.edit.po +0 -3251
- data/locale/et_EE/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/fr/hammer-cli-katello.edit.po +0 -3422
- data/locale/fr/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/gl/hammer-cli-katello.edit.po +0 -3255
- data/locale/gl/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/gu/hammer-cli-katello.edit.po +0 -3255
- data/locale/gu/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/he_IL/hammer-cli-katello.edit.po +0 -3255
- data/locale/he_IL/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/hi/hammer-cli-katello.edit.po +0 -3255
- data/locale/hi/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/id/hammer-cli-katello.edit.po +0 -3255
- data/locale/id/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/it/hammer-cli-katello.edit.po +0 -3261
- data/locale/it/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ja/hammer-cli-katello.edit.po +0 -3287
- data/locale/ja/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ka/hammer-cli-katello.edit.po +0 -3351
- data/locale/ka/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/kn/hammer-cli-katello.edit.po +0 -3255
- data/locale/kn/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ko/hammer-cli-katello.edit.po +0 -3258
- data/locale/ko/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ml_IN/hammer-cli-katello.edit.po +0 -3251
- data/locale/ml_IN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/mr/hammer-cli-katello.edit.po +0 -3255
- data/locale/mr/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/nl_NL/hammer-cli-katello.edit.po +0 -3259
- data/locale/nl_NL/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/or/hammer-cli-katello.edit.po +0 -3255
- data/locale/or/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pa/hammer-cli-katello.edit.po +0 -3255
- data/locale/pa/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pl/hammer-cli-katello.edit.po +0 -3256
- data/locale/pl/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pl_PL/hammer-cli-katello.edit.po +0 -3251
- data/locale/pl_PL/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pt/hammer-cli-katello.edit.po +0 -3255
- data/locale/pt/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pt_BR/hammer-cli-katello.edit.po +0 -3315
- data/locale/pt_BR/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ro/hammer-cli-katello.edit.po +0 -3251
- data/locale/ro/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ro_RO/hammer-cli-katello.edit.po +0 -3251
- data/locale/ro_RO/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ru/hammer-cli-katello.edit.po +0 -3260
- data/locale/ru/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/sl/hammer-cli-katello.edit.po +0 -3255
- data/locale/sl/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/sv_SE/hammer-cli-katello.edit.po +0 -3256
- data/locale/sv_SE/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ta/hammer-cli-katello.edit.po +0 -3255
- data/locale/ta/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ta_IN/hammer-cli-katello.edit.po +0 -3255
- data/locale/ta_IN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/te/hammer-cli-katello.edit.po +0 -3255
- data/locale/te/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/tr/hammer-cli-katello.edit.po +0 -3255
- data/locale/tr/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/vi/hammer-cli-katello.edit.po +0 -3251
- data/locale/vi/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/vi_VN/hammer-cli-katello.edit.po +0 -3251
- data/locale/vi_VN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/zh/hammer-cli-katello.edit.po +0 -3251
- data/locale/zh/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/zh_CN/hammer-cli-katello.edit.po +0 -3270
- data/locale/zh_CN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/zh_TW/hammer-cli-katello.edit.po +0 -3257
- data/locale/zh_TW/hammer-cli-katello.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: 8c45f78c5e8f631fe4366e062424c4069c55f4a7966dade28026f4b5548a83fd
|
4
|
+
data.tar.gz: d1b4b4f427de3387d5ed5233e72cbef46f00a0e315b8cd4841883f295429f469
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89d992cc75c1dcb9b69bfde9dbed0f43cf2f61a5825ea9b5edbcc6333bd0fc95cf586da3f22afd489592268eb66f2f516394a1becb4d00c6061829cee3c7b2ad
|
7
|
+
data.tar.gz: 03ac2450254c0848b6d99f75a11c2ccd5d06e86249ac843715df5b29dfa60d1f1a182f71c0abf10ea06f399ada365999d0025a7f7c27114899dd9ae6f29120bc
|
@@ -14,12 +14,9 @@ module HammerCLIKatello
|
|
14
14
|
field :id, _("Id")
|
15
15
|
field :name, _("Name")
|
16
16
|
field :format_consumed, _("Host Limit")
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
from :content_view do
|
21
|
-
field :name, _("Content View")
|
22
|
-
end
|
17
|
+
field :content_view_environment_labels, _("Content View Environments"),
|
18
|
+
Fields::List, :max_width => 300
|
19
|
+
field :multi_content_view_environment, _("Multi Content View Environment"), Fields::Boolean
|
23
20
|
end
|
24
21
|
|
25
22
|
def extend_data(data)
|
@@ -56,41 +53,63 @@ module HammerCLIKatello
|
|
56
53
|
field :id, _("Id")
|
57
54
|
field :description, _("Description"), Fields::Field, :hide_blank => true
|
58
55
|
field :format_consumed, _("Host Limit")
|
59
|
-
field :
|
56
|
+
field :multi_content_view_environment, _("Multi Content View Environment"), Fields::Boolean
|
60
57
|
field :release_version, _("Release Version"), Fields::Field, :hide_blank => true
|
58
|
+
field :content_view_environment_labels, _("Content View Environment Labels"), Fields::Field
|
61
59
|
|
62
|
-
|
63
|
-
field :
|
60
|
+
collection :organization, _("Organization") do
|
61
|
+
field :id, _("Id"), Fields::Field, :hide_blank => true
|
62
|
+
field :name, _("Name"), Fields::Field, :hide_blank => true
|
64
63
|
end
|
65
|
-
|
66
|
-
|
64
|
+
|
65
|
+
collection :content_view_environments, _('Content View Environments') do
|
66
|
+
from :content_view do
|
67
|
+
label _("Content View") do
|
68
|
+
field :id, _("Id")
|
69
|
+
field :name, _("Name")
|
70
|
+
field :content_view_version, _("Version")
|
71
|
+
field :content_view_version_id, _("Content View version Id")
|
72
|
+
field :composite, _("Composite"), Fields::Boolean
|
73
|
+
field :content_view_environment_id, _("Content View Environment id"), Fields::Field
|
74
|
+
end
|
75
|
+
end
|
76
|
+
from :lifecycle_environment do
|
77
|
+
label _("Lifecycle environment") do
|
78
|
+
field :id, _("Id")
|
79
|
+
field :name, _("Name")
|
80
|
+
end
|
81
|
+
end
|
82
|
+
field :label, _("Label")
|
67
83
|
end
|
68
84
|
|
69
|
-
collection :hosts, _("Associated Hosts") do
|
70
|
-
field :id, _('Id')
|
71
|
-
field :name, _("Name")
|
85
|
+
collection :hosts, _("Associated Hosts"), hide_blank: true, hide_empty: true do
|
86
|
+
field :id, _('Id'), Fields::Field, :hide_blank => true
|
87
|
+
field :name, _("Name"), Fields::Field, :hide_blank => true
|
72
88
|
end
|
73
89
|
|
74
|
-
collection :host_collections, _("Host Collections") do
|
75
|
-
field :id, _("Id")
|
76
|
-
field :name, _("Name")
|
90
|
+
collection :host_collections, _("Host Collections"), hide_blank: true, hide_empty: true do
|
91
|
+
field :id, _("Id"), Fields::Field, :hide_blank => true
|
92
|
+
field :name, _("Name"), Fields::Field, :hide_blank => true
|
77
93
|
end
|
78
94
|
|
79
|
-
collection :content_overrides, _("Content Overrides") do
|
80
|
-
field :content_label, _("Content Label")
|
81
|
-
field :name, _("Name")
|
82
|
-
field :value, _("Value")
|
95
|
+
collection :content_overrides, _("Content Overrides"), hide_blank: true, hide_empty: true do
|
96
|
+
field :content_label, _("Content Label"), Fields::Field, :hide_blank => true
|
97
|
+
field :name, _("Name"), Fields::Field, :hide_blank => true
|
98
|
+
field :value, _("Value"), Fields::Field, :hide_blank => true
|
83
99
|
end
|
84
100
|
|
85
|
-
label _("System Purpose") do
|
86
|
-
field :service_level, _('Service Level')
|
87
|
-
field :purpose_usage, _('Purpose Usage')
|
88
|
-
field :purpose_role, _('Purpose Role')
|
89
|
-
field :purpose_addons, _('Purpose Addons'), Fields::List
|
101
|
+
label _("System Purpose"), hide_blank: true, hide_empty: true do
|
102
|
+
field :service_level, _('Service Level'), Fields::Field, :hide_blank => true
|
103
|
+
field :purpose_usage, _('Purpose Usage'), Fields::Field, :hide_blank => true
|
104
|
+
field :purpose_role, _('Purpose Role'), Fields::Field, :hide_blank => true
|
105
|
+
field :purpose_addons, _('Purpose Addons'), Fields::List, :hide_blank => true
|
90
106
|
end
|
91
107
|
end
|
92
108
|
|
93
109
|
def extend_data(data)
|
110
|
+
# rubocop:disable Layout/LineLength
|
111
|
+
# Hack to hide purpose addons if it's not set since it's not possible to hide the Fields::List values
|
112
|
+
data["purpose_addons"].length.positive? ? data["purpose_addons"] = data["purpose_addons"] : data["purpose_addons"] = nil
|
94
113
|
limit = data["unlimited_hosts"] ? _("Unlimited") : data["max_hosts"]
|
95
114
|
|
96
115
|
data["format_consumed"] = _("%{consumed} of %{limit}") %
|
@@ -99,6 +118,7 @@ module HammerCLIKatello
|
|
99
118
|
:limit => limit
|
100
119
|
}
|
101
120
|
data
|
121
|
+
# rubocop:enable Layout/LineLength
|
102
122
|
end
|
103
123
|
|
104
124
|
build_options
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module HammerCLIKatello
|
2
|
+
class ContentViewEnvironment < HammerCLIKatello::Command
|
3
|
+
resource :content_view_environments
|
4
|
+
|
5
|
+
class ListCommand < HammerCLIKatello::ListCommand
|
6
|
+
output do
|
7
|
+
field :id, _("Id")
|
8
|
+
field :label, _("Label")
|
9
|
+
from :lifecycle_environment do
|
10
|
+
field :name, _("Lifecycle Environment")
|
11
|
+
end
|
12
|
+
from :content_view do
|
13
|
+
field :name, _("Content View")
|
14
|
+
end
|
15
|
+
field :default, _("Default")
|
16
|
+
field :hosts_count, _("Hosts Count")
|
17
|
+
field :activation_keys_count, _("Activation Keys Count")
|
18
|
+
from :organization do
|
19
|
+
field :name, _("Organization")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
build_options
|
24
|
+
end
|
25
|
+
|
26
|
+
autoload_subcommands
|
27
|
+
end
|
28
|
+
end
|
@@ -28,6 +28,10 @@ module HammerCLIKatello
|
|
28
28
|
create_search_options_without_katello_api(options, api.resource(:operatingsystems), mode)
|
29
29
|
end
|
30
30
|
|
31
|
+
def create_debs_search_options(options, mode = nil)
|
32
|
+
create_search_options_without_katello_api(options, api.resource(:debs), mode)
|
33
|
+
end
|
34
|
+
|
31
35
|
def create_domains_search_options(options, mode = nil)
|
32
36
|
create_search_options_without_katello_api(options, api.resource(:domains), mode)
|
33
37
|
end
|
@@ -26,12 +26,10 @@ module HammerCLIKatello
|
|
26
26
|
::HammerCLIForeman::Host::ListCommand.instance_eval do
|
27
27
|
output do
|
28
28
|
from :content_facet_attributes do
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
field :name, _('Lifecycle environment'), Fields::List
|
34
|
-
end
|
29
|
+
field :content_view_environment_labels, _("Content View Environments"),
|
30
|
+
Fields::List, :max_width => 300
|
31
|
+
field :multi_content_view_environment,
|
32
|
+
_("Multi Content View Environment"), Fields::Boolean
|
35
33
|
from :errata_counts do
|
36
34
|
field :security, _("Security"), nil, :sets => ['ALL']
|
37
35
|
field :bugfix, _("Bugfix"), nil, :sets => ['ALL']
|
@@ -46,7 +44,9 @@ module HammerCLIKatello
|
|
46
44
|
output do
|
47
45
|
label _('Content Information') do
|
48
46
|
from :content_facet_attributes do
|
49
|
-
|
47
|
+
field :content_view_environment_labels,
|
48
|
+
_("Content View Environment Labels"), Fields::Field
|
49
|
+
collection :content_view_environments, _('Content View Environments') do
|
50
50
|
from :content_view do
|
51
51
|
label _("Content view") do
|
52
52
|
field :id, _("Id")
|
@@ -60,6 +60,7 @@ module HammerCLIKatello
|
|
60
60
|
field :name, _("Name")
|
61
61
|
end
|
62
62
|
end
|
63
|
+
field :label, _("Label")
|
63
64
|
end
|
64
65
|
|
65
66
|
label _("Content Source") do
|
data/lib/hammer_cli_katello.rb
CHANGED
@@ -60,6 +60,12 @@ module HammerCLIKatello
|
|
60
60
|
'hammer_cli_katello/lifecycle_environment'
|
61
61
|
)
|
62
62
|
|
63
|
+
HammerCLI::MainCommand.lazy_subcommand("content-view-environment",
|
64
|
+
_("Manipulate content view environments"),
|
65
|
+
'HammerCLIKatello::ContentViewEnvironment',
|
66
|
+
'hammer_cli_katello/content_view_environment'
|
67
|
+
)
|
68
|
+
|
63
69
|
HammerCLI::MainCommand.lazy_subcommand("product", _("Manipulate products"),
|
64
70
|
'HammerCLIKatello::Product',
|
65
71
|
'hammer_cli_katello/product'
|
Binary file
|
@@ -9,7 +9,7 @@
|
|
9
9
|
#, fuzzy
|
10
10
|
msgid ""
|
11
11
|
msgstr ""
|
12
|
-
"Project-Id-Version: hammer-cli-katello 1.
|
12
|
+
"Project-Id-Version: hammer-cli-katello 1.15.0.pre.main\n"
|
13
13
|
"Report-Msgid-Bugs-To: \n"
|
14
14
|
"POT-Creation-Date: 2023-07-12 17:04+0000\n"
|
15
15
|
"PO-Revision-Date: 2017-09-11 13:28+0000\n"
|
@@ -2134,157 +2134,3 @@ msgstr ""
|
|
2134
2134
|
|
2135
2135
|
msgid "Could not destroy the sync plan"
|
2136
2136
|
msgstr ""
|
2137
|
-
|
2138
|
-
msgid "Refresh all alternate content sources"
|
2139
|
-
msgstr ""
|
2140
|
-
|
2141
|
-
msgid "Successfully refreshed all alternate content sources"
|
2142
|
-
msgstr ""
|
2143
|
-
|
2144
|
-
msgid "Could not refresh all alternate content sources"
|
2145
|
-
msgstr ""
|
2146
|
-
|
2147
|
-
msgid "Refresh alternate content sources"
|
2148
|
-
msgstr ""
|
2149
|
-
|
2150
|
-
msgid "Successfully refreshed specified alternate content sources"
|
2151
|
-
msgstr ""
|
2152
|
-
|
2153
|
-
msgid "Could not refresh the specified alternate content sources"
|
2154
|
-
msgstr ""
|
2155
|
-
|
2156
|
-
msgid "Destroy alternate content sources"
|
2157
|
-
msgstr ""
|
2158
|
-
|
2159
|
-
msgid "Sucessfully destroyed specified alternate content sources"
|
2160
|
-
msgstr ""
|
2161
|
-
|
2162
|
-
msgid "Could not destroy the specified alternate content sources"
|
2163
|
-
msgstr ""
|
2164
|
-
|
2165
|
-
msgid "Capsule reclaim space has been started in task %{id}."
|
2166
|
-
msgstr ""
|
2167
|
-
|
2168
|
-
msgid "Capsule reclaim space was unsuccessful."
|
2169
|
-
msgstr ""
|
2170
|
-
|
2171
|
-
msgid "Capsule content counts are being updated in task %{id}."
|
2172
|
-
msgstr ""
|
2173
|
-
|
2174
|
-
msgid "Could not update capsule content counts"
|
2175
|
-
msgstr ""
|
2176
|
-
|
2177
|
-
msgid "Capsule content checksum is being verified in task %{id}."
|
2178
|
-
msgstr ""
|
2179
|
-
|
2180
|
-
msgid "Could not verify capsule content checksum"
|
2181
|
-
msgstr ""
|
2182
|
-
|
2183
|
-
msgid "SRPMs"
|
2184
|
-
msgstr ""
|
2185
|
-
|
2186
|
-
msgid "Debian Packages"
|
2187
|
-
msgstr ""
|
2188
|
-
|
2189
|
-
msgid "Container Tags"
|
2190
|
-
msgstr ""
|
2191
|
-
|
2192
|
-
msgid "Container Manifests"
|
2193
|
-
msgstr ""
|
2194
|
-
|
2195
|
-
msgid "Container Manifest Lists"
|
2196
|
-
msgstr ""
|
2197
|
-
|
2198
|
-
msgid "Ansible Collections"
|
2199
|
-
msgstr ""
|
2200
|
-
|
2201
|
-
msgid "OSTree Refs"
|
2202
|
-
msgstr ""
|
2203
|
-
|
2204
|
-
msgid "Python Packages"
|
2205
|
-
msgstr ""
|
2206
|
-
|
2207
|
-
msgid "Content view must be synced to see content counts"
|
2208
|
-
msgstr ""
|
2209
|
-
|
2210
|
-
msgid "File Repositories"
|
2211
|
-
msgstr ""
|
2212
|
-
|
2213
|
-
msgid "Ansible Repositories"
|
2214
|
-
msgstr ""
|
2215
|
-
|
2216
|
-
msgid "Debian Repositories"
|
2217
|
-
msgstr ""
|
2218
|
-
|
2219
|
-
msgid "Python Repositories"
|
2220
|
-
msgstr ""
|
2221
|
-
|
2222
|
-
msgid "Latest version"
|
2223
|
-
msgstr ""
|
2224
|
-
|
2225
|
-
msgid "Not yet published"
|
2226
|
-
msgstr ""
|
2227
|
-
|
2228
|
-
msgid "Always update to the latest"
|
2229
|
-
msgstr ""
|
2230
|
-
|
2231
|
-
msgid "Original packages"
|
2232
|
-
msgstr ""
|
2233
|
-
|
2234
|
-
msgid "Original module streams"
|
2235
|
-
msgstr ""
|
2236
|
-
|
2237
|
-
msgid "UUID"
|
2238
|
-
msgstr ""
|
2239
|
-
|
2240
|
-
msgid "Module stream Id"
|
2241
|
-
msgstr ""
|
2242
|
-
|
2243
|
-
msgid "Content view filter Id"
|
2244
|
-
msgstr ""
|
2245
|
-
|
2246
|
-
msgid "Errata Id"
|
2247
|
-
msgstr ""
|
2248
|
-
|
2249
|
-
msgid "Date type"
|
2250
|
-
msgstr ""
|
2251
|
-
|
2252
|
-
msgid "Start date"
|
2253
|
-
msgstr ""
|
2254
|
-
|
2255
|
-
msgid "End date"
|
2256
|
-
msgstr ""
|
2257
|
-
|
2258
|
-
msgid ""
|
2259
|
-
"Verifying checksum of Content View Version repositories with task %{id}."
|
2260
|
-
msgstr ""
|
2261
|
-
|
2262
|
-
msgid "Could not verify checksum of repositories in the Content View Version"
|
2263
|
-
msgstr ""
|
2264
|
-
|
2265
|
-
msgid "Verify checksum for one or more products"
|
2266
|
-
msgstr ""
|
2267
|
-
|
2268
|
-
msgid "Verified checksum of product repositories with task %{id}."
|
2269
|
-
msgstr ""
|
2270
|
-
|
2271
|
-
msgid "Could not verify checksum of repositories in the product"
|
2272
|
-
msgstr ""
|
2273
|
-
|
2274
|
-
msgid "Publish Settings"
|
2275
|
-
msgstr ""
|
2276
|
-
|
2277
|
-
msgid "Restrict to architecture"
|
2278
|
-
msgstr ""
|
2279
|
-
|
2280
|
-
msgid "Restrict to OS Version"
|
2281
|
-
msgstr ""
|
2282
|
-
|
2283
|
-
msgid "No restriction"
|
2284
|
-
msgstr ""
|
2285
|
-
|
2286
|
-
msgid "Verified checksum of repository with task %{id}."
|
2287
|
-
msgstr ""
|
2288
|
-
|
2289
|
-
msgid "Could not verify checksum of repository"
|
2290
|
-
msgstr ""
|
Binary file
|
@@ -9,7 +9,7 @@
|
|
9
9
|
#, fuzzy
|
10
10
|
msgid ""
|
11
11
|
msgstr ""
|
12
|
-
"Project-Id-Version: hammer-cli-katello 1.
|
12
|
+
"Project-Id-Version: hammer-cli-katello 1.15.0.pre.main\n"
|
13
13
|
"Report-Msgid-Bugs-To: \n"
|
14
14
|
"POT-Creation-Date: 2023-07-12 17:04+0000\n"
|
15
15
|
"PO-Revision-Date: 2017-09-11 13:28+0000\n"
|
@@ -2135,157 +2135,3 @@ msgstr ""
|
|
2135
2135
|
|
2136
2136
|
msgid "Could not destroy the sync plan"
|
2137
2137
|
msgstr ""
|
2138
|
-
|
2139
|
-
msgid "Refresh all alternate content sources"
|
2140
|
-
msgstr ""
|
2141
|
-
|
2142
|
-
msgid "Successfully refreshed all alternate content sources"
|
2143
|
-
msgstr ""
|
2144
|
-
|
2145
|
-
msgid "Could not refresh all alternate content sources"
|
2146
|
-
msgstr ""
|
2147
|
-
|
2148
|
-
msgid "Refresh alternate content sources"
|
2149
|
-
msgstr ""
|
2150
|
-
|
2151
|
-
msgid "Successfully refreshed specified alternate content sources"
|
2152
|
-
msgstr ""
|
2153
|
-
|
2154
|
-
msgid "Could not refresh the specified alternate content sources"
|
2155
|
-
msgstr ""
|
2156
|
-
|
2157
|
-
msgid "Destroy alternate content sources"
|
2158
|
-
msgstr ""
|
2159
|
-
|
2160
|
-
msgid "Sucessfully destroyed specified alternate content sources"
|
2161
|
-
msgstr ""
|
2162
|
-
|
2163
|
-
msgid "Could not destroy the specified alternate content sources"
|
2164
|
-
msgstr ""
|
2165
|
-
|
2166
|
-
msgid "Capsule reclaim space has been started in task %{id}."
|
2167
|
-
msgstr ""
|
2168
|
-
|
2169
|
-
msgid "Capsule reclaim space was unsuccessful."
|
2170
|
-
msgstr ""
|
2171
|
-
|
2172
|
-
msgid "Capsule content counts are being updated in task %{id}."
|
2173
|
-
msgstr ""
|
2174
|
-
|
2175
|
-
msgid "Could not update capsule content counts"
|
2176
|
-
msgstr ""
|
2177
|
-
|
2178
|
-
msgid "Capsule content checksum is being verified in task %{id}."
|
2179
|
-
msgstr ""
|
2180
|
-
|
2181
|
-
msgid "Could not verify capsule content checksum"
|
2182
|
-
msgstr ""
|
2183
|
-
|
2184
|
-
msgid "SRPMs"
|
2185
|
-
msgstr ""
|
2186
|
-
|
2187
|
-
msgid "Debian Packages"
|
2188
|
-
msgstr ""
|
2189
|
-
|
2190
|
-
msgid "Container Tags"
|
2191
|
-
msgstr ""
|
2192
|
-
|
2193
|
-
msgid "Container Manifests"
|
2194
|
-
msgstr ""
|
2195
|
-
|
2196
|
-
msgid "Container Manifest Lists"
|
2197
|
-
msgstr ""
|
2198
|
-
|
2199
|
-
msgid "Ansible Collections"
|
2200
|
-
msgstr ""
|
2201
|
-
|
2202
|
-
msgid "OSTree Refs"
|
2203
|
-
msgstr ""
|
2204
|
-
|
2205
|
-
msgid "Python Packages"
|
2206
|
-
msgstr ""
|
2207
|
-
|
2208
|
-
msgid "Content view must be synced to see content counts"
|
2209
|
-
msgstr ""
|
2210
|
-
|
2211
|
-
msgid "File Repositories"
|
2212
|
-
msgstr ""
|
2213
|
-
|
2214
|
-
msgid "Ansible Repositories"
|
2215
|
-
msgstr ""
|
2216
|
-
|
2217
|
-
msgid "Debian Repositories"
|
2218
|
-
msgstr ""
|
2219
|
-
|
2220
|
-
msgid "Python Repositories"
|
2221
|
-
msgstr ""
|
2222
|
-
|
2223
|
-
msgid "Latest version"
|
2224
|
-
msgstr ""
|
2225
|
-
|
2226
|
-
msgid "Not yet published"
|
2227
|
-
msgstr ""
|
2228
|
-
|
2229
|
-
msgid "Always update to the latest"
|
2230
|
-
msgstr ""
|
2231
|
-
|
2232
|
-
msgid "Original packages"
|
2233
|
-
msgstr ""
|
2234
|
-
|
2235
|
-
msgid "Original module streams"
|
2236
|
-
msgstr ""
|
2237
|
-
|
2238
|
-
msgid "UUID"
|
2239
|
-
msgstr ""
|
2240
|
-
|
2241
|
-
msgid "Module stream Id"
|
2242
|
-
msgstr ""
|
2243
|
-
|
2244
|
-
msgid "Content view filter Id"
|
2245
|
-
msgstr ""
|
2246
|
-
|
2247
|
-
msgid "Errata Id"
|
2248
|
-
msgstr ""
|
2249
|
-
|
2250
|
-
msgid "Date type"
|
2251
|
-
msgstr ""
|
2252
|
-
|
2253
|
-
msgid "Start date"
|
2254
|
-
msgstr ""
|
2255
|
-
|
2256
|
-
msgid "End date"
|
2257
|
-
msgstr ""
|
2258
|
-
|
2259
|
-
msgid ""
|
2260
|
-
"Verifying checksum of Content View Version repositories with task %{id}."
|
2261
|
-
msgstr ""
|
2262
|
-
|
2263
|
-
msgid "Could not verify checksum of repositories in the Content View Version"
|
2264
|
-
msgstr ""
|
2265
|
-
|
2266
|
-
msgid "Verify checksum for one or more products"
|
2267
|
-
msgstr ""
|
2268
|
-
|
2269
|
-
msgid "Verified checksum of product repositories with task %{id}."
|
2270
|
-
msgstr ""
|
2271
|
-
|
2272
|
-
msgid "Could not verify checksum of repositories in the product"
|
2273
|
-
msgstr ""
|
2274
|
-
|
2275
|
-
msgid "Publish Settings"
|
2276
|
-
msgstr ""
|
2277
|
-
|
2278
|
-
msgid "Restrict to architecture"
|
2279
|
-
msgstr ""
|
2280
|
-
|
2281
|
-
msgid "Restrict to OS Version"
|
2282
|
-
msgstr ""
|
2283
|
-
|
2284
|
-
msgid "No restriction"
|
2285
|
-
msgstr ""
|
2286
|
-
|
2287
|
-
msgid "Verified checksum of repository with task %{id}."
|
2288
|
-
msgstr ""
|
2289
|
-
|
2290
|
-
msgid "Could not verify checksum of repository"
|
2291
|
-
msgstr ""
|
Binary file
|