katello 4.3.0.rc1 → 4.3.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 (208) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/katello/api/v2/api_controller.rb +4 -0
  3. data/app/controllers/katello/api/v2/host_errata_controller.rb +5 -0
  4. data/app/controllers/katello/api/v2/host_packages_controller.rb +2 -0
  5. data/app/controllers/katello/api/v2/host_tracer_controller.rb +4 -0
  6. data/app/controllers/katello/api/v2/repository_sets_controller.rb +2 -2
  7. data/app/controllers/katello/api/v2/root_controller.rb +10 -19
  8. data/app/controllers/katello/concerns/api/v2/bulk_extensions.rb +3 -13
  9. data/app/controllers/katello/remote_execution_controller.rb +1 -1
  10. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +7 -5
  11. data/app/lib/actions/katello/repository/destroy.rb +3 -3
  12. data/app/lib/actions/pulp/repository/sync.rb +0 -2
  13. data/app/lib/actions/pulp3/abstract_async_task.rb +16 -4
  14. data/app/lib/katello/resources/cdn.rb +10 -1
  15. data/app/models/katello/concerns/host_managed_extensions.rb +7 -4
  16. data/app/models/katello/concerns/smart_proxy_extensions.rb +6 -2
  17. data/app/models/katello/content_view_version.rb +1 -6
  18. data/app/models/katello/glue/pulp/repo.rb +1 -2
  19. data/app/models/katello/host_tracer.rb +2 -0
  20. data/app/models/katello/repository.rb +2 -30
  21. data/app/models/katello/root_repository.rb +3 -43
  22. data/app/presenters/katello/host_package_presenter.rb +21 -0
  23. data/app/services/katello/bulk_items_helper.rb +35 -0
  24. data/app/services/katello/smart_proxy_helper.rb +10 -1
  25. data/app/views/foreman/job_templates/install_errata.erb +8 -6
  26. data/app/views/foreman/job_templates/resolve_traces.erb +4 -5
  27. data/app/views/foreman/job_templates/resolve_traces_-_katello_ansible_default.erb +3 -5
  28. data/app/views/foreman/smart_proxies/_content_sync.html.erb +7 -0
  29. data/app/views/katello/api/v2/capsule_content/sync_status.json.rabl +4 -0
  30. data/app/views/katello/api/v2/{organizations/cdn_configuration.rabl → cdn_configurations/show.json.rabl} +4 -0
  31. data/app/views/katello/api/v2/content_facet/show.json.rabl +8 -0
  32. data/app/views/katello/api/v2/content_view_filters/show.json.rabl +0 -1
  33. data/app/views/katello/api/v2/content_views/base.json.rabl +1 -1
  34. data/app/views/katello/api/v2/host_packages/base.json.rabl +2 -0
  35. data/app/views/katello/api/v2/organizations/show.json.rabl +1 -1
  36. data/app/views/katello/api/v2/repositories/show.json.rabl +0 -3
  37. data/config/routes/api/v2.rb +0 -10
  38. data/db/migrate/20211115215210_drop_ostree_branches.rb +13 -0
  39. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion-katello-bootstrap.js +0 -2
  40. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion_katello.js +0 -3
  41. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.routes.js +0 -10
  42. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-versions.html +0 -3
  43. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version-content.controller.js +0 -10
  44. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-versions.module.js +0 -1
  45. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version.html +0 -7
  46. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/content.service.js +0 -5
  47. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.module.js +0 -1
  48. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.routes.js +0 -11
  49. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/fenced-pages.service.js +1 -2
  50. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js +2 -4
  51. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.filter.js +0 -10
  52. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +1 -1
  53. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js +3 -6
  54. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +4 -1
  55. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/os-versions.service.js +1 -0
  56. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.routes.js +0 -9
  57. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html +0 -8
  58. data/engines/bastion_katello/lib/bastion_katello/engine.rb +0 -1
  59. data/lib/katello/permission_creator.rb +0 -1
  60. data/lib/katello/plugin.rb +0 -10
  61. data/lib/katello/tasks/reset.rake +2 -2
  62. data/lib/katello/version.rb +1 -1
  63. data/webpack/components/Packages/index.js +63 -0
  64. data/webpack/components/Search/Search.js +7 -1
  65. data/webpack/components/SelectAllCheckbox/index.js +2 -2
  66. data/webpack/components/Table/MainTable.scss +7 -1
  67. data/webpack/components/Table/TableHooks.js +10 -19
  68. data/webpack/components/Table/TableWrapper.js +0 -2
  69. data/webpack/components/WithOrganization/__snapshots__/withOrganization.test.js.snap +3 -3
  70. data/webpack/components/extensions/HostDetails/HostDetailsConstants.js +1 -0
  71. data/webpack/components/extensions/HostDetails/HostDetailsSelectors.js +16 -0
  72. data/webpack/components/extensions/HostDetails/HostErrata/HostErrataConstants.js +2 -0
  73. data/webpack/components/extensions/HostDetails/HostPackages/HostPackagesActions.js +11 -0
  74. data/webpack/components/extensions/HostDetails/HostPackages/HostPackagesConstants.js +2 -0
  75. data/webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js +16 -0
  76. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js +4 -0
  77. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js +1 -0
  78. data/webpack/components/extensions/HostDetails/Tabs/ErrataTab.js +119 -25
  79. data/webpack/components/extensions/HostDetails/Tabs/HostTracesConstants.js +1 -0
  80. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab.js +127 -0
  81. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab.scss +11 -0
  82. data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +30 -4
  83. data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionConstants.js +1 -0
  84. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsActions.js +73 -0
  85. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js +2 -0
  86. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsSelectors.js +16 -0
  87. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +347 -0
  88. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.scss +7 -0
  89. data/webpack/components/extensions/HostDetails/Tabs/TracesTab.js +38 -31
  90. data/webpack/components/extensions/HostDetails/Tabs/__tests__/bookmarks.fixtures.json +12 -0
  91. data/webpack/components/extensions/HostDetails/Tabs/__tests__/contentOverrides.fixtures.json +227 -0
  92. data/webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js +423 -2
  93. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packages.fixtures.json +28 -0
  94. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +91 -0
  95. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySets.fixtures.json +120 -0
  96. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySetsTab.test.js +307 -0
  97. data/webpack/components/extensions/HostDetails/Tabs/__tests__/resolveErrata.fixtures.json +35 -0
  98. data/webpack/components/extensions/HostDetails/Tabs/__tests__/tracesTab.test.js +55 -9
  99. data/webpack/components/extensions/HostDetails/Tabs/customizedRexUrlHelpers.js +28 -14
  100. data/webpack/containers/Application/overrides.scss +31 -9
  101. data/webpack/global_index.js +4 -2
  102. data/webpack/redux/reducers/RedHatRepositories/enabled.fixtures.js +0 -2
  103. data/webpack/scenes/Content/ContentConfig.js +23 -7
  104. data/webpack/scenes/ContentCredentials/ContentCredentialActions.js +18 -0
  105. data/webpack/scenes/ContentCredentials/ContentCredentialConstants.js +2 -0
  106. data/webpack/scenes/ContentCredentials/ContentCredentialSelectors.js +12 -0
  107. data/webpack/scenes/ContentCredentials/__tests__/contentCredentials.fixtures.js +73 -0
  108. data/webpack/scenes/ContentViews/Copy/CopyContentViewForm.js +1 -1
  109. data/webpack/scenes/ContentViews/Create/ContentViewFormComponents.js +3 -3
  110. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +7 -2
  111. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.scss +7 -0
  112. data/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js +9 -9
  113. data/webpack/scenes/ContentViews/Delete/ContentViewDeleteWizard.js +6 -6
  114. data/webpack/scenes/ContentViews/Delete/Steps/CVDeleteEnvironmentsSelection.js +39 -37
  115. data/webpack/scenes/ContentViews/Delete/Steps/CVDeletionReview.js +35 -33
  116. data/webpack/scenes/ContentViews/Delete/__tests__/contentViewDelete.test.js +7 -5
  117. data/webpack/scenes/ContentViews/Delete/__tests__/cvVersionsData.fixtures.json +2 -6
  118. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentEnvironments.js +13 -14
  119. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +18 -9
  120. data/webpack/scenes/ContentViews/Details/ContentViewInfo.js +3 -2
  121. data/webpack/scenes/ContentViews/Details/Filters/Add/__tests__/cvFilterCreateResult.fixtures.json +1 -2
  122. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVRpmFilterContent.test.js +1 -1
  123. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewErrataByDateDetails.fixtures.json +1 -8
  124. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetail.fixtures.json +1 -2
  125. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetails.test.js +3 -8
  126. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvAllRepos.fixtures.json +0 -2
  127. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvErratumFilterDetails.fixtures.json +1 -2
  128. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvFilterDetailModuleAffectedRepos.fixtures.json +1 -8
  129. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvFilterDetailWithAffectedRepos.fixtures.json +1 -8
  130. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvModuleStreamFilterDetails.fixtures.json +1 -2
  131. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvPackageFilterDetail.fixtures.json +1 -3
  132. data/webpack/scenes/ContentViews/Details/Promote/ContentViewVersionPromote.js +44 -28
  133. data/webpack/scenes/ContentViews/Details/Repositories/ContentCounts.js +2 -1
  134. data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +1 -1
  135. data/webpack/scenes/ContentViews/Details/Repositories/LastSync.js +46 -8
  136. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewDetailRepos.fixtures.json +0 -2
  137. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionContent.js +19 -3
  138. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionEnvironments.js +2 -2
  139. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionErrata.js +5 -3
  140. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionErrata.scss +5 -2
  141. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +7 -4
  142. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVEnvironmentSelectionForm.js +59 -53
  143. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVVersionRemoveReview.js +24 -17
  144. data/webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/versionsResponseData.fixtures.json +1 -4
  145. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionRepositoryCell.js +8 -3
  146. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionComponent.fixtures.json +1 -4
  147. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetails.fixtures.json +1 -2
  148. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetailsCounts.fixtures.json +1 -2
  149. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionRepositories.fixtures.json +1 -18
  150. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersions.fixtures.json +5 -5
  151. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersions.test.js +1 -0
  152. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersionsWithTask.fixtures.json +1 -3
  153. data/webpack/scenes/ContentViews/Details/contentViewInfo.scss +0 -4
  154. data/webpack/scenes/ContentViews/Publish/CVPublishForm.js +66 -53
  155. data/webpack/scenes/ContentViews/Publish/CVPublishReview.js +40 -28
  156. data/webpack/scenes/ContentViews/Publish/PublishContentViewWizard.js +3 -3
  157. data/webpack/scenes/ContentViews/Publish/__tests__/publishContentView.test.js +14 -14
  158. data/webpack/scenes/ContentViews/Publish/cvPublishForm.scss +6 -0
  159. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +53 -12
  160. data/webpack/scenes/ContentViews/Table/tableDataGenerator.js +12 -6
  161. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +6 -6
  162. data/webpack/scenes/ContentViews/components/ContentViewIcon.js +6 -5
  163. data/webpack/scenes/ContentViews/components/ContentViewsCounter.js +2 -2
  164. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +26 -27
  165. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.scss +18 -6
  166. data/webpack/scenes/ContentViews/components/WizardHeader.js +44 -0
  167. data/webpack/scenes/ContentViews/components/contentViewIcon.scss +13 -2
  168. data/webpack/scenes/Organizations/OrganizationActions.js +22 -24
  169. data/webpack/scenes/Organizations/OrganizationConstants.js +1 -3
  170. data/webpack/scenes/Organizations/OrganizationReducer.js +0 -7
  171. data/webpack/scenes/Organizations/OrganizationSelectors.js +16 -0
  172. data/webpack/scenes/Organizations/__tests__/OrganizationActions.test.js +1 -21
  173. data/webpack/scenes/Organizations/__tests__/OrganizationReducer.test.js +0 -20
  174. data/webpack/scenes/Organizations/__tests__/organizations.fixtures.js +34 -23
  175. data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +151 -14
  176. data/webpack/scenes/Subscriptions/Manifest/__tests__/ManageManifestModal.test.js +150 -31
  177. data/webpack/scenes/Subscriptions/Manifest/index.js +14 -3
  178. data/webpack/utils/dateTimeHelpers.js +7 -0
  179. data/webpack/utils/helpers.js +1 -1
  180. metadata +45 -43
  181. data/app/controllers/katello/api/v2/ostree_branches_controller.rb +0 -16
  182. data/app/lib/actions/pulp/repository/presenters/ostree_presenter.rb +0 -91
  183. data/app/models/katello/ostree_branch.rb +0 -12
  184. data/app/models/katello/repository_ostree_branch.rb +0 -7
  185. data/app/services/katello/pulp/ostree_branch.rb +0 -14
  186. data/app/services/katello/pulp/repository/ostree.rb +0 -48
  187. data/app/views/katello/api/v2/ostree_branches/compare.json.rabl +0 -10
  188. data/app/views/katello/api/v2/ostree_branches/index.json.rabl +0 -7
  189. data/app/views/katello/api/v2/ostree_branches/show.json.rabl +0 -5
  190. data/app/views/katello/api/v2/root/resource_list.json.rabl +0 -3
  191. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-ostree-branches.html +0 -26
  192. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-ostree.html +0 -27
  193. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch-repositories.controller.js +0 -77
  194. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch.controller.js +0 -31
  195. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-info.html +0 -15
  196. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-repositories.html +0 -72
  197. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch.html +0 -30
  198. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branch.factory.js +0 -27
  199. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.controller.js +0 -67
  200. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.module.js +0 -15
  201. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js +0 -50
  202. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/views/ostree-branches.html +0 -40
  203. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ostree-branches.html +0 -40
  204. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/ostree-upstream-sync-policy.service.js +0 -26
  205. data/webpack/components/extensions/HostDetails/Tabs/SubscriptionTab.js +0 -12
  206. data/webpack/scenes/Content/Details/ContentCounts.js +0 -42
  207. data/webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js +0 -108
  208. data/webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap +0 -158
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.3.0.rc1
4
+ version: 4.3.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2021-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -274,20 +274,20 @@ dependencies:
274
274
  requirements:
