katello 4.15.0.rc2 → 4.15.0

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.

Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/app/lib/actions/katello/repository/destroy.rb +1 -5
  3. data/app/lib/actions/katello/repository/update.rb +1 -5
  4. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js +5 -1
  5. data/lib/katello/repository_types/python.rb +3 -0
  6. data/lib/katello/version.rb +1 -1
  7. data/locale/bn/katello.po.time_stamp +0 -0
  8. data/locale/bn_IN/katello.po.time_stamp +0 -0
  9. data/locale/ca/katello.po.time_stamp +0 -0
  10. data/locale/cs/katello.po.time_stamp +0 -0
  11. data/locale/cs_CZ/katello.po.time_stamp +0 -0
  12. data/locale/de/katello.po.time_stamp +0 -0
  13. data/locale/de_AT/katello.po.time_stamp +0 -0
  14. data/locale/de_DE/katello.po.time_stamp +0 -0
  15. data/locale/el/katello.po.time_stamp +0 -0
  16. data/locale/en/katello.po.time_stamp +0 -0
  17. data/locale/en_GB/katello.po.time_stamp +0 -0
  18. data/locale/en_US/katello.po.time_stamp +0 -0
  19. data/locale/es/katello.po.time_stamp +0 -0
  20. data/locale/et_EE/katello.po.time_stamp +0 -0
  21. data/locale/fr/katello.po.time_stamp +0 -0
  22. data/locale/gl/katello.po.time_stamp +0 -0
  23. data/locale/gu/katello.po.time_stamp +0 -0
  24. data/locale/he_IL/katello.po.time_stamp +0 -0
  25. data/locale/hi/katello.po.time_stamp +0 -0
  26. data/locale/id/katello.po.time_stamp +0 -0
  27. data/locale/it/katello.po.time_stamp +0 -0
  28. data/locale/ja/katello.po.time_stamp +0 -0
  29. data/locale/ka/katello.po.time_stamp +0 -0
  30. data/locale/kn/katello.po.time_stamp +0 -0
  31. data/locale/ko/katello.po.time_stamp +0 -0
  32. data/locale/ml_IN/katello.po.time_stamp +0 -0
  33. data/locale/mr/katello.po.time_stamp +0 -0
  34. data/locale/nl_NL/katello.po.time_stamp +0 -0
  35. data/locale/or/katello.po.time_stamp +0 -0
  36. data/locale/pa/katello.po.time_stamp +0 -0
  37. data/locale/pl/katello.po.time_stamp +0 -0
  38. data/locale/pl_PL/katello.po.time_stamp +0 -0
  39. data/locale/pt/katello.po.time_stamp +0 -0
  40. data/locale/pt_BR/katello.po.time_stamp +0 -0
  41. data/locale/ro/katello.po.time_stamp +0 -0
  42. data/locale/ro_RO/katello.po.time_stamp +0 -0
  43. data/locale/ru/katello.po.time_stamp +0 -0
  44. data/locale/sl/katello.po.time_stamp +0 -0
  45. data/locale/sv_SE/katello.po.time_stamp +0 -0
  46. data/locale/ta/katello.po.time_stamp +0 -0
  47. data/locale/ta_IN/katello.po.time_stamp +0 -0
  48. data/locale/te/katello.po.time_stamp +0 -0
  49. data/locale/tr/katello.po.time_stamp +0 -0
  50. data/locale/vi/katello.po.time_stamp +0 -0
  51. data/locale/vi_VN/katello.po.time_stamp +0 -0
  52. data/locale/zh/katello.po.time_stamp +0 -0
  53. data/locale/zh_CN/katello.po.time_stamp +0 -0
  54. data/locale/zh_TW/katello.po.time_stamp +0 -0
  55. data/webpack/redux/actions/RedHatRepositories/helpers.js +6 -6
  56. metadata +52 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42fc16f97e3c3ec773c97e554fc14f11ae7bc3e92ceae35d05a25acb3086965d
