katello 4.7.5 → 4.7.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/lib/katello/concerns/base_template_scope_extensions.rb +1 -1
- data/app/lib/katello/util/content_overrides_migrator.rb +2 -2
- data/app/models/katello/product_content.rb +4 -0
- data/app/services/katello/product_content_finder.rb +4 -0
- data/lib/katello/version.rb +1 -1
- data/locale/bn/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs/LC_MESSAGES/katello.mo +0 -0
- data/locale/de/LC_MESSAGES/katello.mo +0 -0
- data/locale/en/LC_MESSAGES/katello.mo +0 -0
- data/locale/es/LC_MESSAGES/katello.mo +0 -0
- data/locale/fr/LC_MESSAGES/katello.mo +0 -0
- data/locale/gu/LC_MESSAGES/katello.mo +0 -0
- data/locale/hi/LC_MESSAGES/katello.mo +0 -0
- data/locale/it/LC_MESSAGES/katello.mo +0 -0
- data/locale/ja/LC_MESSAGES/katello.mo +0 -0
- data/locale/ka/LC_MESSAGES/katello.mo +0 -0
- data/locale/kn/LC_MESSAGES/katello.mo +0 -0
- data/locale/ko/LC_MESSAGES/katello.mo +0 -0
- data/locale/mr/LC_MESSAGES/katello.mo +0 -0
- data/locale/or/LC_MESSAGES/katello.mo +0 -0
- data/locale/pa/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
- data/locale/ru/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta/LC_MESSAGES/katello.mo +0 -0
- data/locale/te/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
- metadata +37 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a0a050c517227f7841e9242a1a02bd8d035844684abb8ad25c61e42c3e16a5a
|
4
|
+
data.tar.gz: a6951453dcec4f9ae1fd49622c94d22dce1573a6e788697ec117146e412c61c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5041a03d75d5a6cf5fc38aaf2d9a43a05123dbc7065f5dccdf9bd67f40f50483c67ed274d687ab7bafe8ccc8e918afa46406bbed21c0482552e964a6155bc126
|
7
|
+
data.tar.gz: 1a622363fcd90b70cd167ae71bb741a8de5e6ef4128a957c476ce90947289cf47d8374560e3e8088dea1aeaaab5f28875707f1a60a50eefc6f4485f4011fc52c
|
@@ -161,7 +161,7 @@ module Katello
|
|
161
161
|
returns String, desc: 'Package version'
|
162
162
|
end
|
163
163
|
def host_latest_applicable_rpm_version(host, package)
|
164
|
-
::Katello::Rpm.latest(host.applicable_rpms.where(name: package))
|
164
|
+
::Katello::Rpm.latest(host.applicable_rpms.where(name: package))&.first&.nvra
|
165
165
|
end
|
166
166
|
|
167
167
|
apipie :method, 'Loads Pool objects' do
|
@@ -12,11 +12,11 @@ module Katello
|
|
12
12
|
ak_errors = create_disabled_overrides_for_non_sca_org_activation_keys(organization: @organization)
|
13
13
|
|
14
14
|
total_errors = host_errors + ak_errors
|
15
|
-
finish_message = "Finished creating overrides in non-SCA
|
15
|
+
finish_message = "Finished creating overrides in non-SCA org; #{total_errors == 0 ? "no errors" : "#{pluralize(total_errors, "error")}"}"
|
16
16
|
messages = { result: finish_message, errors: total_errors }
|
17
17
|
messages[:host_errors] = "Hosts - #{pluralize(host_errors, "error")} creating disabled overrides for unsubscribed content; see log messages above" if host_errors > 0
|
18
18
|
messages[:ak_errors] = "Activation keys - #{pluralize(ak_errors, "error")} creating disabled overrides for unsubscribed content; see log messages above" if ak_errors > 0
|
19
|
-
messages[:success_message] = "
|
19
|
+
messages[:success_message] = "Organization may now be switched to Simple Content Access mode without any change in access to content." if total_errors == 0
|
20
20
|
Rails.logger.info finish_message
|
21
21
|
Rails.logger.info messages[:host_errors] if messages[:host_errors]
|
22
22
|
Rails.logger.info messages[:ak_errors] if messages[:ak_errors]
|
@@ -15,6 +15,10 @@ module Katello
|
|
15
15
|
where(:product_id => Product.redhat.select(:id))
|
16
16
|
}
|
17
17
|
|
18
|
+
scope :custom, -> {
|
19
|
+
where.not(:product_id => Product.redhat.select(:id))
|
20
|
+
}
|
21
|
+
|
18
22
|
scoped_search :on => :name, :relation => :content
|
19
23
|
scoped_search :relation => :product, :on => :name, :rename => :product
|
20
24
|
scoped_search :on => :content_type, :relation => :content, :complete_value => true
|
@@ -30,6 +30,10 @@ module Katello
|
|
30
30
|
consumable.organization.enabled_product_content_for(roots)
|
31
31
|
end
|
32
32
|
|
33
|
+
def custom_content_labels
|
34
|
+
product_content.custom.map { |pc| pc.product.root_repositories.map(&:custom_content_label) }.flatten.uniq
|
35
|
+
end
|
36
|
+
|
33
37
|
def self.wrap_with_overrides(product_contents:, overrides:, status: nil)
|
34
38
|
pc_with_overrides = product_contents.map { |pc| ProductContentPresenter.new(pc, overrides) }
|
35
39
|
if status
|
data/lib/katello/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.7.
|
4
|
+
version: 4.7.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,14 +86,20 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 7.2.1
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 8.0.0
|
90
93
|
type: :runtime
|
91
94
|
prerelease: false
|
92
95
|
version_requirements: !ruby/object:Gem::Requirement
|
93
96
|
requirements:
|
94
97
|
- - ">="
|
95
98
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
99
|
+
version: 7.2.1
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 8.0.0
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: foreman_remote_execution
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -4491,31 +4497,54 @@ files:
|
|
4491
4497
|
- locale/Makefile
|
4492
4498
|
- locale/README
|
4493
4499
|
- locale/action_names.rb
|
4500
|
+
- locale/bn/LC_MESSAGES/katello.mo
|
4494
4501
|
- locale/bn/katello.po
|
4502
|
+
- locale/cs/LC_MESSAGES/katello.mo
|
4495
4503
|
- locale/cs/katello.po
|
4504
|
+
- locale/de/LC_MESSAGES/katello.mo
|
4496
4505
|
- locale/de/katello.po
|
4506
|
+
- locale/en/LC_MESSAGES/katello.mo
|
4497
4507
|
- locale/en/katello.po
|
4508
|
+
- locale/es/LC_MESSAGES/katello.mo
|
4498
4509
|
- locale/es/katello.po
|
4510
|
+
- locale/fr/LC_MESSAGES/katello.mo
|
4499
4511
|
- locale/fr/katello.po
|
4512
|
+
- locale/gu/LC_MESSAGES/katello.mo
|
4500
4513
|
- locale/gu/katello.po
|
4514
|
+
- locale/hi/LC_MESSAGES/katello.mo
|
4501
4515
|
- locale/hi/katello.po
|
4516
|
+
- locale/it/LC_MESSAGES/katello.mo
|
4502
4517
|
- locale/it/katello.po
|
4518
|
+
- locale/ja/LC_MESSAGES/katello.mo
|
4503
4519
|
- locale/ja/katello.po
|
4520
|
+
- locale/ka/LC_MESSAGES/katello.mo
|
4504
4521
|
- locale/ka/katello.po
|
4505
4522
|
- locale/katello.pot
|
4523
|
+
- locale/kn/LC_MESSAGES/katello.mo
|
4506
4524
|
- locale/kn/katello.po
|
4525
|
+
- locale/ko/LC_MESSAGES/katello.mo
|
4507
4526
|
- locale/ko/katello.po
|
4527
|
+
- locale/mr/LC_MESSAGES/katello.mo
|
4508
4528
|
- locale/mr/katello.po
|
4529
|
+
- locale/or/LC_MESSAGES/katello.mo
|
4509
4530
|
- locale/or/katello.po
|
4531
|
+
- locale/pa/LC_MESSAGES/katello.mo
|
4510
4532
|
- locale/pa/katello.po
|
4533
|
+
- locale/pt/LC_MESSAGES/katello.mo
|
4511
4534
|
- locale/pt/katello.po
|
4535
|
+
- locale/pt_BR/LC_MESSAGES/katello.mo
|
4512
4536
|
- locale/pt_BR/katello.po
|
4537
|
+
- locale/ru/LC_MESSAGES/katello.mo
|
4513
4538
|
- locale/ru/katello.po
|
4539
|
+
- locale/ta/LC_MESSAGES/katello.mo
|
4514
4540
|
- locale/ta/katello.po
|
4541
|
+
- locale/te/LC_MESSAGES/katello.mo
|
4515
4542
|
- locale/te/katello.po
|
4516
4543
|
- locale/update-i18n
|
4517
4544
|
- locale/zanata.xml
|
4545
|
+
- locale/zh_CN/LC_MESSAGES/katello.mo
|
4518
4546
|
- locale/zh_CN/katello.po
|
4547
|
+
- locale/zh_TW/LC_MESSAGES/katello.mo
|
4519
4548
|
- locale/zh_TW/katello.po
|
4520
4549
|
- package.json
|
4521
4550
|
- vendor/assets/images/katello/add2.png
|
@@ -5429,7 +5458,7 @@ homepage: http://www.katello.org
|
|
5429
5458
|
licenses:
|
5430
5459
|
- GPL-2.0
|
5431
5460
|
metadata: {}
|
5432
|
-
post_install_message:
|
5461
|
+
post_install_message:
|
5433
5462
|
rdoc_options: []
|
5434
5463
|
require_paths:
|
5435
5464
|
- lib
|
@@ -5444,8 +5473,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
5444
5473
|
- !ruby/object:Gem::Version
|
5445
5474
|
version: '0'
|
5446
5475
|
requirements: []
|
5447
|
-
rubygems_version: 3.
|
5448
|
-
signing_key:
|
5476
|
+
rubygems_version: 3.3.26
|
5477
|
+
signing_key:
|
5449
5478
|
specification_version: 4
|
5450
5479
|
summary: Content and Subscription Management plugin for Foreman
|
5451
5480
|
test_files: []
|