hammer_cli_katello 1.14.3 → 1.15.0

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.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello/activation_key.rb +46 -26
  3. data/lib/hammer_cli_katello/content_view_environment.rb +28 -0
  4. data/lib/hammer_cli_katello/foreman_search_options_creators.rb +4 -0
  5. data/lib/hammer_cli_katello/host_extensions.rb +8 -7
  6. data/lib/hammer_cli_katello/version.rb +1 -1
  7. data/lib/hammer_cli_katello.rb +6 -0
  8. data/locale/bn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  9. data/locale/bn/hammer-cli-katello.po +1 -155
  10. data/locale/bn_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  11. data/locale/bn_IN/hammer-cli-katello.po +1 -155
  12. data/locale/bqi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  13. data/locale/bqi/hammer-cli-katello.po +1 -155
  14. data/locale/ca/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  15. data/locale/ca/hammer-cli-katello.po +1 -155
  16. data/locale/cs_CZ/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  17. data/locale/cs_CZ/hammer-cli-katello.po +1 -155
  18. data/locale/de/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  19. data/locale/de/hammer-cli-katello.po +1 -155
  20. data/locale/de_AT/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  21. data/locale/de_AT/hammer-cli-katello.po +1 -155
  22. data/locale/de_DE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  23. data/locale/de_DE/hammer-cli-katello.po +1 -155
  24. data/locale/el/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  25. data/locale/el/hammer-cli-katello.po +1 -155
  26. data/locale/en/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  27. data/locale/en/hammer-cli-katello.po +171 -187
  28. data/locale/en_GB/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  29. data/locale/en_GB/hammer-cli-katello.po +1 -155
  30. data/locale/en_US/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  31. data/locale/en_US/hammer-cli-katello.po +1 -155
  32. data/locale/es/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  33. data/locale/es/hammer-cli-katello.po +1 -155
  34. data/locale/et_EE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  35. data/locale/et_EE/hammer-cli-katello.po +1 -155
  36. data/locale/fr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  37. data/locale/fr/hammer-cli-katello.po +1 -155
  38. data/locale/gl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  39. data/locale/gl/hammer-cli-katello.po +1 -155
  40. data/locale/gu/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  41. data/locale/gu/hammer-cli-katello.po +1 -155
  42. data/locale/hammer-cli-katello.pot +566 -631
  43. data/locale/he_IL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  44. data/locale/he_IL/hammer-cli-katello.po +1 -155
  45. data/locale/hi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  46. data/locale/hi/hammer-cli-katello.po +1 -155
  47. data/locale/id/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  48. data/locale/id/hammer-cli-katello.po +1 -155
  49. data/locale/it/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  50. data/locale/it/hammer-cli-katello.po +1 -155
  51. data/locale/ja/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  52. data/locale/ja/hammer-cli-katello.po +1 -155
  53. data/locale/ka/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  54. data/locale/ka/hammer-cli-katello.po +1 -155
  55. data/locale/kn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  56. data/locale/kn/hammer-cli-katello.po +1 -155
  57. data/locale/ko/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  58. data/locale/ko/hammer-cli-katello.po +1 -155
  59. data/locale/ml_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  60. data/locale/ml_IN/hammer-cli-katello.po +1 -155
  61. data/locale/mr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  62. data/locale/mr/hammer-cli-katello.po +1 -155
  63. data/locale/nl_NL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  64. data/locale/nl_NL/hammer-cli-katello.po +1 -155
  65. data/locale/or/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  66. data/locale/or/hammer-cli-katello.po +1 -155
  67. data/locale/pa/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  68. data/locale/pa/hammer-cli-katello.po +1 -155
  69. data/locale/pl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  70. data/locale/pl/hammer-cli-katello.po +1 -155
  71. data/locale/pl_PL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  72. data/locale/pl_PL/hammer-cli-katello.po +1 -155
  73. data/locale/pt/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  74. data/locale/pt/hammer-cli-katello.po +1 -155
  75. data/locale/pt_BR/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  76. data/locale/pt_BR/hammer-cli-katello.po +1 -155
  77. data/locale/ro/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  78. data/locale/ro/hammer-cli-katello.po +1 -155
  79. data/locale/ro_RO/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  80. data/locale/ro_RO/hammer-cli-katello.po +1 -155
  81. data/locale/ru/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  82. data/locale/ru/hammer-cli-katello.po +1 -155
  83. data/locale/sl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  84. data/locale/sl/hammer-cli-katello.po +1 -155
  85. data/locale/sv_SE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  86. data/locale/sv_SE/hammer-cli-katello.po +1 -155
  87. data/locale/ta/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  88. data/locale/ta/hammer-cli-katello.po +1 -155
  89. data/locale/ta_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  90. data/locale/ta_IN/hammer-cli-katello.po +1 -155
  91. data/locale/te/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  92. data/locale/te/hammer-cli-katello.po +1 -155
  93. data/locale/tr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  94. data/locale/tr/hammer-cli-katello.po +1 -155
  95. data/locale/vi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  96. data/locale/vi/hammer-cli-katello.po +1 -155
  97. data/locale/vi_VN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  98. data/locale/vi_VN/hammer-cli-katello.po +1 -155
  99. data/locale/zh/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  100. data/locale/zh/hammer-cli-katello.po +1 -155
  101. data/locale/zh_CN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  102. data/locale/zh_CN/hammer-cli-katello.po +1 -155
  103. data/locale/zh_TW/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  104. data/locale/zh_TW/hammer-cli-katello.po +1 -155
  105. data/test/data/4.14/foreman_api.json +1 -0
  106. data/test/functional/activation_key/data/activation_key.json +43 -1
  107. data/test/functional/activation_key/info_test.rb +28 -2
  108. data/test/functional/activation_key/list_test.rb +10 -8
  109. data/test/functional/host/extensions/data/host_list.json +21 -0
  110. data/test/functional/host/extensions/list_test.rb +2 -2
  111. data/test/functional/repository/update_test.rb +0 -1
  112. data/test/test_helper.rb +1 -1
  113. metadata +7 -100
  114. data/locale/bn/hammer-cli-katello.edit.po +0 -3255
  115. data/locale/bn/hammer-cli-katello.po.time_stamp +0 -0
  116. data/locale/bn_IN/hammer-cli-katello.edit.po +0 -3255
  117. data/locale/bn_IN/hammer-cli-katello.po.time_stamp +0 -0
  118. data/locale/bqi/hammer-cli-katello.edit.po +0 -3251
  119. data/locale/bqi/hammer-cli-katello.po.time_stamp +0 -0
  120. data/locale/ca/hammer-cli-katello.edit.po +0 -3255
  121. data/locale/ca/hammer-cli-katello.po.time_stamp +0 -0
  122. data/locale/cs_CZ/hammer-cli-katello.edit.po +0 -3256
  123. data/locale/cs_CZ/hammer-cli-katello.po.time_stamp +0 -0
  124. data/locale/de/hammer-cli-katello.edit.po +0 -3329
  125. data/locale/de/hammer-cli-katello.po.time_stamp +0 -0
  126. data/locale/de_AT/hammer-cli-katello.edit.po +0 -3251
  127. data/locale/de_AT/hammer-cli-katello.po.time_stamp +0 -0
  128. data/locale/de_DE/hammer-cli-katello.edit.po +0 -3257
  129. data/locale/de_DE/hammer-cli-katello.po.time_stamp +0 -0
  130. data/locale/el/hammer-cli-katello.edit.po +0 -3255
  131. data/locale/el/hammer-cli-katello.po.time_stamp +0 -0
  132. data/locale/en/hammer-cli-katello.edit.po +0 -2769
  133. data/locale/en/hammer-cli-katello.po.time_stamp +0 -0
  134. data/locale/en_GB/hammer-cli-katello.edit.po +0 -3256
  135. data/locale/en_GB/hammer-cli-katello.po.time_stamp +0 -0
  136. data/locale/en_US/hammer-cli-katello.edit.po +0 -3251
  137. data/locale/en_US/hammer-cli-katello.po.time_stamp +0 -0
  138. data/locale/es/hammer-cli-katello.edit.po +0 -3323
  139. data/locale/es/hammer-cli-katello.po.time_stamp +0 -0
  140. data/locale/et_EE/hammer-cli-katello.edit.po +0 -3251
  141. data/locale/et_EE/hammer-cli-katello.po.time_stamp +0 -0
  142. data/locale/fr/hammer-cli-katello.edit.po +0 -3422
  143. data/locale/fr/hammer-cli-katello.po.time_stamp +0 -0
  144. data/locale/gl/hammer-cli-katello.edit.po +0 -3255
  145. data/locale/gl/hammer-cli-katello.po.time_stamp +0 -0
  146. data/locale/gu/hammer-cli-katello.edit.po +0 -3255
  147. data/locale/gu/hammer-cli-katello.po.time_stamp +0 -0
  148. data/locale/he_IL/hammer-cli-katello.edit.po +0 -3255
  149. data/locale/he_IL/hammer-cli-katello.po.time_stamp +0 -0
  150. data/locale/hi/hammer-cli-katello.edit.po +0 -3255
  151. data/locale/hi/hammer-cli-katello.po.time_stamp +0 -0
  152. data/locale/id/hammer-cli-katello.edit.po +0 -3255
  153. data/locale/id/hammer-cli-katello.po.time_stamp +0 -0
  154. data/locale/it/hammer-cli-katello.edit.po +0 -3261
  155. data/locale/it/hammer-cli-katello.po.time_stamp +0 -0
  156. data/locale/ja/hammer-cli-katello.edit.po +0 -3287
  157. data/locale/ja/hammer-cli-katello.po.time_stamp +0 -0
  158. data/locale/ka/hammer-cli-katello.edit.po +0 -3351
  159. data/locale/ka/hammer-cli-katello.po.time_stamp +0 -0
  160. data/locale/kn/hammer-cli-katello.edit.po +0 -3255
  161. data/locale/kn/hammer-cli-katello.po.time_stamp +0 -0
  162. data/locale/ko/hammer-cli-katello.edit.po +0 -3258
  163. data/locale/ko/hammer-cli-katello.po.time_stamp +0 -0
  164. data/locale/ml_IN/hammer-cli-katello.edit.po +0 -3251
  165. data/locale/ml_IN/hammer-cli-katello.po.time_stamp +0 -0
  166. data/locale/mr/hammer-cli-katello.edit.po +0 -3255
  167. data/locale/mr/hammer-cli-katello.po.time_stamp +0 -0
  168. data/locale/nl_NL/hammer-cli-katello.edit.po +0 -3259
  169. data/locale/nl_NL/hammer-cli-katello.po.time_stamp +0 -0
  170. data/locale/or/hammer-cli-katello.edit.po +0 -3255
  171. data/locale/or/hammer-cli-katello.po.time_stamp +0 -0
  172. data/locale/pa/hammer-cli-katello.edit.po +0 -3255
  173. data/locale/pa/hammer-cli-katello.po.time_stamp +0 -0
  174. data/locale/pl/hammer-cli-katello.edit.po +0 -3256
  175. data/locale/pl/hammer-cli-katello.po.time_stamp +0 -0
  176. data/locale/pl_PL/hammer-cli-katello.edit.po +0 -3251
  177. data/locale/pl_PL/hammer-cli-katello.po.time_stamp +0 -0
  178. data/locale/pt/hammer-cli-katello.edit.po +0 -3255
  179. data/locale/pt/hammer-cli-katello.po.time_stamp +0 -0
  180. data/locale/pt_BR/hammer-cli-katello.edit.po +0 -3315
  181. data/locale/pt_BR/hammer-cli-katello.po.time_stamp +0 -0
  182. data/locale/ro/hammer-cli-katello.edit.po +0 -3251
  183. data/locale/ro/hammer-cli-katello.po.time_stamp +0 -0
  184. data/locale/ro_RO/hammer-cli-katello.edit.po +0 -3251
  185. data/locale/ro_RO/hammer-cli-katello.po.time_stamp +0 -0
  186. data/locale/ru/hammer-cli-katello.edit.po +0 -3260
  187. data/locale/ru/hammer-cli-katello.po.time_stamp +0 -0
  188. data/locale/sl/hammer-cli-katello.edit.po +0 -3255
  189. data/locale/sl/hammer-cli-katello.po.time_stamp +0 -0
  190. data/locale/sv_SE/hammer-cli-katello.edit.po +0 -3256
  191. data/locale/sv_SE/hammer-cli-katello.po.time_stamp +0 -0
  192. data/locale/ta/hammer-cli-katello.edit.po +0 -3255
  193. data/locale/ta/hammer-cli-katello.po.time_stamp +0 -0
  194. data/locale/ta_IN/hammer-cli-katello.edit.po +0 -3255
  195. data/locale/ta_IN/hammer-cli-katello.po.time_stamp +0 -0
  196. data/locale/te/hammer-cli-katello.edit.po +0 -3255
  197. data/locale/te/hammer-cli-katello.po.time_stamp +0 -0
  198. data/locale/tr/hammer-cli-katello.edit.po +0 -3255
  199. data/locale/tr/hammer-cli-katello.po.time_stamp +0 -0
  200. data/locale/vi/hammer-cli-katello.edit.po +0 -3251
  201. data/locale/vi/hammer-cli-katello.po.time_stamp +0 -0
  202. data/locale/vi_VN/hammer-cli-katello.edit.po +0 -3251
  203. data/locale/vi_VN/hammer-cli-katello.po.time_stamp +0 -0
  204. data/locale/zh/hammer-cli-katello.edit.po +0 -3251
  205. data/locale/zh/hammer-cli-katello.po.time_stamp +0 -0
  206. data/locale/zh_CN/hammer-cli-katello.edit.po +0 -3270
  207. data/locale/zh_CN/hammer-cli-katello.po.time_stamp +0 -0
  208. data/locale/zh_TW/hammer-cli-katello.edit.po +0 -3257
  209. 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: 87ef470a407b264c8285e2dd32ad9049eb5080501ef00c4f225922d217903127