275
275
  - - ">="
276
276
  - !ruby/object:Gem::Version
277
- version: 3.15.0
277
+ version: 3.16.0
278
278
  - - "<"
279
279
  - !ruby/object:Gem::Version
280
- version: 3.16.0
280
+ version: 3.17.0
281
281
  type: :runtime
282
282
  prerelease: false
283
283
  version_requirements: !ruby/object:Gem::Requirement
284
284
  requirements:
285
285
  - - ">="
286
286
  - !ruby/object:Gem::Version
287
- version: 3.15.0
287
+ version: 3.16.0
288
288
  - - "<"
289
289
  - !ruby/object:Gem::Version
290
- version: 3.16.0
290
+ version: 3.17.0
291
291
  - !ruby/object:Gem::Dependency
292
292
  name: pulp_file_client
293
293
  requirement: !ruby/object:Gem::Requirement
@@ -354,40 +354,40 @@ dependencies:
354
354
  requirements:
355
355
  - - ">="
356
356
  - !ruby/object:Gem::Version
357
- version: 2.15.0
357
+ version: 2.16.0
358
358
  - - "<"
359
359
  - !ruby/object:Gem::Version
360
- version: 2.16.0
360
+ version: 2.17.0
361
361
  type: :runtime
362
362
  prerelease: false
