katello 3.17.0.rc1 → 3.17.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.
- checksums.yaml +4 -4
- data/app/controllers/katello/api/registry/registry_proxies_controller.rb +5 -3
- data/app/controllers/katello/api/rhsm/candlepin_dynflow_proxy_controller.rb +1 -1
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +2 -2
- data/app/controllers/katello/api/v2/api_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_credentials_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_uploads_controller.rb +5 -5
- data/app/controllers/katello/api/v2/content_view_repositories_controller.rb +47 -0
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +50 -19
- data/app/controllers/katello/api/v2/gpg_keys_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_tracer_controller.rb +0 -5
- data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +15 -0
- data/app/controllers/katello/api/v2/repositories_controller.rb +24 -14
- data/app/controllers/katello/api/v2/subscriptions_controller.rb +1 -1
- data/app/controllers/katello/concerns/api/v2/{associations_permission_check.rb → authorization.rb} +20 -2
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +11 -5
- data/app/helpers/katello/content_view_helper.rb +1 -1
- data/app/lib/actions/candlepin/product/content_add.rb +1 -2
- data/app/lib/actions/katello/capsule_content/refresh_repos.rb +1 -1
- data/app/lib/actions/katello/capsule_content/sync.rb +2 -2
- data/app/lib/actions/katello/capsule_content/sync_capsule.rb +17 -3
- data/app/lib/actions/katello/content_view/capsule_sync.rb +1 -1
- data/app/lib/actions/katello/content_view/destroy.rb +2 -2
- data/app/lib/actions/katello/content_view/incremental_updates.rb +1 -1
- data/app/lib/actions/katello/content_view/promote_to_environment.rb +1 -0
- data/app/lib/actions/katello/content_view/publish.rb +12 -7
- data/app/lib/actions/katello/content_view_puppet_environment/clone.rb +1 -1
- data/app/lib/actions/katello/content_view_puppet_environment/create.rb +2 -2
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +4 -4
- data/app/lib/actions/katello/organization/manifest_delete.rb +1 -0
- data/app/lib/actions/katello/organization/manifest_import.rb +1 -0
- data/app/lib/actions/katello/organization/manifest_refresh.rb +1 -0
- data/app/lib/actions/katello/product/content_create.rb +3 -3
- data/app/lib/actions/katello/product/destroy.rb +25 -4
- data/app/lib/actions/katello/repository/clone_contents.rb +3 -3
- data/app/lib/actions/katello/repository/clone_to_environment.rb +2 -2
- data/app/lib/actions/katello/repository/clone_to_version.rb +1 -1
- data/app/lib/actions/katello/repository/create.rb +1 -1
- data/app/lib/actions/katello/repository/destroy.rb +10 -4
- data/app/lib/actions/katello/repository/export.rb +3 -3
- data/app/lib/actions/katello/repository/finish_upload.rb +2 -2
- data/app/lib/actions/katello/repository/import_upload.rb +3 -3
- data/app/lib/actions/katello/repository/metadata_generate.rb +1 -1
- data/app/lib/actions/katello/repository/multi_clone_contents.rb +6 -10
- data/app/lib/actions/katello/repository/purge_empty_content.rb +1 -1
- data/app/lib/actions/katello/repository/remove_content.rb +1 -1
- data/app/lib/actions/katello/repository/sync.rb +35 -25
- data/app/lib/actions/katello/repository/update.rb +30 -19
- data/app/lib/actions/katello/repository/update_http_proxy_details.rb +1 -1
- data/app/lib/actions/katello/repository/update_metadata_sync.rb +1 -1
- data/app/lib/actions/katello/repository/upload_files.rb +2 -2
- data/app/lib/actions/katello/repository/verify_checksum.rb +28 -0
- data/app/lib/actions/pulp/content_view_puppet_environment/copy_contents.rb +1 -1
- data/app/lib/actions/pulp/orchestration/orphan_cleanup/remove_orphans.rb +1 -1
- data/app/lib/actions/pulp/orchestration/repository/sync.rb +2 -1
- data/app/lib/actions/pulp/repository/copy_all_units.rb +1 -1
- data/app/lib/actions/pulp/repository/copy_units.rb +1 -1
- data/app/lib/actions/pulp/repository/create.rb +1 -1
- data/app/lib/actions/pulp/repository/destroy.rb +1 -1
- data/app/lib/actions/pulp/repository/remove_units.rb +2 -2
- data/app/lib/actions/pulp/repository/sync.rb +3 -2
- data/app/lib/actions/pulp3/capsule_content/sync.rb +3 -1
- data/app/lib/actions/pulp3/content_guard/refresh_all_distributions.rb +19 -0
- data/app/lib/actions/pulp3/content_migration.rb +3 -3
- data/app/lib/actions/pulp3/content_view_version/create_exporter.rb +20 -0
- data/app/lib/actions/pulp3/content_view_version/destroy_exporter.rb +16 -0
- data/app/lib/actions/pulp3/content_view_version/export.rb +19 -0
- data/app/lib/actions/pulp3/import_migration.rb +3 -3
- data/app/lib/actions/pulp3/orchestration/content_view_version/export.rb +69 -0
- data/app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb +1 -2
- data/app/lib/actions/pulp3/orchestration/repository/create.rb +1 -1
- data/app/lib/actions/pulp3/orchestration/repository/sync.rb +3 -1
- data/app/lib/actions/pulp3/orchestration/repository/trigger_update_repo_cert_guard.rb +22 -0
- data/app/lib/actions/pulp3/orchestration/repository/upload_content.rb +1 -1
- data/app/lib/actions/pulp3/repository/copy_content.rb +0 -1
- data/app/lib/actions/pulp3/repository/multi_copy_units.rb +2 -2
- data/app/lib/actions/pulp3/repository/presenters/repair_presenter.rb +85 -0
- data/app/lib/actions/pulp3/repository/refresh_distribution.rb +11 -5
- data/app/lib/actions/pulp3/repository/repair.rb +29 -0
- data/app/lib/actions/pulp3/repository/save_artifact.rb +1 -1
- data/app/lib/actions/pulp3/repository/save_distribution_references.rb +2 -2
- data/app/lib/actions/pulp3/repository/save_version.rb +20 -16
- data/app/lib/actions/pulp3/repository/save_versions.rb +1 -1
- data/app/lib/actions/pulp3/repository/sync.rb +1 -1
- data/app/lib/actions/pulp3/repository/update_cv_repository_cert_guard.rb +6 -2
- data/app/lib/actions/pulp3/repository/upload_file.rb +2 -2
- data/app/lib/katello/concerns/base_template_scope_extensions.rb +5 -3
- data/app/lib/katello/concerns/permission_extensions.rb +14 -0
- data/app/lib/katello/foreman.rb +1 -1
- data/app/lib/katello/resources/candlepin/product.rb +0 -11
- data/app/lib/katello/resources/registry.rb +3 -3
- data/app/models/katello/authorization/content_view_version_export_history.rb +11 -0
- data/app/models/katello/authorization/product.rb +4 -0
- data/app/models/katello/authorization/repository.rb +8 -0
- data/app/models/katello/concerns/content_facet_host_extensions.rb +2 -1
- data/app/models/katello/concerns/organization_extensions.rb +6 -1
- data/app/models/katello/concerns/pulp_database_unit.rb +2 -2
- data/app/models/katello/concerns/redhat_extensions.rb +4 -2
- data/app/models/katello/concerns/smart_proxy_extensions.rb +33 -16
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +1 -1
- data/app/models/katello/content_view.rb +1 -1
- data/app/models/katello/content_view_package_filter.rb +1 -1
- data/app/models/katello/content_view_puppet_environment.rb +1 -1
- data/app/models/katello/content_view_version.rb +3 -1
- data/app/models/katello/content_view_version_export_history.rb +22 -0
- data/app/models/katello/docker_meta_tag.rb +1 -1
- data/app/models/katello/errata_status.rb +21 -12
- data/app/models/katello/erratum.rb +1 -1
- data/app/models/katello/glue/candlepin/owner.rb +4 -2
- data/app/models/katello/glue/pulp/repo.rb +3 -1
- data/app/models/katello/host/content_facet.rb +8 -0
- data/app/models/katello/kt_environment.rb +1 -1
- data/app/models/katello/package_group.rb +1 -1
- data/app/models/katello/ping.rb +8 -3
- data/app/models/katello/pulp3/content_guard.rb +1 -1
- data/app/models/katello/purpose_status.rb +2 -2
- data/app/models/katello/repository.rb +23 -15
- data/app/models/katello/rhsm_fact_parser.rb +1 -1
- data/app/models/katello/root_repository.rb +2 -15
- data/app/models/katello/sync_plan.rb +8 -0
- data/app/models/setting/content.rb +3 -1
- data/app/services/cert/certs.rb +10 -2
- data/app/services/katello/candlepin/event_handler.rb +1 -0
- data/app/services/katello/host_status_manager.rb +7 -0
- data/app/services/katello/pulp/content.rb +1 -1
- data/app/services/katello/pulp/repository.rb +7 -7
- data/app/services/katello/pulp/repository/deb.rb +2 -2
- data/app/services/katello/pulp/repository/docker.rb +5 -5
- data/app/services/katello/pulp/repository/file.rb +2 -2
- data/app/services/katello/pulp/repository/ostree.rb +2 -2
- data/app/services/katello/pulp/repository/puppet.rb +2 -2
- data/app/services/katello/pulp/repository/yum.rb +5 -6
- data/app/services/katello/pulp/smart_proxy_repository.rb +1 -1
- data/app/services/katello/pulp3/ansible_collection.rb +2 -2
- data/app/services/katello/pulp3/api/core.rb +16 -0
- data/app/services/katello/pulp3/content.rb +3 -3
- data/app/services/katello/pulp3/content_view_version/export.rb +71 -0
- data/app/services/katello/pulp3/distribution.rb +2 -2
- data/app/services/katello/pulp3/docker_blob.rb +2 -2
- data/app/services/katello/pulp3/docker_manifest.rb +2 -2
- data/app/services/katello/pulp3/docker_manifest_list.rb +2 -2
- data/app/services/katello/pulp3/docker_tag.rb +2 -2
- data/app/services/katello/pulp3/erratum.rb +2 -2
- data/app/services/katello/pulp3/file_unit.rb +2 -2
- data/app/services/katello/pulp3/migration.rb +139 -34
- data/app/services/katello/pulp3/migration_plan.rb +50 -14
- data/app/services/katello/pulp3/migration_switchover.rb +41 -9
- data/app/services/katello/pulp3/module_stream.rb +2 -2
- data/app/services/katello/pulp3/package_group.rb +2 -2
- data/app/services/katello/pulp3/repository.rb +9 -9
- data/app/services/katello/pulp3/repository/docker.rb +18 -10
- data/app/services/katello/pulp3/repository/yum.rb +25 -13
- data/app/services/katello/pulp3/repository_mirror.rb +2 -1
- data/app/services/katello/pulp3/rpm.rb +2 -2
- data/app/services/katello/pulp3/smart_proxy_mirror_repository.rb +2 -2
- data/app/services/katello/pulp3/smart_proxy_repository.rb +1 -1
- data/app/services/katello/pulp3/srpm.rb +2 -2
- data/app/services/katello/pulp3/task_group.rb +1 -1
- data/app/services/katello/pulp3/yum_metadata_file.rb +2 -2
- data/app/services/katello/registration_manager.rb +9 -3
- data/app/services/katello/repository_type.rb +1 -1
- data/app/services/katello/smart_proxy_helper.rb +14 -17
- data/app/views/foreman/job_templates/install_errata_-_katello_ansible_default.erb +10 -2
- data/app/views/katello/api/v2/content_view_repositories/show_all.json.rabl +8 -0
- data/app/views/katello/api/v2/content_view_version_export_histories/index.json.rabl +7 -0
- data/app/views/katello/api/v2/content_view_version_export_histories/show.json.rabl +13 -0
- data/app/views/katello/api/v2/package_groups/show.json.rabl +1 -1
- data/app/views/katello/api/v2/packages/show.json.rabl +1 -1
- data/app/views/katello/api/v2/repositories/base.json.rabl +2 -1
- data/app/views/katello/api/v2/srpms/show.json.rabl +1 -1
- data/app/views/katello/api/v2/sync_plans/show.json.rabl +2 -1
- data/config/routes/api/rhsm.rb +1 -0
- data/config/routes/api/v2.rb +8 -1
- data/db/migrate/20200818040551_add_content_view_version_export_history.rb +13 -0
- data/db/migrate/20200818192230_update_system_purpose_status.rb +12 -0
- data/db/migrate/20200820145217_add_download_concurrency_to_katello_root_repositories.rb +5 -0
- data/db/migrate/20200910140340_remove_distribution_uuid.rb +5 -0
- data/db/migrate/20200914200906_remove_auto_enabled.rb +5 -0
- data/engines/bastion/app/assets/javascripts/bastion/bastion.js +1 -0
- data/engines/bastion/app/assets/javascripts/bastion/routing.module.js +1 -1
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-ui-router/stateEvents.js +300 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-subscriptions.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-associations.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-subscriptions.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-products.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/content-credential-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-errata-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-module-streams-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-repository-sets-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-subscriptions-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-traces-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts-helper.service.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-debs-installed.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-module-streams.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-applicable.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-installed.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-traces.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-host-collections.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-subscriptions.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details-info.controller.js +4 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-host-collections.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-subscriptions.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/content-view-composite-available-content-views.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/content-view-composite-content-views-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-docker-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-ostree-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-docker-repositories-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-ostree-repositories-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-versions.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/available-errata-filter.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/available-package-group-filter.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module-names.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module-versions.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-modules.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version-content.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment-content.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/erratum-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/details/file-content-views.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/details/file-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +57 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +45 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +42 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/it.po +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +45 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ru.po +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/fenced-pages.service.js +11 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organization-selector.controller.js +5 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/product-bulk-action.factory.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-sync-plan-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-manage-content.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +7 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +0 -9
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +0 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository.factory.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +16 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products.html +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-module-content-views.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-module-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-modules.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details-info.controller.js +4 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-info.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.controller.js +1 -1
- data/lib/katello/engine.rb +2 -0
- data/lib/katello/permission_creator.rb +14 -9
- data/lib/katello/tasks/clean_published_repo_directories.rake +3 -3
- data/lib/katello/tasks/pulp3_content_switchover.rake +24 -6
- data/lib/katello/tasks/pulp3_migration.rake +4 -2
- data/lib/katello/tasks/pulp3_post_migration_check.rake +2 -2
- data/lib/katello/tasks/reimport.rake +1 -1
- data/lib/katello/tasks/repository.rake +15 -2
- data/lib/katello/tasks/unify_hosts.rake +1 -0
- data/lib/katello/tasks/upgrades/3.11/update_puppet_repos.rake +3 -3
- data/lib/katello/tasks/upgrades/3.12/remove_pulp2_notifier.rake +2 -2
- data/lib/katello/tasks/upgrades/3.8/clear_checksum_type.rake +2 -2
- data/lib/katello/version.rb +1 -1
- data/locale/action_names.rb +47 -47
- data/locale/katello.pot +160 -160
- data/webpack/containers/Application/config.js +4 -4
- data/webpack/redux/actions/RedHatRepositories/helpers.js +1 -1
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +22 -32
- data/webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js +0 -14
- data/webpack/scenes/Subscriptions/Manifest/index.js +2 -5
- data/webpack/scenes/Subscriptions/SubscriptionReducer.js +15 -6
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +0 -1
- data/webpack/scenes/Subscriptions/SubscriptionsSelectors.js +3 -0
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsReducer.test.js +24 -0
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsReducer.test.js.snap +114 -26
- metadata +67 -33
- data/app/lib/actions/candlepin/product/content_update_enablement.rb +0 -18
- data/app/lib/actions/katello/repository/content_update.rb +0 -41
- data/app/lib/actions/katello/repository/update_cv_repo_cert_guard.rb +0 -17
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: 3.17.0.
|
4
|
+
version: 3.17.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: 2020-
|
11
|
+
date: 2020-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: scoped_search
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 4.1.9
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 4.1.9
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: gettext_i18n_rails
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,120 +260,120 @@ dependencies:
|
|
246
260
|
requirements:
|
247
261
|
- - ">="
|
248
262
|
- !ruby/object:Gem::Version
|
249
|
-
version: 3.
|
263
|
+
version: 3.6.0
|
250
264
|
- - "<"
|
251
265
|
- !ruby/object:Gem::Version
|
252
|
-
version: 3.
|
266
|
+
version: 3.7.0
|
253
267
|
type: :runtime
|
254
268
|
prerelease: false
|
255
269
|
version_requirements: !ruby/object:Gem::Requirement
|
256
270
|
requirements:
|
257
271
|
- - ">="
|
258
272
|
- !ruby/object:Gem::Version
|
259
|
-
version: 3.
|
273
|
+
version: 3.6.0
|
260
274
|
- - "<"
|
261
275
|
- !ruby/object:Gem::Version
|
262
|
-
version: 3.
|
276
|
+
version: 3.7.0
|
263
277
|
- !ruby/object:Gem::Dependency
|
264
278
|
name: pulp_file_client
|
265
279
|
requirement: !ruby/object:Gem::Requirement
|
266
280
|
requirements:
|
267
281
|
- - ">="
|
268
282
|
- !ruby/object:Gem::Version
|
269
|
-
version: 1.
|
283
|
+
version: 1.2.0
|
270
284
|
- - "<"
|
271
285
|
- !ruby/object:Gem::Version
|
272
|
-
version: 1.
|
286
|
+
version: 1.3.0
|
273
287
|
type: :runtime
|
274
288
|
prerelease: false
|
275
289
|
version_requirements: !ruby/object:Gem::Requirement
|
276
290
|
requirements:
|
277
291
|
- - ">="
|
278
292
|
- !ruby/object:Gem::Version
|
279
|
-
version: 1.
|
293
|
+
version: 1.2.0
|
280
294
|
- - "<"
|
281
295
|
- !ruby/object:Gem::Version
|
282
|
-
version: 1.
|
296
|
+
version: 1.3.0
|
283
297
|
- !ruby/object:Gem::Dependency
|
284
298
|
name: pulp_ansible_client
|
285
299
|
requirement: !ruby/object:Gem::Requirement
|
286
300
|
requirements:
|
287
|
-
- - "
|
301
|
+
- - ">="
|
288
302
|
- !ruby/object:Gem::Version
|
289
|
-
version: '0.
|
303
|
+
version: '0.2'
|
290
304
|
- - "<"
|
291
305
|
- !ruby/object:Gem::Version
|
292
|
-
version: 0.
|
306
|
+
version: '0.4'
|
293
307
|
type: :runtime
|
294
308
|
prerelease: false
|
295
309
|
version_requirements: !ruby/object:Gem::Requirement
|
296
310
|
requirements:
|
297
|
-
- - "
|
311
|
+
- - ">="
|
298
312
|
- !ruby/object:Gem::Version
|
299
|
-
version: '0.
|
313
|
+
version: '0.2'
|
300
314
|
- - "<"
|
301
315
|
- !ruby/object:Gem::Version
|
302
|
-
version: 0.
|
316
|
+
version: '0.4'
|
303
317
|
- !ruby/object:Gem::Dependency
|
304
318
|
name: pulp_container_client
|
305
319
|
requirement: !ruby/object:Gem::Requirement
|
306
320
|
requirements:
|
307
321
|
- - ">="
|
308
322
|
- !ruby/object:Gem::Version
|
309
|
-
version:
|
323
|
+
version: 2.0.0
|
310
324
|
- - "<"
|
311
325
|
- !ruby/object:Gem::Version
|
312
|
-
version: 1.
|
326
|
+
version: 2.1.0
|
313
327
|
type: :runtime
|
314
328
|
prerelease: false
|
315
329
|
version_requirements: !ruby/object:Gem::Requirement
|
316
330
|
requirements:
|
317
331
|
- - ">="
|
318
332
|
- !ruby/object:Gem::Version
|
319
|
-
version:
|
333
|
+
version: 2.0.0
|
320
334
|
- - "<"
|
321
335
|
- !ruby/object:Gem::Version
|
322
|
-
version: 1.
|
336
|
+
version: 2.1.0
|
323
337
|
- !ruby/object:Gem::Dependency
|
324
338
|
name: pulp_rpm_client
|
325
339
|
requirement: !ruby/object:Gem::Requirement
|
326
340
|
requirements:
|
327
341
|
- - ">="
|
328
342
|
- !ruby/object:Gem::Version
|
329
|
-
version: 3.
|
343
|
+
version: 3.6.2
|
330
344
|
- - "<"
|
331
345
|
- !ruby/object:Gem::Version
|
332
|
-
version: 3.
|
346
|
+
version: 3.7.0
|
333
347
|
type: :runtime
|
334
348
|
prerelease: false
|
335
349
|
version_requirements: !ruby/object:Gem::Requirement
|
336
350
|
requirements:
|
337
351
|
- - ">="
|
338
352
|
- !ruby/object:Gem::Version
|
339
|
-
version: 3.
|
353
|
+
version: 3.6.2
|
340
354
|
- - "<"
|
341
355
|
- !ruby/object:Gem::Version
|
342
|
-
version: 3.
|
356
|
+
version: 3.7.0
|
343
357
|
- !ruby/object:Gem::Dependency
|
344
358
|
name: pulp_2to3_migration_client
|
345
359
|
requirement: !ruby/object:Gem::Requirement
|
346
360
|
requirements:
|
347
361
|
- - ">="
|
348
362
|
- !ruby/object:Gem::Version
|
349
|
-
version: 0.
|
363
|
+
version: 0.3.0
|
350
364
|
- - "<"
|
351
365
|
- !ruby/object:Gem::Version
|
352
|
-
version: 0.
|
366
|
+
version: 0.4.0
|
353
367
|
type: :runtime
|
354
368
|
prerelease: false
|
355
369
|
version_requirements: !ruby/object:Gem::Requirement
|
356
370
|
requirements:
|
357
371
|
- - ">="
|
358
372
|
- !ruby/object:Gem::Version
|
359
|
-
version: 0.
|
373
|
+
version: 0.3.0
|
360
374
|
- - "<"
|
361
375
|
- !ruby/object:Gem::Version
|
362
|
-
version: 0.
|
376
|
+
version: 0.4.0
|
363
377
|
- !ruby/object:Gem::Dependency
|
364
378
|
name: pulp_certguard_client
|
365
379
|
requirement: !ruby/object:Gem::Requirement
|
@@ -686,6 +700,7 @@ files:
|
|
686
700
|
- app/controllers/katello/api/v2/content_view_filters_controller.rb
|
687
701
|
- app/controllers/katello/api/v2/content_view_histories_controller.rb
|
688
702
|
- app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb
|
703
|
+
- app/controllers/katello/api/v2/content_view_repositories_controller.rb
|
689
704
|
- app/controllers/katello/api/v2/content_view_versions_controller.rb
|
690
705
|
- app/controllers/katello/api/v2/content_views_controller.rb
|
691
706
|
- app/controllers/katello/api/v2/debs_controller.rb
|
@@ -727,7 +742,7 @@ files:
|
|
727
742
|
- app/controllers/katello/application_controller.rb
|
728
743
|
- app/controllers/katello/auto_complete_search_controller.rb
|
729
744
|
- app/controllers/katello/concerns/api/api_controller.rb
|
730
|
-
- app/controllers/katello/concerns/api/v2/
|
745
|
+
- app/controllers/katello/concerns/api/v2/authorization.rb
|
731
746
|
- app/controllers/katello/concerns/api/v2/bulk_hosts_extensions.rb
|
732
747
|
- app/controllers/katello/concerns/api/v2/content_overrides_controller.rb
|
733
748
|
- app/controllers/katello/concerns/api/v2/hostgroups_controller_extensions.rb
|
@@ -790,7 +805,6 @@ files:
|
|
790
805
|
- app/lib/actions/candlepin/product/content_destroy.rb
|
791
806
|
- app/lib/actions/candlepin/product/content_remove.rb
|
792
807
|
- app/lib/actions/candlepin/product/content_update.rb
|
793
|
-
- app/lib/actions/candlepin/product/content_update_enablement.rb
|
794
808
|
- app/lib/actions/candlepin/product/create.rb
|
795
809
|
- app/lib/actions/candlepin/product/create_unlimited_subscription.rb
|
796
810
|
- app/lib/actions/candlepin/product/delete_pools.rb
|
@@ -896,7 +910,6 @@ files:
|
|
896
910
|
- app/lib/actions/katello/repository/clone_contents.rb
|
897
911
|
- app/lib/actions/katello/repository/clone_to_environment.rb
|
898
912
|
- app/lib/actions/katello/repository/clone_to_version.rb
|
899
|
-
- app/lib/actions/katello/repository/content_update.rb
|
900
913
|
- app/lib/actions/katello/repository/correct_checksum.rb
|
901
914
|
- app/lib/actions/katello/repository/create.rb
|
902
915
|
- app/lib/actions/katello/repository/create_root.rb
|
@@ -925,13 +938,13 @@ files:
|
|
925
938
|
- app/lib/actions/katello/repository/sync_hook.rb
|
926
939
|
- app/lib/actions/katello/repository/update.rb
|
927
940
|
- app/lib/actions/katello/repository/update_content_urls.rb
|
928
|
-
- app/lib/actions/katello/repository/update_cv_repo_cert_guard.rb
|
929
941
|
- app/lib/actions/katello/repository/update_http_proxy_details.rb
|
930
942
|
- app/lib/actions/katello/repository/update_metadata_sync.rb
|
931
943
|
- app/lib/actions/katello/repository/update_redhat_repository.rb
|
932
944
|
- app/lib/actions/katello/repository/upload_errata.rb
|
933
945
|
- app/lib/actions/katello/repository/upload_files.rb
|
934
946
|
- app/lib/actions/katello/repository/upload_package_group.rb
|
947
|
+
- app/lib/actions/katello/repository/verify_checksum.rb
|
935
948
|
- app/lib/actions/katello/repository_set/disable_repository.rb
|
936
949
|
- app/lib/actions/katello/repository_set/enable_repository.rb
|
937
950
|
- app/lib/actions/katello/repository_set/scan_cdn.rb
|
@@ -1020,9 +1033,14 @@ files:
|
|
1020
1033
|
- app/lib/actions/pulp3/capsule_content/refresh_distribution.rb
|
1021
1034
|
- app/lib/actions/pulp3/capsule_content/sync.rb
|
1022
1035
|
- app/lib/actions/pulp3/content_guard/refresh.rb
|
1036
|
+
- app/lib/actions/pulp3/content_guard/refresh_all_distributions.rb
|
1023
1037
|
- app/lib/actions/pulp3/content_migration.rb
|
1024
1038
|
- app/lib/actions/pulp3/content_view/delete_repository_references.rb
|
1039
|
+
- app/lib/actions/pulp3/content_view_version/create_exporter.rb
|
1040
|
+
- app/lib/actions/pulp3/content_view_version/destroy_exporter.rb
|
1041
|
+
- app/lib/actions/pulp3/content_view_version/export.rb
|
1025
1042
|
- app/lib/actions/pulp3/import_migration.rb
|
1043
|
+
- app/lib/actions/pulp3/orchestration/content_view_version/export.rb
|
1026
1044
|
- app/lib/actions/pulp3/orchestration/orphan_cleanup/remove_orphans.rb
|
1027
1045
|
- app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb
|
1028
1046
|
- app/lib/actions/pulp3/orchestration/repository/create.rb
|
@@ -1034,6 +1052,7 @@ files:
|
|
1034
1052
|
- app/lib/actions/pulp3/orchestration/repository/refresh_repos.rb
|
1035
1053
|
- app/lib/actions/pulp3/orchestration/repository/remove_units.rb
|
1036
1054
|
- app/lib/actions/pulp3/orchestration/repository/sync.rb
|
1055
|
+
- app/lib/actions/pulp3/orchestration/repository/trigger_update_repo_cert_guard.rb
|
1037
1056
|
- app/lib/actions/pulp3/orchestration/repository/update.rb
|
1038
1057
|
- app/lib/actions/pulp3/orchestration/repository/upload_content.rb
|
1039
1058
|
- app/lib/actions/pulp3/orphan_cleanup/delete_orphan_distributions.rb
|
@@ -1057,8 +1076,10 @@ files:
|
|
1057
1076
|
- app/lib/actions/pulp3/repository/multi_copy_units.rb
|
1058
1077
|
- app/lib/actions/pulp3/repository/presenters/abstract_sync_presenter.rb
|
1059
1078
|
- app/lib/actions/pulp3/repository/presenters/content_unit_presenter.rb
|
1079
|
+
- app/lib/actions/pulp3/repository/presenters/repair_presenter.rb
|
1060
1080
|
- app/lib/actions/pulp3/repository/refresh_distribution.rb
|
1061
1081
|
- app/lib/actions/pulp3/repository/remove_units.rb
|
1082
|
+
- app/lib/actions/pulp3/repository/repair.rb
|
1062
1083
|
- app/lib/actions/pulp3/repository/save_artifact.rb
|
1063
1084
|
- app/lib/actions/pulp3/repository/save_distribution_references.rb
|
1064
1085
|
- app/lib/actions/pulp3/repository/save_publication.rb
|
@@ -1078,6 +1099,7 @@ files:
|
|
1078
1099
|
- app/lib/katello/api/version2.rb
|
1079
1100
|
- app/lib/katello/concerns/base_template_scope_extensions.rb
|
1080
1101
|
- app/lib/katello/concerns/filter_sensitive_data.rb
|
1102
|
+
- app/lib/katello/concerns/permission_extensions.rb
|
1081
1103
|
- app/lib/katello/concerns/renderer_extensions.rb
|
1082
1104
|
- app/lib/katello/errors.rb
|
1083
1105
|
- app/lib/katello/foreman.rb
|
@@ -1166,6 +1188,7 @@ files:
|
|
1166
1188
|
- app/models/katello/authorization/content_view_environment.rb
|
1167
1189
|
- app/models/katello/authorization/content_view_history.rb
|
1168
1190
|
- app/models/katello/authorization/content_view_version.rb
|
1191
|
+
- app/models/katello/authorization/content_view_version_export_history.rb
|
1169
1192
|
- app/models/katello/authorization/gpg_key.rb
|
1170
1193
|
- app/models/katello/authorization/host_collection.rb
|
1171
1194
|
- app/models/katello/authorization/host_tracer.rb
|
@@ -1226,6 +1249,7 @@ files:
|
|
1226
1249
|
- app/models/katello/content_view_repository.rb
|
1227
1250
|
- app/models/katello/content_view_version.rb
|
1228
1251
|
- app/models/katello/content_view_version_component.rb
|
1252
|
+
- app/models/katello/content_view_version_export_history.rb
|
1229
1253
|
- app/models/katello/cp_consumer_user.rb
|
1230
1254
|
- app/models/katello/deb.rb
|
1231
1255
|
- app/models/katello/distribution.rb
|
@@ -1421,6 +1445,7 @@ files:
|
|
1421
1445
|
- app/services/katello/pulp3/api/file.rb
|
1422
1446
|
- app/services/katello/pulp3/api/yum.rb
|
1423
1447
|
- app/services/katello/pulp3/content.rb
|
1448
|
+
- app/services/katello/pulp3/content_view_version/export.rb
|
1424
1449
|
- app/services/katello/pulp3/distribution.rb
|
1425
1450
|
- app/services/katello/pulp3/docker_blob.rb
|
1426
1451
|
- app/services/katello/pulp3/docker_manifest.rb
|
@@ -1537,6 +1562,9 @@ files:
|
|
1537
1562
|
- app/views/katello/api/v2/content_view_puppet_modules/create.json.rabl
|
1538
1563
|
- app/views/katello/api/v2/content_view_puppet_modules/index.json.rabl
|
1539
1564
|
- app/views/katello/api/v2/content_view_puppet_modules/show.json.rabl
|
1565
|
+
- app/views/katello/api/v2/content_view_repositories/show_all.json.rabl
|
1566
|
+
- app/views/katello/api/v2/content_view_version_export_histories/index.json.rabl
|
1567
|
+
- app/views/katello/api/v2/content_view_version_export_histories/show.json.rabl
|
1540
1568
|
- app/views/katello/api/v2/content_view_versions/base.json.rabl
|
1541
1569
|
- app/views/katello/api/v2/content_view_versions/index.json.rabl
|
1542
1570
|
- app/views/katello/api/v2/content_view_versions/show.json.rabl
|
@@ -2038,6 +2066,11 @@ files:
|
|
2038
2066
|
- db/migrate/20200701150946_add_auto_enabled_to_root_repository.rb
|
2039
2067
|
- db/migrate/20200709021250_add_original_modules_to_content_view_module_stream_filter.rb
|
2040
2068
|
- db/migrate/20200721142707_remove_duplicate_katello_pools_index.rb
|
2069
|
+
- db/migrate/20200818040551_add_content_view_version_export_history.rb
|
2070
|
+
- db/migrate/20200818192230_update_system_purpose_status.rb
|
2071
|
+
- db/migrate/20200820145217_add_download_concurrency_to_katello_root_repositories.rb
|
2072
|
+
- db/migrate/20200910140340_remove_distribution_uuid.rb
|
2073
|
+
- db/migrate/20200914200906_remove_auto_enabled.rb
|
2041
2074
|
- db/seeds.d/101-locations.rb
|
2042
2075
|
- db/seeds.d/102-organizations.rb
|
2043
2076
|
- db/seeds.d/104-proxy.rb
|
@@ -3794,6 +3827,7 @@ files:
|
|
3794
3827
|
- engines/bastion/vendor/assets/javascripts/bastion/angular-ui-bootstrap/datepicker.js
|
3795
3828
|
- engines/bastion/vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js
|
3796
3829
|
- engines/bastion/vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js
|
3830
|
+
- engines/bastion/vendor/assets/javascripts/bastion/angular-ui-router/stateEvents.js
|
3797
3831
|
- engines/bastion/vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js
|
3798
3832
|
- engines/bastion/vendor/assets/javascripts/bastion/angular/angular.js
|
3799
3833
|
- engines/bastion/vendor/assets/javascripts/bastion/json3/json3.js
|
@@ -4959,7 +4993,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
4959
4993
|
- !ruby/object:Gem::Version
|
4960
4994
|
version: 1.3.1
|
4961
4995
|
requirements: []
|
4962
|
-
rubygems_version: 3.0.
|
4996
|
+
rubygems_version: 3.0.8
|
4963
4997
|
signing_key:
|
4964
4998
|
specification_version: 4
|
4965
4999
|
summary: Content and Subscription Management plugin for Foreman
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Candlepin
|
3
|
-
module Product
|
4
|
-
class ContentUpdateEnablement < Candlepin::Abstract
|
5
|
-
input_format do
|
6
|
-
param :content_enablements
|
7
|
-
param :owner
|
8
|
-
param :product_id
|
9
|
-
end
|
10
|
-
|
11
|
-
def run
|
12
|
-
output[:response] = ::Katello::Resources::Candlepin::Product.
|
13
|
-
update_enabled(input[:owner], input[:product_id], input[:content_enablements])
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,41 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Katello
|
3
|
-
module Repository
|
4
|
-
class ContentUpdate < Actions::Base
|
5
|
-
def plan(repository, update_auto_enabled: false)
|
6
|
-
root = repository.root
|
7
|
-
content = root.content
|
8
|
-
plan_action(::Actions::Candlepin::Product::ContentUpdate,
|
9
|
-
:owner => repository.organization.label,
|
10
|
-
:content_id => root.content_id,
|
11
|
-
:name => root.name,
|
12
|
-
:content_url => root.custom_content_path,
|
13
|
-
:gpg_key_url => repository.yum_gpg_key_url,
|
14
|
-
:label => content.label,
|
15
|
-
:type => root.content_type,
|
16
|
-
:arches => root.format_arches)
|
17
|
-
|
18
|
-
if update_auto_enabled
|
19
|
-
plan_action(::Actions::Candlepin::Product::ContentUpdateEnablement,
|
20
|
-
:owner => repository.organization.label,
|
21
|
-
:product_id => root.product.cp_id,
|
22
|
-
:content_enablements => root.content_enablements)
|
23
|
-
plan_self(:repository_id => repository.id)
|
24
|
-
end
|
25
|
-
|
26
|
-
content.update!(name: root.name,
|
27
|
-
content_url: root.custom_content_path,
|
28
|
-
content_type: repository.content_type,
|
29
|
-
label: content.label,
|
30
|
-
gpg_url: repository.yum_gpg_key_url)
|
31
|
-
end
|
32
|
-
|
33
|
-
def run
|
34
|
-
repository = ::Katello::Repository.find(input[:repository_id])
|
35
|
-
::Katello::ProductContent.where(:product => repository.product, :content => repository.content)
|
36
|
-
.update(:enabled => repository.root.auto_enabled?)
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Katello
|
3
|
-
module Repository
|
4
|
-
class UpdateCVRepoCertGuard < Actions::Base
|
5
|
-
include Actions::Katello::PulpSelector
|
6
|
-
|
7
|
-
def plan(repository, smart_proxy)
|
8
|
-
plan_optional_pulp_action([::Actions::Pulp3::Repository::UpdateCVRepositoryCertGuard], repository, smart_proxy)
|
9
|
-
end
|
10
|
-
|
11
|
-
def humanized_name
|
12
|
-
_("Updating repository authentication configuration")
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|