4
- data.tar.gz: c197411d237e7a82c9a9caa1ecf7bfdbc958354d01fe373e95207d81b410854b
3
+ metadata.gz: fdca2a5e86da6b9dee888fb990127bb2e25604039907a5594fcfd24480908118
4
+ data.tar.gz: 6cac835a884d5ace60819762c04b6817e41dc17c0fa4923721cb79f0977d328b
5
5
  SHA512:
6
- metadata.gz: 1ed1e2c8ec5408e98341e8608f17b3500b0d57b21f780d97582a6f21e953cd93209f3d6cb67e412f62a98648bef14a5adee0310fd23665c25a53ece294ff6d67
7
- data.tar.gz: f1ebce7de2995fa8fd1cdb571887d787b20070e6b8a31300d0fb557ffe0813b37cd52711251d54a91cddf176d76878156d6fa0d622a0ddd57c3b024ee2b1dbfa
6
+ metadata.gz: 18effa84dce5b6f9feca34e0966997e7b5d85fd834e848d1e7f16115712295ab8c820ac20c8d252e6f7d8b8e9bb07b9d791df0ad6c08aee3f6e76956a2468381
7
+ data.tar.gz: b5b004f2358caa23c8a9b27875d3eb378f0b3961bc4b071c1e12702c5eccf439b3eb654557ea948c200fd5b2f7f379d1cc23aef009ab389285a2d25c7ef7b264
@@ -70,11 +70,7 @@ module Actions
70
70
  # Remove products from ACS's that contain no repositories which both
71
71
  # match the ACS content type and have a non-nil URL
72
72
  product = repository.product
73
- repo_content_types = Set.new
74
- product.repositories.each do |test_repo|
75
- # we need to check id because test_repo will still contain the old, non-nil url
76
- repo_content_types.add(test_repo.content_type) if (repository.id != test_repo.id) && test_repo.url.present?
77
- end
73
+ repo_content_types = ::Katello::RootRepository.where(:id => product.repositories.where.not(:id => repository.id).select(:root_id)).where.not(:url => [nil, '']).distinct.pluck(:content_type)
78
74
  ::Katello::AlternateContentSource.with_products(product).each do |acs|
79
75
  unless repo_content_types.include?(acs.content_type)
80
76
  acs.products = acs.products - [product]
@@ -82,11 +82,7 @@ module Actions
82
82
  # Remove products from ACS's that contain no repositories which both
83
83
  # match the ACS content type and have a non-nil URL
84
84
  product = repository.product
85
- repo_content_types = Set.new
86
- product.acs_compatible_repositories.each do |test_repo|
87
- # we need to check id because test_repo will still contain the old, non-nil url
88
- repo_content_types.add(test_repo.content_type) if (repository.id != test_repo.id) && test_repo.url.present?
89
- end
85
+ repo_content_types = ::Katello::RootRepository.where(:id => product.repositories.where.not(:id => repository.id).select(:root_id)).where.not(:url => [nil, '']).distinct.pluck(:content_type)
90
86
  ::Katello::AlternateContentSource.with_products(product).each do |acs|
91
87
  unless repo_content_types.include?(acs.content_type)
92
88
  acs.products = acs.products - [product]
@@ -261,7 +261,11 @@ angular.module('Bastion.repositories').controller('RepositoryDetailsInfoControll
261
261
  optionIndex = $scope.genericRemoteOptions.map(function(option) {
262
262
  return option.name;
263
263
  }).indexOf(key);
264
- $scope.genericRemoteOptions[optionIndex].value = remOptions[key].join($scope.genericRemoteOptions[optionIndex].delimiter);
264
+ if ($scope.genericRemoteOptions[optionIndex].delimiter) {
265
+ $scope.genericRemoteOptions[optionIndex].value = remOptions[key].join($scope.genericRemoteOptions[optionIndex].delimiter);
266
+ } else {
267
+ $scope.genericRemoteOptions[optionIndex].value = remOptions[key];
268
+ }
265
269
  }
266
270
  });
267
271
  }
@@ -28,6 +28,9 @@ Katello::RepositoryTypeManager.register('python') do
28
28
  generic_remote_option :package_types, title: N_("Package Types"), type: Array, input_type: "text", delimiter: ",", default: [],
