hammer_cli_katello 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8770e9202a017af0f81128ac02eaf2a1a6bf0e0
|
4
|
+
data.tar.gz: 6c8604a39140c2a62fc67831e4af13dfcc21da2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99f9c6e1363364d8c5688c8d9afc2dd642f6c7ef0c69a1b40db156a74ca5991f1cf85ee1c6aec21f310f21ad42e7ecf7b571114ee50c9ab541260ca59bf030ce
|
7
|
+
data.tar.gz: 2f7d474ae3f782f35073d9c403a184fcaaba5b2634ddf4dabc41d7d813ca9fb377710ccbfbf3355cf3c89ff7d74e148d2899853d115663a1b2cf9df5728e690a
|
@@ -182,14 +182,18 @@ module HammerCLIKatello
|
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|
185
|
-
class ExportCommand < HammerCLIKatello::
|
185
|
+
class ExportCommand < HammerCLIKatello::SingleResourceCommand
|
186
|
+
include HammerCLIForemanTasks::Async
|
187
|
+
|
186
188
|
action :export
|
187
189
|
command_name "export"
|
188
190
|
|
189
|
-
success_message _("
|
190
|
-
failure_message _("Could not export")
|
191
|
+
success_message _("Content view is being exported in task %{id}")
|
192
|
+
failure_message _("Could not export the content view")
|
191
193
|
|
192
|
-
build_options
|
194
|
+
build_options do |o|
|
195
|
+
o.expand(:all).including(:environments, :content_views, :organizations)
|
196
|
+
end
|
193
197
|
end
|
194
198
|
|
195
199
|
autoload_subcommands
|
@@ -33,6 +33,7 @@ module HammerCLIKatello
|
|
33
33
|
field :url, _("URL")
|
34
34
|
field :_publish_via_http, _("Publish Via HTTP")
|
35
35
|
field :full_path, _("Published At")
|
36
|
+
field :relative_path, _("Relative Path")
|
36
37
|
field :download_policy, _("Download Policy"), Fields::Field, :hide_blank => true
|
37
38
|
field :docker_upstream_name, _("Upstream Repository Name"),
|
38
39
|
Fields::Field, :hide_blank => true
|
@@ -292,14 +293,19 @@ module HammerCLIKatello
|
|
292
293
|
build_options :without => %w(uuids ids)
|
293
294
|
end
|
294
295
|
|
295
|
-
class ExportCommand < HammerCLIKatello::
|
296
|
-
|
296
|
+
class ExportCommand < HammerCLIKatello::SingleResourceCommand
|
297
|
+
include HammerCLIForemanTasks::Async
|
298
|
+
include RepositoryScopedToProduct
|
299
|
+
|
300
|
+
action :export
|
297
301
|
command_name "export"
|
298
302
|
|
299
|
-
success_message _("
|
300
|
-
failure_message _("Could not export repository")
|
303
|
+
success_message _("Repository is being exported in task %{id}")
|
304
|
+
failure_message _("Could not export the repository")
|
301
305
|
|
302
|
-
build_options
|
306
|
+
build_options do |o|
|
307
|
+
o.expand.including(:products)
|
308
|
+
end
|
303
309
|
end
|
304
310
|
|
305
311
|
autoload_subcommands
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Price
|
@@ -32,7 +32,7 @@ authors:
|
|
32
32
|
autorequire:
|
33
33
|
bindir: bin
|
34
34
|
cert_chain: []
|
35
|
-
date: 2016-02-
|
35
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
36
36
|
dependencies:
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: hammer_cli_foreman
|