katello 4.7.4 → 4.8.0.rc2

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 (356) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/katello/api/registry/registry_proxies_controller.rb +8 -22
  3. data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +15 -12
  4. data/app/controllers/katello/api/v2/alternate_content_sources_controller.rb +7 -5
  5. data/app/controllers/katello/api/v2/capsule_content_controller.rb +0 -4
  6. data/app/controllers/katello/api/v2/content_export_incrementals_controller.rb +22 -81
  7. data/app/controllers/katello/api/v2/content_exports_controller.rb +11 -80
  8. data/app/controllers/katello/api/v2/content_imports_controller.rb +1 -0
  9. data/app/controllers/katello/api/v2/exports_controller.rb +130 -0
  10. data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +7 -8
  11. data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +8 -4
  12. data/app/controllers/katello/api/v2/organizations_controller.rb +3 -0
  13. data/app/controllers/katello/api/v2/package_groups_controller.rb +0 -52
  14. data/app/controllers/katello/api/v2/repositories_controller.rb +3 -18
  15. data/app/controllers/katello/concerns/api/v2/bulk_hosts_extensions.rb +4 -6
  16. data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +1 -2
  17. data/app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb +4 -1
  18. data/app/controllers/katello/concerns/content_facet_hosts_controller_extensions.rb +24 -0
  19. data/app/controllers/katello/concerns/hosts_controller_extensions.rb +3 -3
  20. data/app/helpers/katello/hosts_and_hostgroups_helper.rb +59 -23
  21. data/app/helpers/katello/katello_urls_helper.rb +0 -15
  22. data/app/helpers/katello/sync_management_helper.rb +0 -4
  23. data/app/lib/actions/candlepin/owner/destroy_imports.rb +1 -1
  24. data/app/lib/actions/katello/alternate_content_source/create.rb +3 -1
  25. data/app/lib/actions/katello/alternate_content_source/update.rb +3 -1
  26. data/app/lib/actions/katello/capsule_content/sync.rb +0 -4
  27. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +1 -2
  28. data/app/lib/actions/katello/content_view/publish.rb +6 -2
  29. data/app/lib/actions/katello/content_view/remove.rb +8 -2
  30. data/app/lib/actions/katello/content_view_version/destroy.rb +1 -1
  31. data/app/lib/actions/katello/environment/destroy.rb +8 -2
  32. data/app/lib/actions/katello/host/reassign.rb +4 -2
  33. data/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb +0 -1
  34. data/app/lib/actions/katello/product/destroy.rb +2 -1
  35. data/app/lib/actions/katello/repository/filtered_index_content.rb +2 -10
  36. data/app/lib/actions/katello/repository/import_upload.rb +0 -1
  37. data/app/lib/actions/katello/repository/sync.rb +0 -1
  38. data/app/lib/actions/katello/repository/update.rb +5 -3
  39. data/app/lib/actions/katello/repository/upload_files.rb +0 -1
  40. data/app/lib/actions/pulp3/abstract.rb +0 -6
  41. data/app/lib/actions/pulp3/content_view/delete_repository_references.rb +1 -2
  42. data/app/lib/actions/pulp3/content_view_version/create_syncable_export_history.rb +4 -0
  43. data/app/lib/actions/pulp3/orchestration/content_view_version/copy_version_units_to_library.rb +1 -1
  44. data/app/lib/actions/pulp3/orchestration/content_view_version/export.rb +12 -11
  45. data/app/lib/actions/pulp3/orchestration/content_view_version/export_repository.rb +7 -2
  46. data/app/lib/actions/pulp3/orchestration/content_view_version/syncable_export.rb +7 -4
  47. data/app/lib/actions/pulp3/repository/reclaim_space.rb +1 -1
  48. data/app/lib/actions/pulp3/repository/refresh_distribution.rb +1 -2
  49. data/app/lib/actions/pulp3/repository/save_distribution_references.rb +2 -2
  50. data/app/lib/katello/api/v2/error_handling.rb +12 -2
  51. data/app/lib/katello/concerns/base_template_scope_extensions.rb +7 -3
  52. data/app/lib/katello/concerns/renderer_extensions.rb +1 -1
  53. data/app/lib/katello/event_daemon/runner.rb +12 -9
  54. data/app/lib/katello/resources/candlepin/consumer.rb +6 -6
  55. data/app/lib/katello/resources/candlepin/owner.rb +1 -1
  56. data/app/lib/katello/resources/candlepin/upstream_consumer.rb +3 -4
  57. data/app/lib/katello/resources/candlepin.rb +4 -4
  58. data/app/lib/katello/util/errata.rb +12 -10
  59. data/app/lib/katello/util/search.rb +0 -1
  60. data/app/lib/katello/validators/content_view_environment_org_validator.rb +5 -2
  61. data/app/lib/katello/validators/content_view_environment_validator.rb +1 -2
  62. data/app/lib/katello/validators/generated_content_view_validator.rb +16 -0
  63. data/app/mailers/katello/errata_mailer.rb +4 -2
  64. data/app/models/katello/alternate_content_source.rb +59 -5
  65. data/app/models/katello/concerns/content_facet_host_extensions.rb +25 -14
  66. data/app/models/katello/concerns/host_managed_extensions.rb +31 -8
  67. data/app/models/katello/concerns/redhat_extensions.rb +16 -6
  68. data/app/models/katello/concerns/smart_proxy_extensions.rb +0 -12
  69. data/app/models/katello/concerns/subscription_facet_host_extensions.rb +1 -0
  70. data/app/models/katello/content_view.rb +22 -5
  71. data/app/models/katello/content_view_environment.rb +11 -2
  72. data/app/models/katello/content_view_environment_content_facet.rb +9 -0
  73. data/app/models/katello/content_view_version.rb +10 -5
  74. data/app/models/katello/erratum.rb +6 -1
  75. data/app/models/katello/glue/candlepin/pool.rb +6 -0
  76. data/app/models/katello/glue/candlepin/product.rb +7 -1
  77. data/app/models/katello/glue/candlepin/subscription.rb +5 -0
  78. data/app/models/katello/glue/provider.rb +26 -26
  79. data/app/models/katello/host/content_facet.rb +108 -18
  80. data/app/models/katello/host/info_provider.rb +25 -21
  81. data/app/models/katello/host/subscription_facet.rb +18 -14
  82. data/app/models/katello/kt_environment.rb +12 -7
  83. data/app/models/katello/package_group.rb +0 -12
  84. data/app/models/katello/pool.rb +4 -1
  85. data/app/models/katello/product.rb +11 -1
  86. data/app/models/katello/repository.rb +11 -11
  87. data/app/models/katello/root_repository.rb +5 -4
  88. data/app/models/katello/task_status.rb +0 -18
  89. data/app/services/katello/candlepin/consumer.rb +2 -2
  90. data/app/services/katello/host/package_profile_uploader.rb +1 -1
  91. data/app/services/katello/product_content_finder.rb +11 -8
  92. data/app/services/katello/pulp3/content_view_version/export.rb +8 -65
  93. data/app/services/katello/pulp3/content_view_version/export_validation_error.rb +7 -0
  94. data/app/services/katello/pulp3/content_view_version/export_validator.rb +121 -0
  95. data/app/services/katello/pulp3/content_view_version/importable_products.rb +1 -1
  96. data/app/services/katello/pulp3/content_view_version/syncable_format_export.rb +7 -1
  97. data/app/services/katello/pulp3/erratum.rb +1 -0
  98. data/app/services/katello/pulp3/module_stream.rb +26 -11
  99. data/app/services/katello/pulp3/repository/yum.rb +2 -1
  100. data/app/services/katello/pulp3/smart_proxy_mirror_repository.rb +2 -1
  101. data/app/services/katello/registration_manager.rb +46 -26
  102. data/app/services/katello/repository_type.rb +3 -9
  103. data/app/services/katello/simple_package.rb +22 -0
  104. data/app/views/foreman/smart_proxies/_content_sync.html.erb +2 -1
  105. data/app/views/foreman/smart_proxies/_reclaim_space.html.erb +1 -0
  106. data/app/views/katello/api/v2/content_facet/base.json.rabl +23 -2
  107. data/app/views/katello/api/v2/content_facet/show.json.rabl +11 -8
  108. data/app/views/katello/api/v2/content_views/base.json.rabl +1 -1
  109. data/app/views/katello/api/v2/hosts/base.json.rabl +22 -2
  110. data/app/views/overrides/activation_keys/_host_environment_select.html.erb +2 -2
  111. data/config/initializers/monkeys.rb +0 -2
  112. data/config/routes/api/registry.rb +8 -7
  113. data/config/routes/api/v2.rb +0 -2
  114. data/config/routes.rb +3 -0
  115. data/db/migrate/20200429153103_installed_package_bad_nvrea.rb +1 -1
  116. data/db/migrate/20220228173251_remove_drpm_from_ignorable_content.rb +7 -3
  117. data/db/migrate/20220419193414_content_settings_to_dsl_category.rb +1 -1
  118. data/db/migrate/20220929204746_add_content_view_environment_content_facet.rb +52 -0
  119. data/db/migrate/20221123212341_remove_pulp_docker_registry_port_setting.rb +5 -0
  120. data/db/migrate/20230119003859_ensure_repo_username_password_nil_not_blank.rb +1 -1
  121. data/db/migrate/20230203141353_set_new_acs_verify_ssl_default.rb +5 -0
  122. data/db/seeds.d/111-upgrade_tasks.rb +3 -1
  123. data/engines/bastion/app/assets/stylesheets/bastion/bastion.scss +4 -0
  124. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details.controller.js +2 -4
  125. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-errata-modal.controller.js +0 -1
  126. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +2 -4
  127. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +2 -1
  128. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +11 -3
  129. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-hosts-list.html +1 -1
  130. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +8 -4
  131. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +5485 -0
  132. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +5397 -0
  133. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +5658 -0
  134. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +5284 -0
  135. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ka.po +5231 -0
  136. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +5275 -0
  137. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +5389 -0
  138. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +5212 -0
  139. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +5145 -0
  140. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +9 -0
  141. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/content-access-mode-banner.html +2 -2
  142. data/lib/katello/engine.rb +2 -1
  143. data/lib/katello/permission_creator.rb +2 -4
  144. data/lib/katello/permissions/registry_permissions.rb +5 -5
  145. data/lib/katello/plugin.rb +22 -14
  146. data/lib/katello/repository_types/README.md +136 -19
  147. data/lib/katello/repository_types/deb.rb +0 -1
  148. data/lib/katello/repository_types/docker.rb +0 -1
  149. data/lib/katello/repository_types/file.rb +0 -1
  150. data/lib/katello/repository_types/yum.rb +0 -4
  151. data/lib/katello/tasks/clean_candlepin_orphaned_products.rake +38 -0
  152. data/lib/katello/tasks/clean_orphaned_facets.rb +20 -0
  153. data/lib/katello/tasks/reimport.rake +1 -2
  154. data/lib/katello/tasks/repository.rake +1 -22
  155. data/lib/katello/tasks/reset.rake +1 -0
  156. data/lib/katello/tasks/upgrades/4.8/fix_incorrect_providers.rake +29 -0
  157. data/lib/katello/tasks/upgrades/4.8/regenerate_imported_repository_metadata.rake +33 -0
  158. data/lib/katello/version.rb +1 -1
  159. data/lib/katello.rb +0 -5
  160. data/locale/bn/katello.po +69 -27
  161. data/locale/cs/katello.po +69 -27
  162. data/locale/de/katello.po +78 -36
  163. data/locale/en/katello.po +69 -27
  164. data/locale/es/katello.po +70 -28
  165. data/locale/fr/katello.po +73 -31
  166. data/locale/gu/katello.po +69 -27
  167. data/locale/hi/katello.po +69 -27
  168. data/locale/it/katello.po +69 -27
  169. data/locale/ja/katello.po +73 -31
  170. data/locale/ka/katello.po +73 -31
  171. data/locale/katello.pot +335 -262
  172. data/locale/kn/katello.po +69 -27
  173. data/locale/ko/katello.po +69 -27
  174. data/locale/mr/katello.po +69 -27
  175. data/locale/or/katello.po +69 -27
  176. data/locale/pa/katello.po +69 -27
  177. data/locale/pt/katello.po +69 -27
  178. data/locale/pt_BR/katello.po +70 -28
  179. data/locale/ru/katello.po +70 -28
  180. data/locale/ta/katello.po +69 -27
  181. data/locale/te/katello.po +69 -27
  182. data/locale/zh_CN/katello.po +73 -31
  183. data/locale/zh_TW/katello.po +70 -28
  184. data/webpack/components/Content/ContentPage.js +51 -35
  185. data/webpack/components/Content/__tests__/ContentPage.test.js +2 -4
  186. data/webpack/components/Content/__tests__/__snapshots__/ContentPage.test.js.snap +22 -3
  187. data/webpack/components/Table/EmptyStateMessage.js +14 -11
  188. data/webpack/components/Table/MainTable.js +36 -15
  189. data/webpack/components/Table/TableWrapper.js +25 -25
  190. data/webpack/components/Table/__test__/emptyStateMessage.test.js +51 -0
  191. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ChangeHostCVModal.js +10 -72
  192. data/webpack/components/extensions/HostDetails/Cards/ErrataOverviewCard.js +5 -4
  193. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsModal.js +1 -1
  194. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/__tests__/hostCollectionsModal.test.js +1 -17
  195. data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/ErrataTab.js +18 -9
  196. data/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js +1 -2
  197. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackageInstallModal.js +1 -2
  198. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +1 -2
  199. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +47 -27
  200. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js +1 -2
  201. data/webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js +2 -21
  202. data/webpack/components/extensions/HostDetails/Tabs/__tests__/moduleStreamsTab.test.js +1 -28
  203. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packageInstallModal.test.js +1 -10
  204. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +1 -18
  205. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySetsTab.test.js +1 -17
  206. data/webpack/components/extensions/HostDetails/Tabs/__tests__/tracesTab.test.js +1 -15
  207. data/webpack/global_test_setup.js +1 -1
  208. data/webpack/redux/actions/RedHatRepositories/helpers.js +5 -3
  209. data/webpack/scenes/AlternateContentSources/Create/ACSCreateWizard.js +12 -10
  210. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCredentials.js +6 -0
  211. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSSmartProxies.js +1 -0
  212. data/webpack/scenes/AlternateContentSources/Create/Steps/AcsUrlPaths.js +3 -10
  213. data/webpack/scenes/AlternateContentSources/Create/Steps/NameACS.js +1 -0
  214. data/webpack/scenes/AlternateContentSources/Create/__tests__/acsCreate.test.js +3 -3
  215. data/webpack/scenes/AlternateContentSources/Details/ACSExpandableDetails.js +6 -5
  216. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditCredentials.js +1 -0
  217. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js +3 -1
  218. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js +1 -0
  219. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditSmartProxies.js +2 -0
  220. data/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditURLPaths.js +13 -4
  221. data/webpack/scenes/AlternateContentSources/MainTable/ACSTable.js +7 -4
  222. data/webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js +4 -8
  223. data/webpack/scenes/AlternateContentSources/helpers.js +1 -1
  224. data/webpack/scenes/Content/Details/ContentRepositories.js +5 -4
  225. data/webpack/scenes/Content/Details/__tests__/contentDetail.test.js +1 -12
  226. data/webpack/scenes/Content/Table/ContentTable.js +2 -1
  227. data/webpack/scenes/Content/__tests__/contentTable.test.js +1 -14
  228. data/webpack/scenes/ContentViews/Delete/__tests__/contentViewDelete.test.js +1 -25
  229. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +2 -1
  230. data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/contentViewComponents.test.js +44 -31
  231. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +3 -0
  232. data/webpack/scenes/ContentViews/Details/Filters/AffectedRepositories/AffectedRepositoryTable.js +6 -1
  233. data/webpack/scenes/ContentViews/Details/Filters/CVContainerImageFilterContent.js +2 -1
  234. data/webpack/scenes/ContentViews/Details/Filters/CVDebFilterContent.js +2 -1
  235. data/webpack/scenes/ContentViews/Details/Filters/CVErrataIDFilterContent.js +3 -1
  236. data/webpack/scenes/ContentViews/Details/Filters/CVModuleStreamFilterContent.js +3 -1
  237. data/webpack/scenes/ContentViews/Details/Filters/CVPackageGroupFilterContent.js +3 -1
  238. data/webpack/scenes/ContentViews/Details/Filters/CVRpmFilterContent.js +2 -1
  239. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilterDetailsHeader.js +2 -0
  240. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js +2 -1
  241. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/CVDebMatchContentModal.js +1 -1
  242. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/CVRpmMatchContentModal.js +1 -1
  243. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentModal.test.js +35 -33
  244. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVContainerImageFilterContent.test.js +48 -45
  245. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVRpmFilterContent.test.js +58 -24
  246. data/webpack/scenes/ContentViews/Details/Filters/__tests__/ContentViewPackageGroupFilter.test.js +64 -0
  247. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetails.test.js +36 -20
  248. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.test.js +40 -23
  249. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvErrataIDFilter.test.js +0 -13
  250. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvModuleStreamFilter.test.js +0 -13
  251. data/webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js +2 -1
  252. data/webpack/scenes/ContentViews/Details/Histories/__tests__/contentViewHistory.test.js +1 -10
  253. data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +2 -1
  254. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewAddRemove.test.js +1 -10
  255. data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareConfig.js +21 -9
  256. data/webpack/scenes/ContentViews/Details/Versions/Compare/CVVersionCompareTable.js +4 -0
  257. data/webpack/scenes/ContentViews/Details/Versions/Compare/__tests__/CVVersionCompare.test.js +1 -32
  258. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +3 -1
  259. data/webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvVersionRemove.test.js +1 -15
  260. data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedActivationKeys.js +1 -1
  261. data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedHosts.js +1 -2
  262. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailConfig.js +31 -9
  263. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsTable.js +4 -0
  264. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetails.test.js +30 -14
  265. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +1 -1
  266. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +55 -120
  267. data/webpack/scenes/ContentViews/components/ContentViewSelect/ContentViewSelectOption.js +87 -0
  268. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +1 -1
  269. data/webpack/scenes/ContentViews/components/WizardHeader.js +1 -1
  270. data/webpack/scenes/ContentViews/expansions/RelatedContentViewComponentsModal.js +1 -1
  271. data/webpack/scenes/ContentViews/expansions/__tests__/contentViewComponentsModal.test.js +8 -1
  272. data/webpack/scenes/Hosts/ChangeContentSource/components/ContentSourceForm.js +153 -28
  273. data/webpack/scenes/Hosts/ChangeContentSource/index.js +14 -15
  274. data/webpack/scenes/Hosts/ChangeContentSource/selectors.js +4 -0
  275. data/webpack/scenes/Hosts/ChangeContentSource/styles.scss +4 -0
  276. data/webpack/scenes/ModuleStreams/ModuleStreamsPage.js +3 -9
  277. data/webpack/scenes/ModuleStreams/__tests__/__snapshots__/ModuleStreamPage.test.js.snap +7 -1
  278. data/webpack/scenes/RedHatRepositories/components/Search.js +22 -16
  279. data/webpack/scenes/RedHatRepositories/index.scss +20 -1
  280. data/webpack/scenes/SmartProxy/SmartProxyContentTable.js +12 -1
  281. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CdnTypeForm.js +1 -1
  282. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationTab/CustomCdnTypeForm.js +1 -1
  283. data/webpack/scenes/Subscriptions/SubscriptionsPage.js +21 -19
  284. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +34 -1
  285. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js +20 -7
  286. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.test.js +0 -1
  287. data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/__snapshots__/SubscriptionsToolbar.test.js.snap +65 -15
  288. metadata +52 -115
  289. data/app/lib/actions/katello/pulp_selector.rb +0 -24
  290. data/app/lib/actions/katello/repository/correct_checksum.rb +0 -24
  291. data/app/lib/actions/katello/repository/destroy_package_group.rb +0 -26
  292. data/app/lib/actions/katello/repository/upload_package_group.rb +0 -24
  293. data/app/lib/actions/pulp/abstract.rb +0 -37
  294. data/app/lib/actions/pulp/abstract_async_task.rb +0 -154
  295. data/app/lib/actions/pulp/abstract_async_task_group.rb +0 -94
  296. data/app/lib/actions/pulp/consumer/sync_capsule.rb +0 -45
  297. data/app/lib/actions/pulp/consumer/unassociate_units.rb +0 -20
  298. data/app/lib/actions/pulp/expect_one_task.rb +0 -11
  299. data/app/lib/actions/pulp/orchestration/orphan_cleanup/remove_orphans.rb +0 -16
  300. data/app/lib/actions/pulp/orchestration/repository/copy_all_units.rb +0 -19
  301. data/app/lib/actions/pulp/orchestration/repository/delete.rb +0 -15
  302. data/app/lib/actions/pulp/orchestration/repository/refresh.rb +0 -14
  303. data/app/lib/actions/pulp/orchestration/repository/refresh_if_needed.rb +0 -13
  304. data/app/lib/actions/pulp/orchestration/repository/refresh_repos.rb +0 -19
  305. data/app/lib/actions/pulp/orchestration/repository/remove_units.rb +0 -14
  306. data/app/lib/actions/pulp/orchestration/repository/smart_proxy_sync.rb +0 -34
  307. data/app/lib/actions/pulp/orchestration/repository/sync.rb +0 -18
  308. data/app/lib/actions/pulp/orchestration/repository/upload_content.rb +0 -37
  309. data/app/lib/actions/pulp/orphan_cleanup/remove_orphans.rb +0 -15
  310. data/app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb +0 -16
  311. data/app/lib/actions/pulp/repository/abstract_copy_content.rb +0 -45
  312. data/app/lib/actions/pulp/repository/abstract_remove_content.rb +0 -32
  313. data/app/lib/actions/pulp/repository/clear.rb +0 -18
  314. data/app/lib/actions/pulp/repository/copy_all_units.rb +0 -30
  315. data/app/lib/actions/pulp/repository/copy_units.rb +0 -25
  316. data/app/lib/actions/pulp/repository/create.rb +0 -28
  317. data/app/lib/actions/pulp/repository/create_in_plan.rb +0 -15
  318. data/app/lib/actions/pulp/repository/create_upload_request.rb +0 -20
  319. data/app/lib/actions/pulp/repository/delete_upload_request.rb +0 -19
  320. data/app/lib/actions/pulp/repository/destroy.rb +0 -28
  321. data/app/lib/actions/pulp/repository/distributor_publish.rb +0 -25
  322. data/app/lib/actions/pulp/repository/download.rb +0 -16
  323. data/app/lib/actions/pulp/repository/import_upload.rb +0 -19
  324. data/app/lib/actions/pulp/repository/presenters/abstract_sync_presenter.rb +0 -47
  325. data/app/lib/actions/pulp/repository/presenters/deb_presenter.rb +0 -95
  326. data/app/lib/actions/pulp/repository/presenters/docker_presenter.rb +0 -103
  327. data/app/lib/actions/pulp/repository/presenters/file_unit_presenter.rb +0 -42
  328. data/app/lib/actions/pulp/repository/presenters/yum_presenter.rb +0 -131
  329. data/app/lib/actions/pulp/repository/refresh.rb +0 -21
  330. data/app/lib/actions/pulp/repository/regenerate_applicability.rb +0 -21
  331. data/app/lib/actions/pulp/repository/remove_distribution.rb +0 -11
  332. data/app/lib/actions/pulp/repository/remove_units.rb +0 -44
  333. data/app/lib/actions/pulp/repository/sync.rb +0 -99
  334. data/app/lib/actions/pulp/repository/upload_file.rb +0 -28
  335. data/app/lib/actions/pulp/repository_group/create.rb +0 -31
  336. data/app/lib/actions/pulp/repository_group/delete.rb +0 -17
  337. data/app/lib/actions/pulp/repository_group/export.rb +0 -51
  338. data/app/lib/katello/util/package_clause_generator.rb +0 -77
  339. data/app/models/katello/glue/pulp/pulp_errors.rb +0 -9
  340. data/app/models/katello/glue/pulp/repo.rb +0 -353
  341. data/app/models/katello/pulp_sync_status.rb +0 -165
  342. data/app/models/katello/pulp_task_status.rb +0 -63
  343. data/app/services/katello/pulp/content.rb +0 -24
  344. data/app/services/katello/pulp/importer_comparison.rb +0 -28
  345. data/app/services/katello/pulp/repository/deb.rb +0 -61
  346. data/app/services/katello/pulp/repository/docker.rb +0 -82
  347. data/app/services/katello/pulp/repository/file.rb +0 -52
  348. data/app/services/katello/pulp/repository/yum.rb +0 -205
  349. data/app/services/katello/pulp/repository.rb +0 -327
  350. data/app/services/katello/pulp/server.rb +0 -35
  351. data/app/services/katello/pulp/simple_package.rb +0 -24
  352. data/app/services/katello/pulp/smart_proxy_repository.rb +0 -52
  353. data/lib/monkeys/fix_deb_optimized_sync.rb +0 -35
  354. data/lib/monkeys/fix_pulp_container_path.rb +0 -35
  355. data/locale/zanata.xml +0 -30
  356. data/webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentSearch.fixtures.json +0 -33
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
4
+ version: 4.8.0.rc2
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-03-16 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -234,26 +234,6 @@ dependencies:
234
234
  - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