29
29
  description: N_("Package types to sync for Python content, separated by comma. Leave empty to get every package type. Package types are: bdist_dmg, bdist_dumb, bdist_egg, bdist_msi, bdist_rpm, bdist_wheel, bdist_wininst, sdist.")
30
30
 
31
+ generic_remote_option :keep_latest_packages, title: N_("Keep latest packages"), type: :number, input_type: "number", default: 0,
32
+ description: N_("The amount of latest versions of a package to keep on sync, includes pre-releases if synced. Default 0 keeps all versions.")
33
+
31
34
  url_description N_("URL of a PyPI content source such as https://pypi.org.")
32
35
 
33
36
  generic_content_type 'python_package',
@@ -1,3 +1,3 @@
1
1
  module Katello
2
- VERSION = "4.15.0.rc2".freeze
2
+ VERSION = "4.15.0".freeze
3
3
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -30,15 +30,15 @@ const recommendedRepositoriesSatTools = [
30
30
  'satellite-client-6-for-rhel-9-x86_64-rpms',
31
31
  'satellite-client-6-for-rhel-8-x86_64-rpms',
32
32
  'rhel-7-server-els-satellite-client-6-rpms',
33
- 'rhel-7-server-els-satellite-6-client-2-rpms',
34
- 'satellite-6-client-2-for-rhel-8-x86_64-rpms',
35
- 'satellite-6-client-2-for-rhel-9-x86_64-rpms',
36
33
  ];
37
34
 
38
35
  const recommendedRepositoriesMisc = [
39
- 'satellite-capsule-6.15-for-rhel-8-x86_64-rpms',
40
- 'satellite-maintenance-6.15-for-rhel-8-x86_64-rpms',
41
- 'satellite-utils-6.15-for-rhel-8-x86_64-rpms',
36
+ 'satellite-capsule-6.16-for-rhel-8-x86_64-rpms',
37
+ 'satellite-maintenance-6.16-for-rhel-8-x86_64-rpms',
38
+ 'satellite-utils-6.16-for-rhel-8-x86_64-rpms',
39
+ 'satellite-utils-6.16-for-rhel-9-x86_64-rpms',
40
+ 'satellite-maintenance-6.16-for-rhel-9-x86_64-rpms',
41
+ 'satellite-capsule-6.16-for-rhel-9-x86_64-rpms',
42
42
  ];
43
43
 
44
44
  const recommendedRepositorySetLables = recommendedRepositoriesRHEL
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.15.0.rc2
4
+ version: 4.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-21 00:00:00.000000000 Z
11
+ date: 2024-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -4397,102 +4397,150 @@ files:
4397
4397
  - locale/action_names.rb
4398
4398
  - locale/bn/LC_MESSAGES/katello.mo
4399
4399
  - locale/bn/katello.po
4400
+ - locale/bn/katello.po.time_stamp
4400
4401
  - locale/bn_IN/LC_MESSAGES/katello.mo
4401
4402
  - locale/bn_IN/katello.po
4403
+ - locale/bn_IN/katello.po.time_stamp
4402
4404
  - locale/ca/LC_MESSAGES/katello.mo
4403
4405
  - locale/ca/katello.po
4406
+ - locale/ca/katello.po.time_stamp
4404
4407
  - locale/cs/LC_MESSAGES/katello.mo
4405
4408
  - locale/cs/katello.po
4409
+ - locale/cs/katello.po.time_stamp
4406
4410
  - locale/cs_CZ/LC_MESSAGES/katello.mo
4407
4411
  - locale/cs_CZ/katello.po
4412
+ - locale/cs_CZ/katello.po.time_stamp
4408
4413
  - locale/de/LC_MESSAGES/katello.mo
4409
4414
  - locale/de/katello.po
4415
+ - locale/de/katello.po.time_stamp
4410
4416
  - locale/de_AT/LC_MESSAGES/katello.mo
4411
4417
  - locale/de_AT/katello.po
4418
+ - locale/de_AT/katello.po.time_stamp
4412
4419
  - locale/de_DE/LC_MESSAGES/katello.mo
4413
4420
  - locale/de_DE/katello.po