363
363
  version_requirements: !ruby/object:Gem::Requirement
364
364
  requirements:
365
365
  - - ">="
366
366
  - !ruby/object:Gem::Version
367
- version: 2.15.0
367
+ version: 2.16.0
368
368
  - - "<"
369
369
  - !ruby/object:Gem::Version
370
- version: 2.16.0
370
+ version: 2.17.0
371
371
  - !ruby/object:Gem::Dependency
372
372
  name: pulp_rpm_client
373
373
  requirement: !ruby/object:Gem::Requirement
374
374
  requirements:
375
375
  - - ">="
376
376
  - !ruby/object:Gem::Version
377
- version: 3.15.0
377
+ version: 3.16.0
378
378
  - - "<"
379
379
  - !ruby/object:Gem::Version
380
- version: 3.16.0
380
+ version: 3.17.0
381
381
  type: :runtime
382
382
  prerelease: false
383
383
  version_requirements: !ruby/object:Gem::Requirement
384
384
  requirements:
385
385
  - - ">="
386
386
  - !ruby/object:Gem::Version
387
- version: 3.15.0
387
+ version: 3.16.0
388
388
  - - "<"
389
389
  - !ruby/object:Gem::Version
390
- version: 3.16.0
390
+ version: 3.17.0
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: pulp_certguard_client
393
393
  requirement: !ruby/object:Gem::Requirement
@@ -772,7 +772,6 @@ files:
772
772
  - app/controllers/katello/api/v2/katello_ping_controller.rb
773
773
  - app/controllers/katello/api/v2/module_streams_controller.rb
774
774
  - app/controllers/katello/api/v2/organizations_controller.rb
775
- - app/controllers/katello/api/v2/ostree_branches_controller.rb
776
775
  - app/controllers/katello/api/v2/package_groups_controller.rb
777
776
  - app/controllers/katello/api/v2/packages_controller.rb
778
777
  - app/controllers/katello/api/v2/products_bulk_actions_controller.rb
@@ -1052,7 +1051,6 @@ files:
1052
1051
  - app/lib/actions/pulp/repository/presenters/deb_presenter.rb
1053
1052
  - app/lib/actions/pulp/repository/presenters/docker_presenter.rb
1054
1053
  - app/lib/actions/pulp/repository/presenters/file_unit_presenter.rb
1055
- - app/lib/actions/pulp/repository/presenters/ostree_presenter.rb
1056
1054
  - app/lib/actions/pulp/repository/presenters/yum_presenter.rb
1057
1055
  - app/lib/actions/pulp/repository/refresh.rb
1058
1056
  - app/lib/actions/pulp/repository/regenerate_applicability.rb
@@ -1374,7 +1372,6 @@ files:
1374
1372
  - app/models/katello/module_stream_artifact.rb
1375
1373
  - app/models/katello/module_stream_erratum_package.rb
1376
1374
  - app/models/katello/module_stream_rpm.rb
1377
- - app/models/katello/ostree_branch.rb
1378
1375
  - app/models/katello/package_category.rb
1379
1376
  - app/models/katello/package_group.rb
1380
1377
  - app/models/katello/ping.rb
@@ -1409,7 +1406,6 @@ files:
1409
1406
  - app/models/katello/repository_file_unit.rb
1410
1407
  - app/models/katello/repository_generic_content_unit.rb
1411
1408
  - app/models/katello/repository_module_stream.rb
1412
- - app/models/katello/repository_ostree_branch.rb
1413
1409
  - app/models/katello/repository_package_group.rb
1414
1410
  - app/models/katello/repository_rpm.rb
1415
1411
  - app/models/katello/repository_srpm.rb
@@ -1437,6 +1433,7 @@ files:
1437
1433
  - app/overrides/override_taxonomy_actions.rb
1438
1434
  - app/presenters/katello/activation_key_subscriptions_presenter.rb
1439
1435
  - app/presenters/katello/content_view_version_compare_presenter.rb
1436
+ - app/presenters/katello/host_package_presenter.rb
1440
1437
  - app/presenters/katello/host_subscription_presenter.rb
1441
1438
  - app/presenters/katello/host_subscriptions_presenter.rb
1442
1439
  - app/presenters/katello/product_content_presenter.rb
@@ -1450,6 +1447,7 @@ files:
1450
1447
  - app/services/katello/applicability/applicable_content_helper.rb
1451
1448
  - app/services/katello/applicable_host_queue.rb
1452
1449
  - app/services/katello/authentication/client_authentication.rb
1450
+ - app/services/katello/bulk_items_helper.rb
1453
1451
  - app/services/katello/candlepin/consumer.rb
1454
1452
  - app/services/katello/candlepin/event_handler.rb
1455
1453
  - app/services/katello/candlepin/message_handler.rb
@@ -1482,7 +1480,6 @@ files:
1482
1480
  - app/services/katello/pulp/file_unit.rb
1483
1481
  - app/services/katello/pulp/importer_comparison.rb
1484
1482
  - app/services/katello/pulp/module_stream.rb
1485
- - app/services/katello/pulp/ostree_branch.rb
1486
1483
  - app/services/katello/pulp/package_category.rb
1487
1484
  - app/services/katello/pulp/package_group.rb
1488
1485
  - app/services/katello/pulp/pulp_content_unit.rb
@@ -1490,7 +1487,6 @@ files:
1490
1487
  - app/services/katello/pulp/repository/deb.rb
1491
1488
  - app/services/katello/pulp/repository/docker.rb
1492
1489
  - app/services/katello/pulp/repository/file.rb
1493
- - app/services/katello/pulp/repository/ostree.rb
1494
1490
  - app/services/katello/pulp/repository/yum.rb
1495
1491
  - app/services/katello/pulp/rpm.rb
1496
1492
  - app/services/katello/pulp/server.rb
@@ -1605,6 +1601,7 @@ files:
1605
1601
  - app/views/katello/api/v2/ansible_collections/show.json.rabl
1606
1602
  - app/views/katello/api/v2/capsule_content/lifecycle_environments.json.rabl
1607
1603
  - app/views/katello/api/v2/capsule_content/sync_status.json.rabl
1604
+ - app/views/katello/api/v2/cdn_configurations/show.json.rabl
1608
1605
  - app/views/katello/api/v2/common/_identifier.json.rabl
1609
1606
  - app/views/katello/api/v2/common/_metadata.json.rabl
1610
1607
  - app/views/katello/api/v2/common/_org_reference.json.rabl
@@ -1730,14 +1727,10 @@ files:
1730
1727
  - app/views/katello/api/v2/module_streams/name_stream.json.rabl
1731
1728
  - app/views/katello/api/v2/module_streams/name_streams.json.rabl
1732
1729
  - app/views/katello/api/v2/module_streams/show.json.rabl
1733
- - app/views/katello/api/v2/organizations/cdn_configuration.rabl
1734
1730
  - app/views/katello/api/v2/organizations/index.json.rabl
1735
1731
  - app/views/katello/api/v2/organizations/owner_details.rabl
1736
1732
  - app/views/katello/api/v2/organizations/show.json.rabl
1737
1733
  - app/views/katello/api/v2/organizations/upstream_consumer.rabl
1738
- - app/views/katello/api/v2/ostree_branches/compare.json.rabl
1739
- - app/views/katello/api/v2/ostree_branches/index.json.rabl
1740
- - app/views/katello/api/v2/ostree_branches/show.json.rabl
1741
1734
  - app/views/katello/api/v2/package_groups/backend.json.rabl
1742
1735
  - app/views/katello/api/v2/package_groups/base.json.rabl
1743
1736
  - app/views/katello/api/v2/package_groups/compare.json.rabl
@@ -1766,7 +1759,6 @@ files:
1766
1759
  - app/views/katello/api/v2/repository_sets/available_repositories.json.rabl
1767
1760
  - app/views/katello/api/v2/repository_sets/index.json.rabl
1768
1761
  - app/views/katello/api/v2/repository_sets/show.json.rabl
1769
- - app/views/katello/api/v2/root/resource_list.json.rabl
1770
1762
  - app/views/katello/api/v2/smart_proxies/pulp_info.json.rabl
1771
1763
  - app/views/katello/api/v2/srpms/backend.json.rabl
1772
1764
  - app/views/katello/api/v2/srpms/base.json.rabl
@@ -2176,6 +2168,7 @@ files:
2176
2168
  - db/migrate/20211006161617_add_filename_to_katello_generic_content_units.rb
2177
2169
  - db/migrate/20211019192121_create_cdn_configuration.katello.rb
2178
2170
  - db/migrate/20211025181315_add_additional_metadata_to_katello_generic_content_units.rb
2171
+ - db/migrate/20211115215210_drop_ostree_branches.rb
2179
2172
  - db/seeds.d/101-locations.rb
2180
2173
  - db/seeds.d/102-organizations.rb
2181
2174
  - db/seeds.d/104-proxy.rb
@@ -4178,7 +4171,6 @@ files:
4178
4171
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-errata.html
4179
4172
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-file.html
4180
4173
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-module-streams.html
4181
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-ostree-branches.html
4182
4174
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-package-groups.html
4183
4175
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-packages.html
4184
4176
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-yum.html
@@ -4219,7 +4211,6 @@ files:
4219
4211
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-docker.html
4220
4212
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html
4221
4213
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-module-streams.html
4222
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-ostree.html
4223
4214
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-packages.html
4224
4215
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-repositories.html
4225
4216
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment.html
@@ -4314,16 +4305,6 @@ files:
4314
4305
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.module.js
4315
4306
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.routes.js
4316
4307
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/views/organization-selector.html
4317
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch-repositories.controller.js
4318
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch.controller.js
4319
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-info.html
4320
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-repositories.html
4321
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch.html
4322
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branch.factory.js
4323
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.controller.js
4324
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.module.js
4325
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
4326
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/views/ostree-branches.html
4327
4308
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-group.factory.js
4328
4309
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-groups.module.js
4329
4310
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-repositories.controller.js
@@ -4368,7 +4349,6 @@ files:
4368
4349
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-files.html
4369
4350
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-generic-content.html
4370
4351
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-module-streams.html
4371
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ostree-branches.html
4372
4352
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-package-groups.html
4373
4353
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-packages.html
4374
4354
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-tasks.html
@@ -4377,7 +4357,6 @@ files:
4377
4357
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js
4378
4358
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html
4379
4359
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/os-versions.service.js
4380
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/ostree-upstream-sync-policy.service.js
4381
4360
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.module.js
4382
4361
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.routes.js
4383
4362
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository-types.service.js
@@ -4665,6 +4644,7 @@ files:
4665
4644
  - webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
4666
4645
  - webpack/components/OptionTooltip/__tests__/__snapshots__/OptionTooltip.test.js.snap
4667
4646
  - webpack/components/OptionTooltip/index.js
4647
+ - webpack/components/Packages/index.js
4668
4648
  - webpack/components/RoutedTabs/__tests__/RoutedTabs.test.js
4669
4649
  - webpack/components/RoutedTabs/index.js
4670
4650
  - webpack/components/Search/Search.js
@@ -4710,9 +4690,14 @@ files:
4710
4690
  - webpack/components/WithOrganization/withOrganization.test.js
4711
4691
  - webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard.js
4712
4692
  - webpack/components/extensions/HostDetails/Cards/__tests__/contentViewDetailsCard.test.js
4693
+ - webpack/components/extensions/HostDetails/HostDetailsConstants.js
4694
+ - webpack/components/extensions/HostDetails/HostDetailsSelectors.js
4713
4695
  - webpack/components/extensions/HostDetails/HostErrata/HostErrataActions.js
4714
4696
  - webpack/components/extensions/HostDetails/HostErrata/HostErrataConstants.js
4715
4697
  - webpack/components/extensions/HostDetails/HostErrata/HostErrataSelectors.js
4698
+ - webpack/components/extensions/HostDetails/HostPackages/HostPackagesActions.js
4699
+ - webpack/components/extensions/HostDetails/HostPackages/HostPackagesConstants.js
4700
+ - webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
4716
4701
  - webpack/components/extensions/HostDetails/Tabs/ContentTab/EmptyPage.js
4717
4702
  - webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
4718
4703
  - webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js
@@ -4727,13 +4712,26 @@ files:
4727
4712
  - webpack/components/extensions/HostDetails/Tabs/HostTracesActions.js
4728
4713
  - webpack/components/extensions/HostDetails/Tabs/HostTracesConstants.js
4729
4714
  - webpack/components/extensions/HostDetails/Tabs/HostTracesSelectors.js
4715
+ - webpack/components/extensions/HostDetails/Tabs/PackagesTab.js
4716
+ - webpack/components/extensions/HostDetails/Tabs/PackagesTab.scss
4730
4717
  - webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js
4731
4718
  - webpack/components/extensions/HostDetails/Tabs/RemoteExecutionConstants.js
4732
- - webpack/components/extensions/HostDetails/Tabs/SubscriptionTab.js
4719
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsActions.js
4720
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
4721
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsSelectors.js
4722
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js
4723
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.scss
4733
4724
  - webpack/components/extensions/HostDetails/Tabs/TracesTab.js
4734
4725
  - webpack/components/extensions/HostDetails/Tabs/TracesTab.scss
4726
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/bookmarks.fixtures.json
4727
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/contentOverrides.fixtures.json
4735
4728
  - webpack/components/extensions/HostDetails/Tabs/__tests__/errata.fixtures.json
4736
4729
  - webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js
4730
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/packages.fixtures.json
4731
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js
4732
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySets.fixtures.json
4733
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySetsTab.test.js
4734
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/resolveErrata.fixtures.json
4737
4735
  - webpack/components/extensions/HostDetails/Tabs/__tests__/resolveTraces.fixtures.json
4738
4736
  - webpack/components/extensions/HostDetails/Tabs/__tests__/tracerEmptyTraceResults.fixtures.json
4739
4737
  - webpack/components/extensions/HostDetails/Tabs/__tests__/tracerEnableJobInvocation.fixtures.json
@@ -4875,7 +4873,6 @@ files:
4875
4873
  - webpack/scenes/Content/ContentConstants.js
4876
4874
  - webpack/scenes/Content/ContentPage.js
4877
4875
  - webpack/scenes/Content/ContentSelectors.js
4878
- - webpack/scenes/Content/Details/ContentCounts.js
4879
4876
  - webpack/scenes/Content/Details/ContentDetails.js
4880
4877
  - webpack/scenes/Content/Details/ContentInfo.js
4881
4878
  - webpack/scenes/Content/Details/ContentRepositories.js
@@ -4892,6 +4889,10 @@ files:
4892
4889
  - webpack/scenes/Content/__tests__/contentTypes.fixtures.json
4893
4890
  - webpack/scenes/Content/__tests__/pythonPackages.fixtures.json
4894
4891
  - webpack/scenes/Content/index.js
4892
+ - webpack/scenes/ContentCredentials/ContentCredentialActions.js
4893
+ - webpack/scenes/ContentCredentials/ContentCredentialConstants.js
4894
+ - webpack/scenes/ContentCredentials/ContentCredentialSelectors.js
4895
+ - webpack/scenes/ContentCredentials/__tests__/contentCredentials.fixtures.js
4895
4896
  - webpack/scenes/ContentViews/ContentViewSelectors.js
4896
4897
  - webpack/scenes/ContentViews/ContentViewsActions.js
4897
4898
  - webpack/scenes/ContentViews/ContentViewsConstants.js
@@ -4905,6 +4906,7 @@ files:
4905
4906
  - webpack/scenes/ContentViews/Create/ContentViewCreateSelectors.js
4906
4907
  - webpack/scenes/ContentViews/Create/ContentViewFormComponents.js
4907
4908
  - webpack/scenes/ContentViews/Create/CreateContentViewForm.js
4909
+ - webpack/scenes/ContentViews/Create/CreateContentViewForm.scss
4908
4910
  - webpack/scenes/ContentViews/Create/CreateContentViewModal.js
4909
4911
  - webpack/scenes/ContentViews/Create/__tests__/contentViewCreateResult.fixtures.json
4910
4912
  - webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js
@@ -5079,6 +5081,7 @@ files:
5079
5081
  - webpack/scenes/ContentViews/components/IconWithCount.scss
5080
5082
  - webpack/scenes/ContentViews/components/InactiveText.js
5081
5083
  - webpack/scenes/ContentViews/components/TaskPresenter/TaskPresenter.js
5084
+ - webpack/scenes/ContentViews/components/WizardHeader.js
5082
5085
  - webpack/scenes/ContentViews/components/contentViewIcon.scss
5083
5086
  - webpack/scenes/ContentViews/expansions/DetailsExpansion.js
5084
5087
  - webpack/scenes/ContentViews/expansions/RelatedCompositeContentViewsModal.js
@@ -5230,8 +5233,6 @@ files:
5230
5233
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManageManifestModal.test.js
5231
5234
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManifestActions.test.js
5232
5235
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManifestHistoryReducer.test.js
5233
- - webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js
5234
- - webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap
5235
5236
  - webpack/scenes/Subscriptions/Manifest/__tests__/manifest.fixtures.js
5236
5237
  - webpack/scenes/Subscriptions/Manifest/index.js
5237
5238
  - webpack/scenes/Subscriptions/SubscriptionActions.js
@@ -5305,6 +5306,7 @@ files:
5305
5306
  - webpack/test-utils/react-testing-lib-wrapper.js
5306
5307
  - webpack/test_setup.js
5307
5308
  - webpack/utils/__tests__/useParamsWithHash.test.js
5309
+ - webpack/utils/dateTimeHelpers.js
5308
5310
  - webpack/utils/helpers.js
5309
5311
  - webpack/utils/paramsFromHash.js
5310
5312
  - webpack/utils/useDebounce.js
@@ -1,16 +0,0 @@
1
- module Katello
2
- class Api::V2::OstreeBranchesController < Api::V2::ApiController
3
- apipie_concern_subst(:a_resource => N_("an ostree branch"), :resource => "ostree_branches")
4
- include Katello::Concerns::Api::V2::RepositoryContentController
5
-
6
- def default_sort
7
- %w(version desc)
8
- end
9
-
10
- private
11
-
12
- def resource_class
13
- OstreeBranch
14
- end
15
- end
16
- end
@@ -1,91 +0,0 @@
1
- module Actions
2
- module Pulp
3
- module Repository
4
- module Presenters
5
- class OstreePresenter < AbstractSyncPresenter
6
- def progress
7
- return 0.01 unless task_progress_details
8
-
9
- completion = 0.0
10
- completion += 0.2 if content_completed?(details("import_create_repository"))
11
-
12
- if content_completed?(details("import_pull"))
13
- completion += 0.5
14
- end
15
- completion += 0.3 if content_completed?(details("import_add_unit"))
16
- completion
17
- end
18
-
19
- private
20
-
21
- def fetch_pull_ratio(content_details)
22
- # looks like "details": "fetching 24980/46836 53%",
23
- fetch_details_line = content_details["details"]
24
- ret = "0"
25
- if fetch_details_line[-1] == "%"
26
- ret = fetch_details_line.split[-2] # "24980/46836"
27
- end
28
- ret
29
- end
30
-
31
- def humanized_details
32
- ret = []
33
- ret << _("Cancelled") if cancelled?
34
-
35
- if pending?
36
- ret << case current_step["step_type"]
37
- when "import_create_repository"
38
- _("Creating local repository")
39
- when "import_pull"
40
- _("Pulling remote branches. Downloaded %s units." % fetch_pull_ratio(details("import_pull")))
41
- when "import_add_unit"
42
- _("Adding content units")
43
- end
44
- end
45
-
46
- if task_result
47
- ret << _("Branches updated")
48
- end
49
-
50
- ret << sync_error if sync_error
51
- ret.join("\n")
52
- end
53
-
54
- def details(step_type)
55
- task_progress_details.find do |step|
56
- step[:step_type] == step_type
57
- end
58
- end
59
-
60
- def content_completed?(content_details)
61
- content_details && content_details[:state] == 'FINISHED'
62
- end
63
-
64
- def task_progress
65
- sync_task['progress_report']
66
- end
67
-
68
- def task_progress_details
69
- task_progress && task_progress['ostree_web_importer']
70
- end
71
-
72
- def pending?
73
- sync_task["state"] == 'running'
74
- end
75
-
76
- def current_step
77
- task_progress_details.detect { |step| step["state"] == "IN_PROGRESS" }
78
- end
79
-
80
- def finished?
81
- sync_task["state"] == 'finished'
82
- end
83
-
84
- def sync_error
85
- task_result && task_result["error_message"]
86
- end
87
- end
88
- end
89
- end
90
- end
91
- end
@@ -1,12 +0,0 @@
1
- module Katello
2
- class OstreeBranch < Katello::Model
3
- include Concerns::PulpDatabaseUnit
4
-
5
- scoped_search :on => :name, :complete_value => true
6
- scoped_search :on => :version, :complete_value => true
7
- scoped_search :on => :commit, :complete_value => true
8
- scoped_search :on => :pulp_id, :complete_value => true, :rename => :uuid
9
-
10
- CONTENT_TYPE = "ostree".freeze
11
- end
12
- end
@@ -1,7 +0,0 @@
1
- module Katello
2
- class RepositoryOstreeBranch < Katello::Model
3
- # Do not use active record callbacks in this join model. Direct INSERTs and DELETEs are done
4
- belongs_to :repository, :inverse_of => :repository_ostree_branches, :class_name => 'Katello::Repository'
5
- belongs_to :ostree_branch, :inverse_of => :repository_ostree_branches, :class_name => 'Katello::OstreeBranch'
6
- end
7
- end
@@ -1,14 +0,0 @@
1
- module Katello
2
- module Pulp
3
- class OstreeBranch < PulpContentUnit
4
- CONTENT_TYPE = "ostree".freeze
5
-
6
- def update_model(model)
7
- model.update(:name => backend_data[:branch],
8
- :version => backend_data[:metadata][:version],
9
- :commit => backend_data[:commit]
10
- )
11
- end
12
- end
13
- end
14
- end
@@ -1,48 +0,0 @@
1
- module Katello
2
- module Pulp
3
- class Repository
4
- class Ostree < ::Katello::Pulp::Repository
5
- PULP_MIRROR_SYNC_DEPTH = -1
6
-
7
- def generate_primary_importer
8
- config = {
9
- feed: root.url,
10
- depth: root.compute_ostree_upstream_sync_depth
11
- }
12
- Runcible::Models::OstreeImporter.new(config.merge(primary_importer_connection_options))
13
- end
14
-
15
- def generate_mirror_importer
16
- config = {
17
- feed: external_url(true),
18
- depth: PULP_MIRROR_SYNC_DEPTH
19
- }
20
- Runcible::Models::OstreeImporter.new(config.merge(mirror_importer_connection_options))
21
- end
22
-
23
- def generate_distributors
24
- [Runcible::Models::OstreeDistributor.new(:id => repo.pulp_id,
25
- :auto_publish => true,
26
- :relative_path => repo.relative_path,
27
- :depth => root.compute_ostree_upstream_sync_depth)]
28
- end
29
-
30
- def distributors_to_publish(_options)
31
- {Runcible::Models::OstreeDistributor => {}}
32
- end
33
-
34
- def partial_repo_path
35
- "/pulp/ostree/web/#{repo.relative_path}".sub('//', '/')
36
- end
37
-
38
- def importer_class
39
- Runcible::Models::OstreeImporter
40
- end
41
-
42
- def copy_contents(destination_repo, _options = {})
43
- @smart_proxy.pulp_api.extensions.ostree_branch.copy(@repo.pulp_id, destination_repo.pulp_id, {})
44
- end
45
- end
46
- end
47
- end
48
- end
@@ -1,10 +0,0 @@
1
- object false
2
-
3
- extends "katello/api/v2/common/metadata"
4
-
5
- child @collection[:results] => :results do
6
- extends 'katello/api/v2/ostree_branches/show'
7
- node :comparison do |result|
8
- result.comparison
9
- end
10
- end
@@ -1,7 +0,0 @@
1
- object false
2
-
3
- extends "katello/api/v2/common/metadata"
4
-
5
- child @collection[:results] => :results do
6
- extends 'katello/api/v2/ostree_branches/show'
7
- end
@@ -1,5 +0,0 @@
1
- object @resource
2
-
3
- attributes :pulp_id, :id
4
- attributes :name, :version, :commit
5
- attributes :pulp_id => :uuid
@@ -1,3 +0,0 @@
1
- collection Katello::Util::Data.ostructize(@collection)
2
-
3
- attributes :href, :rel
@@ -1,26 +0,0 @@
1
- <div data-extend-template="layouts/partials/table.html">
2
- <div data-block="search-filter">
3
- <select class="form-control" ng-model="repositoryId" ng-options="repo.id as repo.name for repo in repositories"></select>
4
- </div>
5
-
6
- <table data-block="table" class="table table-striped table-bordered">
7
- <thead>
8
- <tr bst-table-head>
9
- <th bst-table-column translate>Name</th>
10
- <th bst-table-column translate>Version</th>
11
- <th bst-table-column translate>Commit</th>
12
- </tr>
13
- </thead>
14
-
15
- <tbody>
16
- <tr bst-table-row ng-repeat="branch in table.rows">
17
- <td bst-table-cell>
18
- <a ui-sref="ostree-branch.info({branchId: branch.id})">{{ branch.name }}</a>
19
- </td>
20
- <td bst-table-cell>{{ branch.version }}</td>
21
- <td bst-table-cell>{{ branch.commit }}</td>
22
- </tr>
23
- </tbody>
24
- </table>
25
-
26
- </div>
@@ -1,27 +0,0 @@
1
- <div data-extend-template="layouts/partials/table.html">
2
- <div data-block="search-filter">
3
- <select class="form-control" ng-model="contentView" ng-change="contentViewSelected(contentView)" ng-options="contentView.name for (id, contentView) in contentViews"></select>
4
- <select class="form-control" ng-model="repository" ng-change="repositorySelected(repository)" ng-options="repository.name for (id, repository) in repositories"></select>
5
- </div>
6
-
7
- <span data-block="no-rows-message" ng-bind="getNoRowsMessage()"></span>
8
- <span data-block="no-search-results-message" ng-bind="getZeroResultsMessage()"></span>
9
-
10
- <table data-block="table" class="table table-striped table-bordered">
11
- <thead>
12
- <tr bst-table-head>
13
- <th bst-table-column translate>Name</th>
14
- <th bst-table-column translate>Version</th>
15
- <th bst-table-column translate>Commit</th>
16
- </tr>
17
- </thead>
18
-
19
- <tbody>
20
- <tr bst-table-row ng-repeat="branch in table.rows">
21
- <td bst-table-cell>{{ branch.name }}</td>
22
- <td bst-table-cell>{{ branch.version }}</td>
23
- <td bst-table-cell>{{ branch.commit }}</td>
24
- </tr>
25
- </tbody>
26
- </table>
27
- </div>