- - !ruby/object:Gem::Dependency
238
- name: runcible
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - ">="
242
- - !ruby/object:Gem::Version
243
- version: 2.13.0
244
- - - "<"
245
- - !ruby/object:Gem::Version
246
- version: 3.0.0
247
- type: :runtime
248
- prerelease: false
249
- version_requirements: !ruby/object:Gem::Requirement
250
- requirements:
251
- - - ">="
252
- - !ruby/object:Gem::Version
253
- version: 2.13.0
254
- - - "<"
255
- - !ruby/object:Gem::Version
256
- version: 3.0.0
257
237
  - !ruby/object:Gem::Dependency
258
238
  name: anemone
259
239
  requirement: !ruby/object:Gem::Requirement
@@ -274,60 +254,60 @@ dependencies:
274
254
  requirements:
275
255
  - - ">="
276
256
  - !ruby/object:Gem::Version
277
- version: 3.21.0
257
+ version: 3.22.0
278
258
  - - "<"
279
259
  - !ruby/object:Gem::Version
280
- version: 3.22.0
260
+ version: 3.23.0
281
261
  type: :runtime
282
262
  prerelease: false
283
263
  version_requirements: !ruby/object:Gem::Requirement
284
264
  requirements:
285
265
  - - ">="
286
266
  - !ruby/object:Gem::Version
287
- version: 3.21.0
267
+ version: 3.22.0
288
268
  - - "<"
289
269
  - !ruby/object:Gem::Version
290
- version: 3.22.0
270
+ version: 3.23.0
291
271
  - !ruby/object:Gem::Dependency
292
272
  name: pulp_file_client
293
273
  requirement: !ruby/object:Gem::Requirement
294
274
  requirements:
295
275
  - - ">="
296
276
  - !ruby/object:Gem::Version
297
- version: 1.11.0
277
+ version: 1.12.0
298
278
  - - "<"
299
279
  - !ruby/object:Gem::Version
300
- version: '1.12'
280
+ version: '1.13'
301
281
  type: :runtime
302
282
  prerelease: false
303
283
  version_requirements: !ruby/object:Gem::Requirement
304
284
  requirements:
305
285
  - - ">="
306
286
  - !ruby/object:Gem::Version
307
- version: 1.11.0
287
+ version: 1.12.0
308
288
  - - "<"
309
289
  - !ruby/object:Gem::Version
310
- version: '1.12'
290
+ version: '1.13'
311
291
  - !ruby/object:Gem::Dependency
312
292
  name: pulp_ansible_client
313
293
  requirement: !ruby/object:Gem::Requirement
314
294
  requirements:
315
295
  - - ">="
316
296
  - !ruby/object:Gem::Version
317
- version: 0.15.0
297
+ version: 0.16.0
318
298
  - - "<"
319
299
  - !ruby/object:Gem::Version
320
- version: '0.16'
300
+ version: '0.17'
321
301
  type: :runtime
322
302
  prerelease: false
323
303
  version_requirements: !ruby/object:Gem::Requirement
324
304
  requirements:
325
305
  - - ">="
326
306
  - !ruby/object:Gem::Version
327
- version: 0.15.0
307
+ version: 0.16.0
328
308
  - - "<"
329
309
  - !ruby/object:Gem::Version
330
- version: '0.16'
310
+ version: '0.17'
331
311
  - !ruby/object:Gem::Dependency
332
312
  name: pulp_container_client
333
313
  requirement: !ruby/object:Gem::Requirement
@@ -374,20 +354,20 @@ dependencies:
374
354
  requirements:
375
355
  - - ">="
376
356
  - !ruby/object:Gem::Version
377
- version: 3.18.0
357
+ version: 3.19.0
378
358
  - - "<"
379
359
  - !ruby/object:Gem::Version
380
- version: 3.19.0
360
+ version: 3.20.0
381
361
  type: :runtime
382
362
  prerelease: false
383
363
  version_requirements: !ruby/object:Gem::Requirement