4421
+ - locale/de_DE/katello.po.time_stamp
4414
4422
  - locale/el/LC_MESSAGES/katello.mo
4415
4423
  - locale/el/katello.po
4424
+ - locale/el/katello.po.time_stamp
4416
4425
  - locale/en/LC_MESSAGES/katello.mo
4417
4426
  - locale/en/katello.po
4427
+ - locale/en/katello.po.time_stamp
4418
4428
  - locale/en_GB/LC_MESSAGES/katello.mo
4419
4429
  - locale/en_GB/katello.po
4430
+ - locale/en_GB/katello.po.time_stamp
4420
4431
  - locale/en_US/LC_MESSAGES/katello.mo
4421
4432
  - locale/en_US/katello.po
4433
+ - locale/en_US/katello.po.time_stamp
4422
4434
  - locale/es/LC_MESSAGES/katello.mo
4423
4435
  - locale/es/katello.po
4436
+ - locale/es/katello.po.time_stamp
4424
4437
  - locale/et_EE/LC_MESSAGES/katello.mo
4425
4438
  - locale/et_EE/katello.po
4439
+ - locale/et_EE/katello.po.time_stamp
4426
4440
  - locale/fr/LC_MESSAGES/katello.mo
4427
4441
  - locale/fr/katello.po
4442
+ - locale/fr/katello.po.time_stamp
4428
4443
  - locale/gl/LC_MESSAGES/katello.mo
4429
4444
  - locale/gl/katello.po
4445
+ - locale/gl/katello.po.time_stamp
4430
4446
  - locale/gu/LC_MESSAGES/katello.mo
4431
4447
  - locale/gu/katello.po
4448
+ - locale/gu/katello.po.time_stamp
4432
4449
  - locale/he_IL/LC_MESSAGES/katello.mo
4433
4450
  - locale/he_IL/katello.po
4451
+ - locale/he_IL/katello.po.time_stamp
4434
4452
  - locale/hi/LC_MESSAGES/katello.mo
4435
4453
  - locale/hi/katello.po
4454
+ - locale/hi/katello.po.time_stamp
4436
4455
  - locale/id/LC_MESSAGES/katello.mo
4437
4456
  - locale/id/katello.po
4457
+ - locale/id/katello.po.time_stamp
4438
4458
  - locale/it/LC_MESSAGES/katello.mo
4439
4459
  - locale/it/katello.po
4460
+ - locale/it/katello.po.time_stamp
4440
4461
  - locale/ja/LC_MESSAGES/katello.mo
4441
4462
  - locale/ja/katello.po
4463
+ - locale/ja/katello.po.time_stamp
4442
4464
  - locale/ka/LC_MESSAGES/katello.mo
4443
4465
  - locale/ka/katello.po
4466
+ - locale/ka/katello.po.time_stamp
4444
4467
  - locale/katello.pot
4445
4468
  - locale/kn/LC_MESSAGES/katello.mo
4446
4469
  - locale/kn/katello.po
4470
+ - locale/kn/katello.po.time_stamp
4447
4471
  - locale/ko/LC_MESSAGES/katello.mo
4448
4472
  - locale/ko/katello.po
4473
+ - locale/ko/katello.po.time_stamp
4449
4474
  - locale/ml_IN/LC_MESSAGES/katello.mo
4450
4475
  - locale/ml_IN/katello.po
4476
+ - locale/ml_IN/katello.po.time_stamp
4451
4477
  - locale/mr/LC_MESSAGES/katello.mo
4452
4478
  - locale/mr/katello.po
4479
+ - locale/mr/katello.po.time_stamp
4453
4480
  - locale/nl_NL/LC_MESSAGES/katello.mo
4454
4481
  - locale/nl_NL/katello.po
4482
+ - locale/nl_NL/katello.po.time_stamp
4455
4483
  - locale/or/LC_MESSAGES/katello.mo
4456
4484
  - locale/or/katello.po
4485
+ - locale/or/katello.po.time_stamp
4457
4486
  - locale/pa/LC_MESSAGES/katello.mo
4458
4487
  - locale/pa/katello.po