4
- data.tar.gz: 691659385ae5c4d20348774d6004fb7021a953206413760b58a67f5e81876f7d
3
+ metadata.gz: 8c45f78c5e8f631fe4366e062424c4069c55f4a7966dade28026f4b5548a83fd
4
+ data.tar.gz: d1b4b4f427de3387d5ed5233e72cbef46f00a0e315b8cd4841883f295429f469
5
5
  SHA512:
6
- metadata.gz: 4706859389e61d5c0663d47768f5e826e5d7c51b11ee358037154228b132f16f04ec13187d05227310f4fc510f6a6a13b120934130b94e4d7676caf887e1fee9
7
- data.tar.gz: 5a5efbeaef473be501606baba1c02cc80964976e3e6fbe8b841ba88dd4bdc44a9185c48984c90b00ca8a790d12b53b9820871f60806f2613d786afb8d670b56f
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
- from :environment do
18
- field :name, _("Lifecycle Environment")
19
- end
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 :auto_attach, _("Auto Attach")
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
- from :environment do
63
- field :name, _("Lifecycle Environment")
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
- from :content_view do
66
- field :name, _("Content View")
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
- from :content_view do
30
- field :name, _('Content View'), Fields::List
31
- end
32
- from :lifecycle_environment do
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
- collection :content_view_environments, _('Content view environments') do
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
@@ -1,5 +1,5 @@
1
1
  module HammerCLIKatello
2
2
  def self.version
3
- @version ||= Gem::Version.new('1.14.3')
3
+ @version ||= Gem::Version.new('1.15.0')
4
4
  end
5
5
  end
@@ -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'
@@ -9,7 +9,7 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: hammer-cli-katello 1.14.2\n"
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 ""
@@ -9,7 +9,7 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: hammer-cli-katello 1.14.2\n"
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 ""