384
364
  requirements:
385
365
  - - ">="
386
366
  - !ruby/object:Gem::Version
387
- version: 3.18.0
367
+ version: 3.19.0
388
368
  - - "<"
389
369
  - !ruby/object:Gem::Version
390
- version: 3.19.0
370
+ version: 3.20.0
391
371
  - !ruby/object:Gem::Dependency
392
372
  name: pulp_certguard_client
393
373
  requirement: !ruby/object:Gem::Requirement
@@ -408,20 +388,20 @@ dependencies:
408
388
  requirements:
409
389
  - - ">="
410
390
  - !ruby/object:Gem::Version
411
- version: 3.7.2
391
+ version: 3.8.0
412
392
  - - "<"
413
393
  - !ruby/object:Gem::Version
414
- version: '3.8'
394
+ version: '3.9'
415
395
  type: :runtime
416
396
  prerelease: false
417
397
  version_requirements: !ruby/object:Gem::Requirement
418
398
  requirements:
419
399
  - - ">="
420
400
  - !ruby/object:Gem::Version
421
- version: 3.7.2
401
+ version: 3.8.0
422
402
  - - "<"
423
403
  - !ruby/object:Gem::Version
424
- version: '3.8'
404
+ version: '3.9'
425
405
  - !ruby/object:Gem::Dependency
426
406
  name: pulp_ostree_client
427
407
  requirement: !ruby/object:Gem::Requirement
@@ -745,6 +725,7 @@ files:
745
725
  - app/controllers/katello/api/v2/docker_tags_controller.rb
746
726
  - app/controllers/katello/api/v2/environments_controller.rb
747
727
  - app/controllers/katello/api/v2/errata_controller.rb
728
+ - app/controllers/katello/api/v2/exports_controller.rb
748
729
  - app/controllers/katello/api/v2/file_units_controller.rb
749
730
  - app/controllers/katello/api/v2/generic_content_units_controller.rb
750
731
  - app/controllers/katello/api/v2/host_autocomplete_controller.rb
@@ -789,6 +770,7 @@ files:
789
770
  - app/controllers/katello/concerns/api/v2/repository_content_controller.rb
790
771
  - app/controllers/katello/concerns/api/v2/smart_proxies_controller_extensions.rb
791
772
  - app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb
773
+ - app/controllers/katello/concerns/content_facet_hosts_controller_extensions.rb
792
774
  - app/controllers/katello/concerns/filtered_auto_complete_search.rb
793
775
  - app/controllers/katello/concerns/hosts_controller_extensions.rb
794
776
  - app/controllers/katello/concerns/organizations_controller_extensions.rb
@@ -953,18 +935,15 @@ files:
953
935
  - app/lib/actions/katello/product/update.rb
954
936
  - app/lib/actions/katello/product/update_http_proxy.rb
955
937
  - app/lib/actions/katello/provider/destroy.rb
956
- - app/lib/actions/katello/pulp_selector.rb
957
938
  - app/lib/actions/katello/repository/bulk_metadata_generate.rb
958
939
  - app/lib/actions/katello/repository/capsule_sync.rb
959
940
  - app/lib/actions/katello/repository/check_matching_content.rb
960
941
  - app/lib/actions/katello/repository/clone_contents.rb
961
942
  - app/lib/actions/katello/repository/clone_to_environment.rb
962
943
  - app/lib/actions/katello/repository/clone_to_version.rb
963
- - app/lib/actions/katello/repository/correct_checksum.rb
964
944
  - app/lib/actions/katello/repository/create.rb
965
945
  - app/lib/actions/katello/repository/create_root.rb
966
946
  - app/lib/actions/katello/repository/destroy.rb
967
- - app/lib/actions/katello/repository/destroy_package_group.rb
968
947
  - app/lib/actions/katello/repository/discover.rb
969
948
  - app/lib/actions/katello/repository/errata_mail.rb
970
949
  - app/lib/actions/katello/repository/fetch_pxe_files.rb
@@ -989,7 +968,6 @@ files:
989
968
  - app/lib/actions/katello/repository/update_metadata_sync.rb
990
969
  - app/lib/actions/katello/repository/update_redhat_repository.rb
991
970
  - app/lib/actions/katello/repository/upload_files.rb
992
- - app/lib/actions/katello/repository/upload_package_group.rb
993
971
  - app/lib/actions/katello/repository/verify_checksum.rb
994
972
  - app/lib/actions/katello/repository_set/disable_repository.rb
995
973
  - app/lib/actions/katello/repository_set/enable_repository.rb
@@ -1015,51 +993,6 @@ files:
1015
993
  - app/lib/actions/middleware/record_smart_proxy_sync_history.rb
1016
994
  - app/lib/actions/middleware/remote_action.rb
1017
995
  - app/lib/actions/middleware/skip_if_matching_content.rb
1018
- - app/lib/actions/pulp/abstract.rb
1019
- - app/lib/actions/pulp/abstract_async_task.rb
1020
- - app/lib/actions/pulp/abstract_async_task_group.rb
1021
- - app/lib/actions/pulp/consumer/sync_capsule.rb
1022
- - app/lib/actions/pulp/consumer/unassociate_units.rb
1023
- - app/lib/actions/pulp/expect_one_task.rb
1024
- - app/lib/actions/pulp/orchestration/orphan_cleanup/remove_orphans.rb
1025
- - app/lib/actions/pulp/orchestration/repository/copy_all_units.rb
1026
- - app/lib/actions/pulp/orchestration/repository/delete.rb
1027
- - app/lib/actions/pulp/orchestration/repository/refresh.rb
1028
- - app/lib/actions/pulp/orchestration/repository/refresh_if_needed.rb
1029
- - app/lib/actions/pulp/orchestration/repository/refresh_repos.rb
1030
- - app/lib/actions/pulp/orchestration/repository/remove_units.rb
1031
- - app/lib/actions/pulp/orchestration/repository/smart_proxy_sync.rb
1032
- - app/lib/actions/pulp/orchestration/repository/sync.rb
1033
- - app/lib/actions/pulp/orchestration/repository/upload_content.rb
1034
- - app/lib/actions/pulp/orphan_cleanup/remove_orphans.rb
1035
- - app/lib/actions/pulp/orphan_cleanup/remove_unneeded_repos.rb
1036
- - app/lib/actions/pulp/repository/abstract_copy_content.rb
1037
- - app/lib/actions/pulp/repository/abstract_remove_content.rb
1038
- - app/lib/actions/pulp/repository/clear.rb
1039
- - app/lib/actions/pulp/repository/copy_all_units.rb
1040
- - app/lib/actions/pulp/repository/copy_units.rb
1041
- - app/lib/actions/pulp/repository/create.rb
1042
- - app/lib/actions/pulp/repository/create_in_plan.rb
1043
- - app/lib/actions/pulp/repository/create_upload_request.rb
1044
- - app/lib/actions/pulp/repository/delete_upload_request.rb
1045
- - app/lib/actions/pulp/repository/destroy.rb
1046
- - app/lib/actions/pulp/repository/distributor_publish.rb
1047
- - app/lib/actions/pulp/repository/download.rb
1048
- - app/lib/actions/pulp/repository/import_upload.rb
1049
- - app/lib/actions/pulp/repository/presenters/abstract_sync_presenter.rb
1050
- - app/lib/actions/pulp/repository/presenters/deb_presenter.rb
1051
- - app/lib/actions/pulp/repository/presenters/docker_presenter.rb
1052
- - app/lib/actions/pulp/repository/presenters/file_unit_presenter.rb
1053
- - app/lib/actions/pulp/repository/presenters/yum_presenter.rb
1054
- - app/lib/actions/pulp/repository/refresh.rb
1055
- - app/lib/actions/pulp/repository/regenerate_applicability.rb
1056
- - app/lib/actions/pulp/repository/remove_distribution.rb
1057
- - app/lib/actions/pulp/repository/remove_units.rb
1058
- - app/lib/actions/pulp/repository/sync.rb
1059
- - app/lib/actions/pulp/repository/upload_file.rb
1060
- - app/lib/actions/pulp/repository_group/create.rb
1061
- - app/lib/actions/pulp/repository_group/delete.rb
1062
- - app/lib/actions/pulp/repository_group/export.rb
1063
996
  - app/lib/actions/pulp3/abstract.rb
1064
997
  - app/lib/actions/pulp3/abstract_async_task.rb
1065
998
  - app/lib/actions/pulp3/alternate_content_source/create.rb
@@ -1218,7 +1151,6 @@ files:
1218
1151
  - app/lib/katello/util/model.rb
1219
1152
  - app/lib/katello/util/module_stream_clause_generator.rb
1220
1153
  - app/lib/katello/util/package.rb
1221
- - app/lib/katello/util/package_clause_generator.rb
1222
1154
  - app/lib/katello/util/package_filter.rb
1223
1155
  - app/lib/katello/util/path_with_substitutions.rb
1224
1156
  - app/lib/katello/util/pulpcore_content_filters.rb
@@ -1237,6 +1169,7 @@ files:
1237
1169
  - app/lib/katello/validators/content_view_erratum_filter_rule_validator.rb
1238
1170
  - app/lib/katello/validators/content_view_filter_version_validator.rb
1239
1171
  - app/lib/katello/validators/environment_docker_repositories_validator.rb
1172
+ - app/lib/katello/validators/generated_content_view_validator.rb
1240
1173
  - app/lib/katello/validators/gpg_key_content_type_validator.rb
1241
1174
  - app/lib/katello/validators/gpg_key_content_validator.rb
1242
1175
  - app/lib/katello/validators/hostgroup_kickstart_repository_validator.rb
@@ -1326,6 +1259,7 @@ files:
1326
1259
  - app/models/katello/content_view_docker_filter.rb
1327
1260
  - app/models/katello/content_view_docker_filter_rule.rb
1328
1261
  - app/models/katello/content_view_environment.rb
1262
+ - app/models/katello/content_view_environment_content_facet.rb
1329
1263
  - app/models/katello/content_view_erratum_filter.rb
1330
1264
  - app/models/katello/content_view_erratum_filter_rule.rb
1331
1265
  - app/models/katello/content_view_filter.rb
@@ -1377,8 +1311,6 @@ files:
1377
1311
  - app/models/katello/glue/candlepin/repository.rb
1378
1312
  - app/models/katello/glue/candlepin/subscription.rb
1379
1313
  - app/models/katello/glue/provider.rb
1380
- - app/models/katello/glue/pulp/pulp_errors.rb
1381
- - app/models/katello/glue/pulp/repo.rb
1382
1314
  - app/models/katello/glue/pulp/repos.rb
1383
1315
  - app/models/katello/hash_util.rb
1384
1316
  - app/models/katello/host/content_facet.rb
@@ -1418,8 +1350,6 @@ files:
1418
1350
  - app/models/katello/pulp3/content_guard.rb
1419
1351
  - app/models/katello/pulp3/distribution_reference.rb
1420
1352
  - app/models/katello/pulp3/repository_reference.rb
1421
- - app/models/katello/pulp_sync_status.rb
1422
- - app/models/katello/pulp_task_status.rb
1423
1353
  - app/models/katello/purpose_addon.rb
1424
1354
  - app/models/katello/purpose_addons_status.rb
1425
1355
  - app/models/katello/purpose_role_status.rb
@@ -1501,16 +1431,6 @@ files:
1501
1431
  - app/services/katello/product_content_importer.rb
1502
1432
  - app/services/katello/proxy_status/pulp.rb
1503
1433
  - app/services/katello/proxy_status/pulp_node.rb
1504
- - app/services/katello/pulp/content.rb
1505
- - app/services/katello/pulp/importer_comparison.rb
1506
- - app/services/katello/pulp/repository.rb
1507
- - app/services/katello/pulp/repository/deb.rb
1508
- - app/services/katello/pulp/repository/docker.rb
1509
- - app/services/katello/pulp/repository/file.rb
1510
- - app/services/katello/pulp/repository/yum.rb
1511
- - app/services/katello/pulp/server.rb
1512
- - app/services/katello/pulp/simple_package.rb
1513
- - app/services/katello/pulp/smart_proxy_repository.rb
1514
1434
  - app/services/katello/pulp3/alternate_content_source.rb
1515
1435
  - app/services/katello/pulp3/ansible_collection.rb
1516
1436
  - app/services/katello/pulp3/api/ansible_collection.rb
@@ -1523,6 +1443,8 @@ files:
1523
1443
  - app/services/katello/pulp3/api/yum.rb
1524
1444
  - app/services/katello/pulp3/content.rb
1525
1445
  - app/services/katello/pulp3/content_view_version/export.rb
1446
+ - app/services/katello/pulp3/content_view_version/export_validation_error.rb
1447
+ - app/services/katello/pulp3/content_view_version/export_validator.rb
1526
1448
  - app/services/katello/pulp3/content_view_version/import.rb
1527
1449
  - app/services/katello/pulp3/content_view_version/import_export_common.rb
1528
1450
  - app/services/katello/pulp3/content_view_version/import_gpg_keys.rb
@@ -1564,6 +1486,7 @@ files:
1564
1486
  - app/services/katello/registration_manager.rb
1565
1487
  - app/services/katello/repository_type.rb
1566
1488
  - app/services/katello/repository_type_manager.rb
1489
+ - app/services/katello/simple_package.rb
1567
1490
  - app/services/katello/smart_proxy_helper.rb
1568
1491
  - app/services/katello/ui_notifications/abstract_notification.rb
1569
1492
  - app/services/katello/ui_notifications/content_view/auto_publish_failure.rb
@@ -2233,8 +2156,11 @@ files:
2233
2156
  - db/migrate/20220730033504_update_custom_cdn.rb
2234
2157
  - db/migrate/20220920173656_add_http_proxy_to_smart_proxy.rb
2235
2158
  - db/migrate/20220920180858_remove_http_proxy_from_katello_alternate_content_sources.rb
2159
+ - db/migrate/20220929204746_add_content_view_environment_content_facet.rb
2160
+ - db/migrate/20221123212341_remove_pulp_docker_registry_port_setting.rb
2236
2161
  - db/migrate/20221206170122_update_ignore_srpm_to_false_for_mirror_complete.rb
2237
2162
  - db/migrate/20230119003859_ensure_repo_username_password_nil_not_blank.rb
2163
+ - db/migrate/20230203141353_set_new_acs_verify_ssl_default.rb
2238
2164
  - db/seeds.d/101-locations.rb
2239
2165
  - db/seeds.d/102-organizations.rb
2240
2166
  - db/seeds.d/104-proxy.rb
@@ -4255,6 +4181,15 @@ files:
4255
4181
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/http-proxies/http-proxy.factory.js
4256
4182
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/README
4257
4183
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot
4184
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po
4185
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po
4186
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po
4187
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po
4188
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ka.po
4189
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po
4190
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po
4191
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po
4192
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po
4258
4193
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js
4259
4194
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/zanata.xml
4260
4195
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/katello-features.run.js
@@ -4445,7 +4380,9 @@ files:
4445
4380
  - lib/katello/scheduled_jobs.rb
4446
4381
  - lib/katello/tasks/check_candlepin_content.rake
4447
4382
  - lib/katello/tasks/clean_backend_objects.rake
4383
+ - lib/katello/tasks/clean_candlepin_orphaned_products.rake
4448
4384
  - lib/katello/tasks/clean_old_file_repos.rake
4385
+ - lib/katello/tasks/clean_orphaned_facets.rb
4449
4386
  - lib/katello/tasks/clean_published_repo_directories.rake
4450
4387
  - lib/katello/tasks/content_view_import_only.rake
4451
4388
  - lib/katello/tasks/delete_orphaned_content.rake
@@ -4475,13 +4412,13 @@ files:
4475
4412
  - lib/katello/tasks/upgrades/4.2/remove_checksum_values.rake
4476
4413
  - lib/katello/tasks/upgrades/4.3/fix_url_auth.rake
4477
4414
  - lib/katello/tasks/upgrades/4.4/publish_import_cvvs.rake
4415
+ - lib/katello/tasks/upgrades/4.8/fix_incorrect_providers.rake
4416
+ - lib/katello/tasks/upgrades/4.8/regenerate_imported_repository_metadata.rake
4478
4417
  - lib/katello/tasks/virt_who_report.rake
4479
4418
  - lib/katello/url_constrained_cookie_store.rb
4480
4419
  - lib/katello/version.rb
4481
4420
  - lib/monkeys/anemone.rb
4482
4421
  - lib/monkeys/ar_postgres_evr_t.rb
4483
- - lib/monkeys/fix_deb_optimized_sync.rb
4484
- - lib/monkeys/fix_pulp_container_path.rb
4485
4422
  - lib/monkeys/fx_sqlite_skip.rb
4486
4423
  - lib/proxy_api/container_gateway.rb
4487
4424
  - lib/proxy_api/pulp.rb
@@ -4512,7 +4449,6 @@ files:
4512
4449
  - locale/ta/katello.po
4513
4450
  - locale/te/katello.po
4514
4451
  - locale/update-i18n
4515
- - locale/zanata.xml
4516
4452
  - locale/zh_CN/katello.po
4517
4453
  - locale/zh_TW/katello.po
4518
4454
  - package.json
@@ -4647,6 +4583,7 @@ files:
4647
4583
  - webpack/components/Table/PageControls.js
4648
4584
  - webpack/components/Table/TableHooks.js
4649
4585
  - webpack/components/Table/TableWrapper.js
4586
+ - webpack/components/Table/__test__/emptyStateMessage.test.js
4650
4587
  - webpack/components/Table/__test__/useBulkSelect.test.js
4651
4588
  - webpack/components/Table/components/SortableColumnHeaders.js
4652
4589
  - webpack/components/Table/components/TranslatedPlural.js
@@ -5003,7 +4940,6 @@ files:
5003
4940
  - webpack/scenes/ContentViews/Details/Filters/MatchContentModal/CVRpmMatchContentModal.js
5004
4941
  - webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContent.fixtures.json
5005
4942
  - webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentModal.test.js
5006
- - webpack/scenes/ContentViews/Details/Filters/MatchContentModal/__tests__/CVRpmMatchContentSearch.fixtures.json
5007
4943
  - webpack/scenes/ContentViews/Details/Filters/Rules/ContainerTag/AddEditContainerTagRuleModal.js
5008
4944
  - webpack/scenes/ContentViews/Details/Filters/Rules/DebPackage/AddEditDebPackageRuleModal.js
5009
4945
  - webpack/scenes/ContentViews/Details/Filters/Rules/Package/AddEditPackageRuleModal.js
@@ -5161,6 +5097,7 @@ files:
5161
5097
  - webpack/scenes/ContentViews/components/CVBreadCrumb.js
5162
5098
  - webpack/scenes/ContentViews/components/ContentViewIcon.js
5163
5099
  - webpack/scenes/ContentViews/components/ContentViewSelect/ContentViewSelect.js
5100
+ - webpack/scenes/ContentViews/components/ContentViewSelect/ContentViewSelectOption.js
5164
5101
  - webpack/scenes/ContentViews/components/ContentViewsCounter.js
5165
5102
  - webpack/scenes/ContentViews/components/EnvironmentLabels.js
5166
5103
  - webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathActions.js
@@ -5427,7 +5364,7 @@ homepage: http://www.katello.org
5427
5364
  licenses:
5428
5365
  - GPL-2.0
5429
5366
  metadata: {}
5430
- post_install_message:
5367
+ post_install_message:
5431
5368
  rdoc_options: []
5432
5369
  require_paths:
5433
5370
  - lib
@@ -5438,12 +5375,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
5438
5375
  version: '2.5'
5439
5376
  required_rubygems_version: !ruby/object:Gem::Requirement
5440
5377
  requirements:
5441
- - - ">="
5378
+ - - ">"
5442
5379
  - !ruby/object:Gem::Version
5443
- version: '0'
5380
+ version: 1.3.1
5444
5381
  requirements: []
5445
5382
  rubygems_version: 3.1.6
5446
- signing_key:
5383
+ signing_key:
5447
5384
  specification_version: 4
5448
5385
  summary: Content and Subscription Management plugin for Foreman
5449
5386
  test_files: []
@@ -1,24 +0,0 @@
1
- module Actions
2
- module Katello
3
- module PulpSelector
4
- def plan_pulp_action(backend_actions, repository, smart_proxy, *args)
5
- fail "nil smart_proxy passed to PulpSelector" if smart_proxy.nil?
6
- smart_proxy.fix_pulp3_capabilities(repository.content_type)
7
- planned = plan_optional_pulp_action(backend_actions, repository, smart_proxy, *args)
8
- fail "Could not locate an action for type #{smart_proxy.backend_service_type(repository)}" unless planned
9
- planned
10
- end
11
-
12
- def plan_optional_pulp_action(backend_actions, repository, smart_proxy, *args)
13
- found_action = select_pulp_action(backend_actions, repository, smart_proxy)
14
- plan_action(found_action, repository, smart_proxy, *args) if found_action
15
- end
16
-
17
- def select_pulp_action(backend_actions, repository, smart_proxy)
18
- backend_type = smart_proxy.backend_service_type(repository)
19
- found_action = backend_actions.find { |action| action.backend_service_type == backend_type }
20
- found_action
21
- end
22
- end
23
- end
24
- end
@@ -1,24 +0,0 @@
1
- module Actions
2
- module Katello
3
- module Repository
4
- class CorrectChecksum < Actions::Base
5
- def plan(repo)
6
- plan_self(:repo_id => repo.id)
7
- end
8
-
9
- def finalize
10
- ::User.current = ::User.anonymous_admin
11
- root = ::Katello::Repository.find(input[:repo_id]).root
12
-
13
- if root.pulp_scratchpad_checksum_type &&
14
- root.pulp_scratchpad_checksum_type != root.source_repo_checksum_type
15
- root.source_repo_checksum_type = root.pulp_scratchpad_checksum_type
16
- root.save!
17
- end
18
- ensure
19
- ::User.current = nil
20
- end
21
- end
22
- end
23
- end
24
- end
@@ -1,26 +0,0 @@
1
- module Actions
2
- module Katello
3
- module Repository
4
- class DestroyPackageGroup < Actions::EntryAction
5
- def plan(repository, pkg_group_id)
6
- action_subject(repository)
7
- criteria = { type_ids: ["package_group"], filters: {"unit": {"name": pkg_group_id} } }
8
-
9
- sequence do
10
- ::Katello.pulp_server.extensions.repository.unassociate_units(repository.pulp_id, criteria)
11
- plan_action(IndexPackageGroups, repository)
12
- plan_action(Katello::Repository::MetadataGenerate, repository)
13
- end
14
- end
15
-
16
- def rescue_strategy
17
- Dynflow::Action::Rescue::Skip
18
- end
19
-
20
- def humanized_name
21
- _("Delete Package Group")
22
- end
23
- end
24
- end
25
- end
26
- end
@@ -1,24 +0,0 @@
1
- module Actions
2
- module Katello
3
- module Repository
4
- class UploadPackageGroup < Actions::EntryAction
5
- def plan(repository, _params)
6
- action_subject(repository)
7
-
8
- sequence do
9
- plan_action(IndexPackageGroups, repository)
10
- plan_action(FinishUpload, repository, :generate_metadata => true)
11
- end
12
- end
13
-
14
- def rescue_strategy
15
- Dynflow::Action::Rescue::Skip
16
- end
17
-
18
- def humanized_name
19
- _("Create Package Group")
20
- end
21
- end
22
- end
23
- end
24
- end
@@ -1,37 +0,0 @@
1
- module Actions
2
- module Pulp
3
- class Abstract < Actions::Base
4
- BACKEND_SERVICE_TYPE = 'pulp2'.freeze
5
-
6
- middleware.use ::Actions::Middleware::RemoteAction
7
- middleware.use Actions::Middleware::PulpServicesCheck
8
-
9
- def self.backend_service_type
10
- BACKEND_SERVICE_TYPE
11
- end
12
-
13
- def pulp_resources(capsule_id = nil)
14
- capsule_content(capsule_id).resources
15
- end
16
-
17
- def pulp_extensions(capsule_id = nil)
18
- capsule_content(capsule_id).extensions
19
- end
20
-
21
- def smart_proxy(id)
22
- SmartProxy.unscoped.find(id)
23
- end
24
-
25
- private
26
-
27
- def capsule_content(capsule_id = nil)
28
- capsule_id ||= input["capsule_id"] || input["smart_proxy_id"]
29
- if capsule_id
30
- SmartProxy.unscoped.find(capsule_id).pulp_api
31
- else
32
- ::Katello.pulp_server
33
- end
34
- end
35
- end
36
- end
37
- end