4488
+ - locale/pa/katello.po.time_stamp
4459
4489
  - locale/pl/LC_MESSAGES/katello.mo
4460
4490
  - locale/pl/katello.po
4491
+ - locale/pl/katello.po.time_stamp
4461
4492
  - locale/pl_PL/LC_MESSAGES/katello.mo
4462
4493
  - locale/pl_PL/katello.po
4494
+ - locale/pl_PL/katello.po.time_stamp
4463
4495
  - locale/pt/LC_MESSAGES/katello.mo
4464
4496
  - locale/pt/katello.po
4497
+ - locale/pt/katello.po.time_stamp
4465
4498
  - locale/pt_BR/LC_MESSAGES/katello.mo
4466
4499
  - locale/pt_BR/katello.po
4500
+ - locale/pt_BR/katello.po.time_stamp
4467
4501
  - locale/ro/LC_MESSAGES/katello.mo
4468
4502
  - locale/ro/katello.po
4503
+ - locale/ro/katello.po.time_stamp
4469
4504
  - locale/ro_RO/LC_MESSAGES/katello.mo
4470
4505
  - locale/ro_RO/katello.po
4506
+ - locale/ro_RO/katello.po.time_stamp
4471
4507
  - locale/ru/LC_MESSAGES/katello.mo
4472
4508
  - locale/ru/katello.po
4509
+ - locale/ru/katello.po.time_stamp
4473
4510
  - locale/sl/LC_MESSAGES/katello.mo
4474
4511
  - locale/sl/katello.po
4512
+ - locale/sl/katello.po.time_stamp
4475
4513
  - locale/sv_SE/LC_MESSAGES/katello.mo
4476
4514
  - locale/sv_SE/katello.po
4515
+ - locale/sv_SE/katello.po.time_stamp
4477
4516
  - locale/ta/LC_MESSAGES/katello.mo
4478
4517
  - locale/ta/katello.po
4518
+ - locale/ta/katello.po.time_stamp
4479
4519
  - locale/ta_IN/LC_MESSAGES/katello.mo
4480
4520
  - locale/ta_IN/katello.po
4521
+ - locale/ta_IN/katello.po.time_stamp
4481
4522
  - locale/te/LC_MESSAGES/katello.mo
4482
4523
  - locale/te/katello.po
4524
+ - locale/te/katello.po.time_stamp
4483
4525
  - locale/tr/LC_MESSAGES/katello.mo
4484
4526
  - locale/tr/katello.po
4527
+ - locale/tr/katello.po.time_stamp
4485
4528
  - locale/update-i18n
4486
4529
  - locale/vi/LC_MESSAGES/katello.mo
4487
4530
  - locale/vi/katello.po
4531
+ - locale/vi/katello.po.time_stamp
4488
4532
  - locale/vi_VN/LC_MESSAGES/katello.mo
4489
4533
  - locale/vi_VN/katello.po
4534
+ - locale/vi_VN/katello.po.time_stamp
4490
4535
  - locale/zh/LC_MESSAGES/katello.mo
4491
4536
  - locale/zh/katello.po
4537
+ - locale/zh/katello.po.time_stamp
4492
4538
  - locale/zh_CN/LC_MESSAGES/katello.mo
4493
4539
  - locale/zh_CN/katello.po
4540
+ - locale/zh_CN/katello.po.time_stamp
4494
4541
  - locale/zh_TW/LC_MESSAGES/katello.mo
4495
4542
  - locale/zh_TW/katello.po
4543
+ - locale/zh_TW/katello.po.time_stamp
4496
4544
  - package.json
4497
4545
  - vendor/assets/images/katello/add2.png
4498
4546
  - vendor/assets/images/katello/addhost.png
@@ -5461,9 +5509,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
5461
5509
  version: '4'
5462
5510
  required_rubygems_version: !ruby/object:Gem::Requirement
5463
5511
  requirements:
5464
- - - ">"
5512
+ - - ">="
5465
5513
  - !ruby/object:Gem::Version
5466
- version: 1.3.1
5514
+ version: '0'
5467
5515
  requirements: []
5468
5516
  rubygems_version: 3.2.33
5469
5517
  signing_key: