katello 3.5.2 → 3.6.0.rc1
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/assets/javascripts/katello/sync_management/sync_management.js +5 -2
- data/app/controllers/katello/api/rhsm/candlepin_dynflow_proxy_controller.rb +2 -0
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +35 -16
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +2 -2
- data/app/controllers/katello/api/v2/content_uploads_controller.rb +2 -2
- data/app/controllers/katello/api/v2/content_view_components_controller.rb +1 -0
- data/app/controllers/katello/api/v2/content_view_filters_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_histories_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_views_controller.rb +3 -3
- data/app/controllers/katello/api/v2/debs_controller.rb +19 -0
- data/app/controllers/katello/api/v2/docker_manifest_lists_controller.rb +20 -0
- data/app/controllers/katello/api/v2/environments_controller.rb +1 -1
- data/app/controllers/katello/api/v2/errata_controller.rb +24 -0
- data/app/controllers/katello/api/v2/file_units_controller.rb +4 -1
- data/app/controllers/katello/api/v2/gpg_keys_controller.rb +10 -4
- data/app/controllers/katello/api/v2/host_autocomplete_controller.rb +0 -1
- data/app/controllers/katello/api/v2/host_collections_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +13 -5
- data/app/controllers/katello/api/v2/organizations_controller.rb +2 -1
- data/app/controllers/katello/api/v2/package_groups_controller.rb +3 -2
- data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/products_controller.rb +3 -3
- data/app/controllers/katello/api/v2/repositories_controller.rb +28 -12
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +21 -13
- data/app/controllers/katello/api/v2/root_controller.rb +0 -1
- data/app/controllers/katello/api/v2/subscriptions_controller.rb +1 -19
- data/app/controllers/katello/api/v2/sync_plans_controller.rb +1 -1
- data/app/controllers/katello/application_controller.rb +0 -18
- data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +12 -13
- data/app/controllers/katello/concerns/api/v2/repository_content_controller.rb +17 -13
- data/app/controllers/katello/concerns/containers/steps_controller_extensions.rb +39 -37
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +14 -14
- data/app/controllers/katello/concerns/organizations_controller_extensions.rb +34 -33
- data/app/controllers/katello/concerns/smart_proxies_controller_extensions.rb +18 -17
- data/app/controllers/katello/products_controller.rb +1 -1
- data/app/controllers/katello/providers_controller.rb +11 -0
- data/app/controllers/katello/react_controller.rb +9 -0
- data/app/controllers/katello/sync_management_controller.rb +1 -1
- data/app/helpers/katello/concerns/hosts_and_hostgroups_helper_extensions.rb +10 -9
- data/app/helpers/katello/concerns/settings_helper_extensions.rb +42 -33
- data/app/helpers/katello/concerns/smart_proxy_helper_extensions.rb +1 -1
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +1 -3
- data/app/helpers/katello/providers_helper.rb +2 -5
- data/app/lib/actions/candlepin/listen_on_candlepin_events.rb +5 -15
- data/app/lib/actions/katello/capsule_content/sync.rb +8 -0
- data/app/lib/actions/katello/content_view/incremental_updates.rb +1 -1
- data/app/lib/actions/katello/content_view_puppet_environment/clone.rb +2 -2
- data/app/lib/actions/katello/content_view_version/republish_repositories.rb +2 -5
- data/app/lib/actions/katello/event_queue/monitor.rb +10 -11
- data/app/lib/actions/katello/event_queue/suspended_action.rb +1 -1
- data/app/lib/actions/katello/host/register.rb +1 -1
- data/app/lib/actions/katello/host/update.rb +1 -3
- data/app/lib/actions/katello/organization/manifest_refresh.rb +1 -5
- data/app/lib/actions/katello/product/content_create.rb +11 -1
- data/app/lib/actions/katello/product/content_destroy.rb +8 -0
- data/app/lib/actions/katello/product/destroy.rb +2 -2
- data/app/lib/actions/katello/product/update.rb +0 -3
- data/app/lib/actions/katello/repository/bulk_metadata_generate.rb +15 -0
- data/app/lib/actions/katello/repository/check_matching_content.rb +10 -3
- data/app/lib/actions/katello/repository/clear.rb +4 -1
- data/app/lib/actions/katello/repository/clone_deb_content.rb +70 -0
- data/app/lib/actions/katello/repository/clone_to_environment.rb +4 -1
- data/app/lib/actions/katello/repository/clone_to_version.rb +19 -10
- data/app/lib/actions/katello/repository/clone_yum_content.rb +2 -0
- data/app/lib/actions/katello/repository/clone_yum_metadata.rb +1 -2
- data/app/lib/actions/katello/repository/create.rb +6 -2
- data/app/lib/actions/katello/repository/destroy.rb +1 -1
- data/app/lib/actions/katello/repository/export.rb +15 -0
- data/app/lib/actions/katello/repository/fetch_pxe_files.rb +49 -0
- data/app/lib/actions/katello/repository/filtered_index_content.rb +2 -0
- data/app/lib/actions/katello/repository/metadata_generate.rb +5 -1
- data/app/lib/actions/katello/repository/remove_content.rb +2 -0
- data/app/lib/actions/katello/repository/sync.rb +5 -6
- data/app/lib/actions/katello/repository/update.rb +14 -4
- data/app/lib/actions/katello/repository/upload_package_group.rb +0 -1
- data/app/lib/actions/katello/repository_set/disable_repository.rb +7 -7
- data/app/lib/actions/katello/repository_set/enable_repository.rb +17 -7
- data/app/lib/actions/katello/repository_set/scan_cdn.rb +8 -10
- data/app/lib/actions/pulp/consumer/abstract_content_action.rb +1 -1
- data/app/lib/actions/pulp/repository/copy_deb.rb +15 -0
- data/app/lib/actions/pulp/repository/copy_deb_component.rb +11 -0
- data/app/lib/actions/pulp/repository/copy_deb_release.rb +11 -0
- data/app/lib/actions/pulp/repository/copy_srpm.rb +16 -0
- data/app/lib/actions/pulp/repository/create.rb +38 -3
- data/app/lib/actions/pulp/repository/presenters/deb_presenter.rb +101 -0
- data/app/lib/actions/pulp/repository/remove_deb.rb +15 -0
- data/app/lib/actions/pulp/repository/remove_docker_blob.rb +11 -0
- data/app/lib/actions/pulp/repository/remove_docker_manifest_list.rb +11 -0
- data/app/lib/actions/pulp/repository/remove_docker_tag.rb +11 -0
- data/app/lib/actions/pulp/repository/sync.rb +2 -0
- data/app/lib/katello/api/v2/error_handling.rb +1 -1
- data/app/lib/katello/capsule_content.rb +1 -1
- data/app/lib/katello/concerns/renderer_extensions.rb +12 -10
- data/app/lib/katello/errors.rb +0 -4
- data/app/lib/katello/resources/candlepin.rb +2 -3
- data/app/lib/katello/util/cdn_var_substitutor.rb +2 -2
- data/app/lib/katello/util/docker_manifest_clause_generator.rb +1 -1
- data/app/lib/katello/util/package_clause_generator.rb +1 -1
- data/app/lib/katello/util/support.rb +1 -1
- data/app/models/katello/activation_key.rb +1 -1
- data/app/models/katello/authorization/content_view_history.rb +1 -0
- data/app/models/katello/authorization/content_view_version.rb +1 -1
- data/app/models/katello/authorization/pool.rb +2 -0
- data/app/models/katello/authorization/repository.rb +2 -0
- data/app/models/katello/candlepin/docker_repository_mapper.rb +77 -0
- data/app/models/katello/candlepin/repository_mapper.rb +143 -0
- data/app/models/katello/concerns/container_extensions.rb +14 -12
- data/app/models/katello/concerns/content_facet_host_extensions.rb +2 -2
- data/app/models/katello/concerns/docker_container_wizard_state_extensions.rb +6 -4
- data/app/models/katello/concerns/docker_container_wizard_state_image_extensions.rb +8 -6
- data/app/models/katello/concerns/host_managed_extensions.rb +2 -13
- data/app/models/katello/concerns/location_extensions.rb +5 -1
- data/app/models/katello/concerns/organization_extensions.rb +22 -1
- data/app/models/katello/concerns/pulp_database_unit.rb +26 -5
- data/app/models/katello/concerns/redhat_extensions.rb +22 -21
- data/app/models/katello/concerns/smart_proxy_extensions.rb +11 -9
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +8 -7
- data/app/models/katello/content.rb +26 -0
- data/app/models/katello/content_view.rb +18 -5
- data/app/models/katello/content_view_component.rb +1 -1
- data/app/models/katello/content_view_docker_filter.rb +15 -6
- data/app/models/katello/content_view_filter.rb +8 -2
- data/app/models/katello/content_view_puppet_environment.rb +12 -0
- data/app/models/katello/content_view_repository.rb +2 -1
- data/app/models/katello/content_view_version.rb +57 -15
- data/app/models/katello/deb.rb +50 -0
- data/app/models/katello/docker_manifest.rb +14 -8
- data/app/models/katello/docker_manifest_list.rb +39 -0
- data/app/models/katello/docker_manifest_list_manifest.rb +6 -0
- data/app/models/katello/docker_meta_tag.rb +3 -3
- data/app/models/katello/docker_tag.rb +30 -10
- data/app/models/katello/errata_status.rb +1 -1
- data/app/models/katello/erratum.rb +3 -4
- data/app/models/katello/file_unit.rb +2 -2
- data/app/models/katello/glue/candlepin/activation_key.rb +1 -1
- data/app/models/katello/glue/candlepin/content.rb +9 -34
- data/app/models/katello/glue/candlepin/owner.rb +0 -32
- data/app/models/katello/glue/candlepin/pool.rb +2 -3
- data/app/models/katello/glue/candlepin/product.rb +34 -52
- data/app/models/katello/glue/candlepin/repository.rb +31 -0
- data/app/models/katello/glue/provider.rb +16 -19
- data/app/models/katello/glue/pulp/repo.rb +89 -16
- data/app/models/katello/host/content_facet.rb +6 -6
- data/app/models/katello/host/info_provider.rb +2 -2
- data/app/models/katello/host/subscription_facet.rb +4 -4
- data/app/models/katello/kt_environment.rb +6 -2
- data/app/models/katello/package_group.rb +1 -1
- data/app/models/katello/pool.rb +13 -12
- data/app/models/katello/product.rb +12 -6
- data/app/models/katello/product_content.rb +36 -0
- data/app/models/katello/provider.rb +1 -1
- data/app/models/katello/puppet_module.rb +5 -5
- data/app/models/katello/repository.rb +103 -11
- data/app/models/katello/repository_deb.rb +7 -0
- data/app/models/katello/repository_docker_manifest_list.rb +7 -0
- data/app/models/katello/repository_srpm.rb +7 -0
- data/app/models/katello/rhsm_fact_importer.rb +2 -2
- data/app/models/katello/rhsm_fact_parser.rb +1 -1
- data/app/models/katello/rpm.rb +5 -5
- data/app/models/katello/srpm.rb +40 -0
- data/app/models/katello/subscription.rb +3 -2
- data/app/models/katello/sync_plan.rb +8 -5
- data/app/models/setting/content.rb +5 -3
- data/app/services/katello/product_content_finder.rb +1 -1
- data/app/services/katello/pulp/deb.rb +46 -0
- data/app/services/katello/pulp/docker_manifest_list.rb +7 -0
- data/app/services/katello/pulp/server.rb +4 -12
- data/app/services/katello/pulp/srpm.rb +17 -0
- data/app/views/foreman/unattended/finish-katello.erb +4 -4
- data/app/views/foreman/unattended/kickstart-katello-atomic.erb +3 -3
- data/app/views/foreman/unattended/kickstart-katello.erb +5 -9
- data/app/views/foreman/unattended/snippets/_subscription_manager_registration.erb +3 -3
- data/app/views/foreman/unattended/userdata-katello.erb +8 -8
- data/app/views/katello/api/v2/activation_keys/product_content.json.rabl +1 -2
- data/app/views/katello/api/v2/content_facet/base.json.rabl +6 -1
- data/app/views/katello/api/v2/content_view_versions/base.json.rabl +3 -0
- data/app/views/katello/api/v2/content_views/show.json.rabl +12 -0
- data/app/views/katello/api/v2/debs/base.json.rabl +10 -0
- data/app/views/katello/api/v2/debs/index.json.rabl +7 -0
- data/app/views/katello/api/v2/debs/show.json.rabl +3 -0
- data/app/views/katello/api/v2/docker_manifest_lists/index.json.rabl +7 -0
- data/app/views/katello/api/v2/docker_manifest_lists/show.json.rabl +12 -0
- data/app/views/katello/api/v2/docker_manifests/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/docker_manifests/show.json.rabl +5 -1
- data/app/views/katello/api/v2/docker_tags/_base.json.rabl +4 -4
- data/app/views/katello/api/v2/docker_tags/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/docker_tags/show.json.rabl +1 -1
- data/app/views/katello/api/v2/errata/_counts.json.rabl +1 -0
- data/app/views/katello/api/v2/errata/available_errata.rabl +7 -0
- data/app/views/katello/api/v2/file_units/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/host_subscriptions/product_content.json.rabl +1 -2
- data/app/views/katello/api/v2/hostgroups_extensions/show.json.rabl +2 -1
- data/app/views/katello/api/v2/hosts_bulk_actions/applicable_errata.json.rabl +7 -0
- data/app/views/katello/api/v2/layouts/resource.json.erb +1 -1
- data/app/views/katello/api/v2/ostree_branches/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/package_groups/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/packages/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/products/_product_content.json.rabl +9 -0
- data/app/views/katello/api/v2/products/base.json.rabl +3 -1
- data/app/views/katello/api/v2/products/show.json.rabl +6 -2
- data/app/views/katello/api/v2/puppet_modules/compare.json.rabl +10 -0
- data/app/views/katello/api/v2/repositories/base.json.rabl +5 -1
- data/app/views/katello/api/v2/repositories/show.json.rabl +2 -0
- data/app/views/katello/api/v2/repository_sets/show.json.rabl +15 -3
- data/app/views/katello/layouts/react.html.erb +15 -0
- data/app/views/katello/providers/redhat/_repo_sets.html.erb +5 -5
- data/app/views/katello/sync_management/index.html.erb +4 -0
- data/app/views/smart_proxies/pulp_status.html.erb +6 -6
- data/config/katello.yaml.example +0 -4
- data/config/routes.rb +3 -0
- data/config/routes/api/v2.rb +30 -3
- data/config/routes/overrides.rb +1 -0
- data/db/migrate/20131014135042_katello_tables.rb +1 -1
- data/db/migrate/20131014225132_add_users_fields.rb +1 -1
- data/db/migrate/20131016124255_add_foreign_keys_engine.rb +1 -1
- data/db/migrate/20131120225132_add_organization_fields.rb +1 -1
- data/db/migrate/20131216212502_add_quantity_to_katello_key_pools.rb +1 -1
- data/db/migrate/20131216212621_add_cp_id_to_katello_activation_keys.rb +1 -1
- data/db/migrate/20131218174203_drop_katello_key_pools_table.rb +1 -1
- data/db/migrate/20140110000001_update_environments_add_katello_id.rb +1 -1
- data/db/migrate/20140117160939_refactor_content_views.rb +1 -1
- data/db/migrate/20140206200439_create_content_view_puppet_modules.rb +1 -1
- data/db/migrate/20140212131812_create_content_view_package_filter_rules.rb +1 -1
- data/db/migrate/20140212143454_create_content_view_package_group_filter_rules.rb +1 -1
- data/db/migrate/20140212143642_create_content_view_erratum_filter_rules.rb +1 -1
- data/db/migrate/20140217145303_remove_changeset.rb +1 -1
- data/db/migrate/20140217160132_create_content_view_history.rb +1 -1
- data/db/migrate/20140222022712_remove_provider_discovery.rb +1 -1
- data/db/migrate/20140305101813_allow_null_for_repository_content_id.rb +1 -1
- data/db/migrate/20140306132108_create_content_view_puppet_environments.rb +1 -1
- data/db/migrate/20140310102051_repository_add_checksum_type.rb +1 -1
- data/db/migrate/20140318174203_drop_cdn_import_success_column.rb +1 -1
- data/db/migrate/20140325185413_create_content_view_foreign_keys.rb +1 -1
- data/db/migrate/20140404122011_drop_repositories_enabled_column.rb +1 -1
- data/db/migrate/20140411134235_update_content_view_description_type.rb +1 -1
- data/db/migrate/20140414214152_allow_null_content_view_to_activation_key.rb +1 -1
- data/db/migrate/20140418124032_add_next_version_to_katello_content_views.rb +1 -1
- data/db/migrate/20140422000001_update_products_add_organization.rb +1 -1
- data/db/migrate/20140423191446_add_anonymous_providers_to_orgs.rb +1 -1
- data/db/migrate/20140425155126_add_host_id_to_system.rb +1 -1
- data/db/migrate/20140429193743_add_release_version_to_activation_keys.rb +1 -1
- data/db/migrate/20140502164009_rename_system_groups_to_host_collections.rb +1 -1
- data/db/migrate/20140502174412_update_host_collections_foreign_keys.rb +1 -1
- data/db/migrate/20140514165842_create_capsule_lifecycle_environments.rb +1 -1
- data/db/migrate/20140531160506_package_filter_add_original_packages.rb +1 -1
- data/db/migrate/20140610083129_add_pulp_proxy_to_host.rb +1 -1
- data/db/migrate/20140610154745_content_view_puppet_environment_id.rb +1 -1
- data/db/migrate/20140610170142_add_uuid_to_content_view_package_group_filter_rule.rb +1 -1
- data/db/migrate/20140617100300_add_description_to_content_view_filter_rules.rb +1 -1
- data/db/migrate/20140623103442_drop_taxonomies_owner_auto_attach_all_systems_task_id_column.rb +1 -1
- data/db/migrate/20140624183938_add_foreign_keys_for_organizations.rb +1 -1
- data/db/migrate/20140624184401_remove_label_from_activation_key.rb +1 -1
- data/db/migrate/20140626055258_add_missing_foreign_keys.rb +1 -1
- data/db/migrate/20140626204657_add_unlimited_to_activation_keys.rb +1 -1
- data/db/migrate/20140626204902_add_unlimited_to_host_collection.rb +1 -1
- data/db/migrate/20140707203534_location_add_katello_default.rb +1 -1
- data/db/migrate/20140709150428_remove_deletion_task_id_from_taxonomies.rb +1 -1
- data/db/migrate/20140716211853_repo_rename_feed_to_url.rb +1 -1
- data/db/migrate/20140807175457_remove_hidden_column_from_user.rb +1 -1
- data/db/migrate/20140811141742_remove_delayed_jobs.rb +1 -1
- data/db/migrate/20140821084214_add_sync_plan_enabled_to_sync_plan.rb +1 -1
- data/db/migrate/20140928210618_add_description_to_content_view_versions.rb +1 -1
- data/db/migrate/20140930170628_add_errata.rb +1 -1
- data/db/migrate/20141001170628_add_system_repository.rb +1 -1
- data/db/migrate/20141003210742_add_docker_container_registry_url_to_providers.rb +1 -1
- data/db/migrate/20141015173220_add_docker_image_fields.rb +1 -1
- data/db/migrate/20141031150814_add_tag_repository_id_index.rb +1 -1
- data/db/migrate/20141112180709_add_auto_attach_to_activation_keys.rb +1 -1
- data/db/migrate/20141124182205_content_view_version_add_minor.rb +1 -1
- data/db/migrate/20141203123206_add_timestamps_to_repository_join_tables.rb +1 -1
- data/db/migrate/20141204203609_add_default_value_to_auto_attach.rb +1 -1
- data/db/migrate/20141209103005_disown_foreman_templates.rb +1 -1
- data/db/migrate/20141210173220_create_docker_tables.rb +1 -1
- data/db/migrate/20141215213720_track_version_components.rb +1 -1
- data/db/migrate/20141222151001_add_host_content_view_environment.rb +1 -1
- data/db/migrate/20150109012657_add_capsule_id_to_container.rb +1 -1
- data/db/migrate/20150114225023_add_upstream_name_to_repository.rb +1 -1
- data/db/migrate/20150119153452_update_promote_errata_email_description.rb +1 -1
- data/db/migrate/20150224083608_remove_docker_registry_url.rb +1 -1
- data/db/migrate/20150227213850_change_descriptions_to_text_fields.rb +1 -1
- data/db/migrate/20150423134004_add_content_host_id_to_smart_proxy.rb +1 -1
- data/db/migrate/20150505180030_change_errata_timestamps_to_dates.rb +1 -1
- data/db/migrate/20150507131145_update_composite_default_for_content_view.rb +1 -1
- data/db/migrate/20150513034751_add_ostree_branches.rb +1 -1
- data/db/migrate/20150602153753_remove_help_tips.rb +1 -1
- data/db/migrate/20150602153754_remove_search_histories.rb +1 -1
- data/db/migrate/20150602153755_remove_search_favorites.rb +1 -1
- data/db/migrate/20150602153756_remove_user_notices.rb +1 -1
- data/db/migrate/20150602153757_remove_notices.rb +1 -1
- data/db/migrate/20150603045418_remove_user_fields.rb +1 -1
- data/db/migrate/20150606021722_create_puppet_modules.rb +1 -1
- data/db/migrate/20150611140455_remove_default_and_custom_info.rb +1 -1
- data/db/migrate/20150613134559_add_rpm.rb +1 -1
- data/db/migrate/20150623135424_create_package_groups.rb +1 -1
- data/db/migrate/20150715142649_assign_content_host_to_smart_proxies.rb +1 -1
- data/db/migrate/20150717142559_add_distributions_to_repository.rb +1 -1
- data/db/migrate/20150813185339_create_subscriptions.rb +1 -1
- data/db/migrate/20150826165942_add_subscription_facet.rb +1 -1
- data/db/migrate/20150826170004_add_content_facet.rb +1 -1
- data/db/migrate/20150901213759_remove_distributors.rb +1 -1
- data/db/migrate/20150902164543_remove_apply_info_task_id_from_taxonomies.rb +1 -1
- data/db/migrate/20150908222711_drop_marketing_engineering_products.rb +1 -1
- data/db/migrate/20150928221648_update_location_katello_default.rb +1 -1
- data/db/migrate/20150930183738_migrate_content_hosts.rb +1 -1
- data/db/migrate/20151014144004_host_collection_to_hosts.rb +1 -1
- data/db/migrate/20151015152947_add_virt_only_to_katello_pools.rb +1 -1
- data/db/migrate/20151203230940_add_date_type_to_content_view_erratum_filter_rules.rb +1 -1
- data/db/migrate/20151219152536_rename_index_repository_errata.rb +1 -1
- data/db/migrate/20151219203225_rename_index_repository_puppet_module.rb +1 -1
- data/db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb +1 -1
- data/db/migrate/20160129192548_add_docker_v2_schema.rb +1 -1
- data/db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb +1 -1
- data/db/migrate/20160203195736_remove_docker_image_schema.rb +1 -1
- data/db/migrate/20160211134035_remove_system_errata.rb +1 -1
- data/db/migrate/20160222143432_move_system_description_to_host.rb +1 -1
- data/db/migrate/20160224155909_add_registered_at_to_subscription_facet.rb +1 -1
- data/db/migrate/20160301070319_add_version_ostree_branches.rb +1 -1
- data/db/migrate/20160317171813_change_activation_key_column_names.rb +1 -1
- data/db/migrate/20160323065901_increase_cdn_length.rb +1 -1
- data/db/migrate/20160404132250_remove_katello_from_notification_name.rb +1 -1
- data/db/migrate/20160413230128_add_kickstart_repository_to_hosts_and_hostgroups.rb +1 -1
- data/db/migrate/20160426145517_move_host_description_to_host_comment.rb +1 -1
- data/db/migrate/20160505181337_rename_katello_settings.rb +1 -1
- data/db/migrate/20160520175340_add_host_applicable_package.rb +1 -1
- data/db/migrate/20160530184400_add_repo_id_indexes.rb +1 -1
- data/db/migrate/20160605160933_remove_jobs.rb +1 -1
- data/db/migrate/20160605162929_remove_system_smart_proxy.rb +1 -1
- data/db/migrate/20160613150922_add_event_queue.rb +1 -1
- data/db/migrate/20160617124149_remove_duplicate_view_filters.rb +1 -1
- data/db/migrate/20160619223332_fix_viewer_role.rb +1 -1
- data/db/migrate/20160627125310_delete_system.rb +1 -1
- data/db/migrate/20160701180402_add_sortable_version_to_puppet_modules.rb +1 -1
- data/db/migrate/20160722193256_add_verify_ssl_on_sync_to_repository.rb +1 -1
- data/db/migrate/20160727144242_add_registered_through_to_katello_subscription_facets.rb +1 -1
- data/db/migrate/20160728005028_add_latest_version_to_content_view_component.rb +1 -1
- data/db/migrate/20160808002834_add_files.rb +1 -1
- data/db/migrate/20160906181923_add_puppet_path_to_smart_proxy.rb +1 -1
- data/db/migrate/20160907231049_add_username_password_to_repository.rb +1 -1
- data/db/migrate/20160908234510_add_rpm_nvra.rb +1 -1
- data/db/migrate/20160923143611_add_action_to_content_view_histories.rb +1 -1
- data/db/migrate/20160924213020_change_katello_widget_names.rb +1 -1
- data/db/migrate/20160930121245_content_view_force_puppet_env.rb +1 -1
- data/db/migrate/20160930150810_add_smart_proxy_download_policy.rb +1 -1
- data/db/migrate/20161003130853_add_architecture_to_katello_content_view_package_filter_rule.rb +1 -1
- data/db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb +1 -1
- data/db/migrate/20161014133811_move_content_view_version_description_to_histories.rb +2 -4
- data/db/migrate/20161021072346_fix_subscription_permissions.rb +1 -1
- data/db/migrate/20161026191118_fix_invalid_interfaces.rb +1 -1
- data/db/migrate/20161028153131_sub_facet_user_index_not_uniq.rb +1 -1
- data/db/migrate/20161031204903_add_tracer_support.rb +1 -1
- data/db/migrate/20161102194100_create_content_view_docker_filter_rules.rb +1 -1
- data/db/migrate/20161209162947_add_virt_who_to_katello_pools.rb +1 -1
- data/db/migrate/20161214151548_move_content_source_id_to_content_facets.rb +1 -1
- data/db/migrate/20170114051758_add_depth_to_repositories.rb +1 -1
- data/db/migrate/20170122204325_add_hypervisor_to_subscription_facets.rb +1 -1
- data/db/migrate/20170125152421_move_default_location_to_settings.rb +1 -1
- data/db/migrate/20170208215148_add_docker_repo_name.rb +1 -1
- data/db/migrate/20170220679403_remove_system_permissions.rb +1 -1
- data/db/migrate/20170222131211_change_pool_columns_to_dates.rb +1 -1
- data/db/migrate/20170321012632_fill_in_content_view_components.rb +1 -1
- data/db/migrate/20170523182831_create_docker_meta_tag.rb +1 -1
- data/db/migrate/20170714144125_add_deb.rb +34 -0
- data/db/migrate/20170718142148_create_katello_subscription_facet_pools.rb +1 -1
- data/db/migrate/20170720142145_add_deb_release_parameters_to_repositories.rb +7 -0
- data/db/migrate/20170821170915_add_index_to_installed_packages.rb +1 -1
- data/db/migrate/20170821170916_add_nvra_index_to_installed_packages.rb +1 -1
- data/db/migrate/20170822104447_add_katello_content_to_image.rb +1 -1
- data/db/migrate/20170913183848_add_errata_counts.rb +1 -1
- data/db/migrate/20171010170443_add_index_to_katello_content_facet_errata.rb +1 -1
- data/db/migrate/20171010172724_add_docker_manifest_list.rb +67 -0
- data/db/migrate/20171011175510_add_srpm.rb +38 -0
- data/db/migrate/20171014051810_remove_docker_manifest_name.rb +9 -0
- data/db/migrate/20171025163149_remove_use_pulp_oauth_setting.rb +5 -0
- data/db/migrate/20171112174357_create_katello_content.rb +13 -0
- data/db/migrate/20171112174358_create_katello_product_content.rb +16 -0
- data/db/migrate/20171114150937_cleanup_installed_packages.rb +1 -1
- data/db/migrate/20171114183353_add_hypervisor_id_to_katello_pools.rb +1 -1
- data/db/migrate/20171120144843_add_repository_ignore_proxy.rb +5 -0
- data/db/migrate/20171211124439_add_uuid_index_to_katello_subscription_facets.rb +1 -1
- data/db/migrate/20180103230812_set_errata_updated_date.rb +7 -0
- data/db/seeds.d/101-locations.rb +6 -4
- 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/bastion-katello-bootstrap.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion_katello.js +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-packages-modal.controller.js +1 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-packages-modal.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +0 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +8 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +13 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.routes.js +44 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-deb-repositories.controller.js +48 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-deb-repositories-list.controller.js +46 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js +11 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-publish.controller.js +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/date-type-errata-filter.controller.js +4 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-repositories.controller.js +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-deb-repositories.html +87 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +7 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-docker-repositories.html +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-publish.html +12 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-repositories.html +5 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-versions.html +10 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version-content.controller.js +13 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-versions.module.js +3 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-apt.html +25 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-deb.html +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-errata.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-yum.html +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version.html +16 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/deb.factory.js +28 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.controller.js +34 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.module.js +20 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.routes.js +71 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js +44 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-repositories.controller.js +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js +34 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-content-views.html +41 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-info.html +21 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-repositories.html +52 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb.html +37 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/views/debs.html +43 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-manifest-lists/docker-manifest-list.factory.js +26 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-manifest-lists/docker-manifest-lists.module.js +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/docker-tag-details.controller.js +17 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/docker-tag-environments.controller.js +2 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-details.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-info.html +7 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/erratum-content-hosts.controller.js +11 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-content-hosts.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.routes.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/incremental-update.service.js +2 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +6 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/files/files.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organization-selector.controller.js +2 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.routes.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-manage-content.controller.js +17 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +69 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-debs.html +68 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-docker-manifest-lists.html +44 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-docker-manifests.html +13 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-packages.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-puppet-modules.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +42 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.module.js +3 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.routes.js +18 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html +21 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +8 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-details.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/views/manifest-import.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/new-sync-plan.controller.js +1 -0
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.scss +1 -0
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/docker.scss +16 -0
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +1 -0
- data/lib/katello/engine.rb +4 -6
- data/lib/katello/permission_creator.rb +14 -12
- data/lib/katello/permissions/host_permissions.rb +1 -0
- data/lib/katello/plugin.rb +83 -54
- data/lib/katello/prevent_json_parsing.rb +15 -0
- data/lib/katello/repository_types/deb.rb +1 -0
- data/lib/katello/tasks/clean_old_file_repos.rake +33 -0
- data/lib/katello/tasks/clean_published_repo_directories.rake +4 -4
- data/lib/katello/tasks/reimport.rake +8 -1
- data/lib/katello/tasks/repository.rake +3 -3
- data/lib/katello/tasks/rubocop.rake +1 -1
- data/lib/katello/tasks/test.rake +1 -0
- data/lib/katello/tasks/upgrades/3.6/import_product_content.rake +12 -0
- data/lib/katello/tasks/upgrades/3.6/republish_file_repos.rake +16 -0
- data/lib/katello/tasks/virt_who_report.rake +2 -2
- data/lib/katello/version.rb +1 -1
- data/locale/README +1 -0
- metadata +121 -30
- data/app/lib/actions/candlepin/owner/upstream_regenerate_certificates.rb +0 -17
- data/app/lib/actions/candlepin/product/update.rb +0 -32
- data/app/lib/actions/katello/event_queue/run_once_coordinator_lock.rb +0 -12
- data/app/models/katello/candlepin/content.rb +0 -252
- data/app/models/katello/candlepin/product_content.rb +0 -48
- data/lib/katello/params_parser_wrapper.rb +0 -16
@@ -0,0 +1 @@
|
|
1
|
+
Katello::RepositoryTypeManager.register(::Katello::Repository::DEB_TYPE)
|
@@ -0,0 +1,33 @@
|
|
1
|
+
namespace :katello do
|
2
|
+
desc "Cleans up file repos that were moved to /pulp/isos/<org name>/"
|
3
|
+
task :clean_old_file_repos => ['environment'] do
|
4
|
+
User.current = User.anonymous_admin
|
5
|
+
PUB_DIR = '/var/www/pub'.freeze
|
6
|
+
SCRIPT_PATH = '/tmp/delete_old_file_repos.sh'.freeze
|
7
|
+
delete = []
|
8
|
+
|
9
|
+
%w(http https).each do |proto|
|
10
|
+
dir = "#{PUB_DIR}/#{proto}/isos/"
|
11
|
+
if File.directory?(dir)
|
12
|
+
Dir.foreach(dir) do |entry|
|
13
|
+
# If directory is a file repo, then it was published using
|
14
|
+
# the UUID. It's a target for deletion.
|
15
|
+
if (repo = Katello::Repository.find_by(pulp_id: File.basename(entry)))
|
16
|
+
if repo.content_type == Katello::Repository::FILE_TYPE
|
17
|
+
delete << "#{dir}#{entry}"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
if delete.empty?
|
25
|
+
puts "There are no directories to delete."
|
26
|
+
else
|
27
|
+
open(SCRIPT_PATH, 'w') { |f| f << "rm -rf #{delete.join " \\\n "}\n" }
|
28
|
+
puts "To clean up the directories, please run the following as root:\n# bash #{SCRIPT_PATH}"
|
29
|
+
end
|
30
|
+
|
31
|
+
puts "Rake task completed."
|
32
|
+
end
|
33
|
+
end
|
@@ -17,7 +17,7 @@ namespace :katello do
|
|
17
17
|
delete = []
|
18
18
|
master_directory.each do |directory|
|
19
19
|
repo_name = directory.split('/').last
|
20
|
-
(current_cv_directories.include?(repo_name) && yum_distributor_directory.exclude?(repo_name)) ? republish << repo_name : delete << directory
|
20
|
+
(current_cv_directories.include?(repo_name) && yum_distributor_directory.exclude?("#{OLD_DIRECTORY}/yum_distributor/#{repo_name}")) ? republish << repo_name : delete << directory
|
21
21
|
end
|
22
22
|
|
23
23
|
if republish.empty?
|
@@ -26,7 +26,7 @@ namespace :katello do
|
|
26
26
|
republish.each do |directory|
|
27
27
|
puts "#{directory} is being published to #{OLD_DIRECTORY}/yum_distributor/#{directory}"
|
28
28
|
ForemanTasks.sync_task(::Actions::Katello::Repository::MetadataGenerate, Katello::Repository.where(pulp_id: "#{directory}").first)
|
29
|
-
delete << directory
|
29
|
+
delete << "#{OLD_DIRECTORY}/#{directory}"
|
30
30
|
end
|
31
31
|
puts "All relevant repositories have been republished."
|
32
32
|
else
|
@@ -37,13 +37,13 @@ namespace :katello do
|
|
37
37
|
else
|
38
38
|
puts "It will take approximately #{min_time / 60} to #{max_time / 60} hours to finish republishing all relevant repositories"
|
39
39
|
end
|
40
|
-
puts "The republishing these repositories will not actually be performed. Rerun with COMMIT=true to republish these repositories."
|
40
|
+
puts "The republishing of these repositories will not actually be performed. Rerun with COMMIT=true to republish these repositories."
|
41
41
|
end
|
42
42
|
|
43
43
|
if delete.empty?
|
44
44
|
puts "There are no directories to delete."
|
45
45
|
else
|
46
|
-
open('/tmp/delete_repository_directories.sh', 'w') { |f| f << "rm -rf #{delete.join " \\\n "}" }
|
46
|
+
open('/tmp/delete_repository_directories.sh', 'w') { |f| f << "rm -rf #{delete.join " \\\n "}\n" }
|
47
47
|
puts "To clean up the directories, please run the following as root:\n#bash /tmp/delete_repository_directories.sh"
|
48
48
|
end
|
49
49
|
|
@@ -21,12 +21,16 @@ namespace :katello do
|
|
21
21
|
Katello::PackageGroup,
|
22
22
|
Katello::PuppetModule,
|
23
23
|
Katello::Rpm,
|
24
|
+
Katello::Srpm,
|
25
|
+
Katello::Deb,
|
24
26
|
Katello::FileUnit,
|
25
27
|
Katello::Subscription,
|
26
28
|
Katello::Pool,
|
27
29
|
Katello::DockerManifest,
|
30
|
+
Katello::DockerManifestList,
|
28
31
|
Katello::DockerTag,
|
29
|
-
Katello::ContentViewPuppetEnvironment
|
32
|
+
Katello::ContentViewPuppetEnvironment,
|
33
|
+
Katello::Content]
|
30
34
|
|
31
35
|
models << Katello::OstreeBranch if Katello::RepositoryTypeManager.find(Katello::Repository::OSTREE_TYPE).present?
|
32
36
|
|
@@ -39,5 +43,8 @@ namespace :katello do
|
|
39
43
|
Katello::ActivationKey.all.each do |ack_key|
|
40
44
|
ack_key.import_pools
|
41
45
|
end
|
46
|
+
|
47
|
+
print "Importing Linked Repositories"
|
48
|
+
Katello::Repository.linked_repositories.each(&:index_content)
|
42
49
|
end
|
43
50
|
end
|
@@ -11,7 +11,7 @@ namespace :katello do
|
|
11
11
|
begin
|
12
12
|
if repo.needs_metadata_publish?
|
13
13
|
Rails.logger.error("Repository metadata for #{repo.name} (#{repo.id}) is out of date, regenerating.")
|
14
|
-
needing_publish << repo
|
14
|
+
needing_publish << repo.id
|
15
15
|
end
|
16
16
|
rescue => e
|
17
17
|
puts "Failed to check repository #{repo.id}: #{e}"
|
@@ -19,7 +19,7 @@ namespace :katello do
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
if needing_publish.any?
|
22
|
-
ForemanTasks.async_task(::Actions::
|
22
|
+
ForemanTasks.async_task(::Actions::Katello::Repository::BulkMetadataGenerate, Katello::Repository.where(:id => needing_publish))
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -29,7 +29,7 @@ namespace :katello do
|
|
29
29
|
repos = lookup_repositories
|
30
30
|
|
31
31
|
if repos.any?
|
32
|
-
task = ForemanTasks.async_task(
|
32
|
+
task = ForemanTasks.async_task(Actions::Katello::Repository::BulkMetadataGenerate, repos.all.sort)
|
33
33
|
puts "Regenerating #{repos.count} repositories. You can monitor these on task id #{task.id}\n"
|
34
34
|
else
|
35
35
|
puts "No repositories found for regeneration."
|
@@ -3,7 +3,7 @@ require File.expand_path("../engine", File.dirname(__FILE__))
|
|
3
3
|
namespace :katello do
|
4
4
|
desc "Runs Rubocop style checker on Katello code"
|
5
5
|
task :rubocop do
|
6
|
-
system("bundle exec rubocop #{Katello::Engine.root}")
|
6
|
+
system("bundle exec rubocop -D #{Katello::Engine.root}")
|
7
7
|
exit($CHILD_STATUS.exitstatus)
|
8
8
|
end
|
9
9
|
|
data/lib/katello/tasks/test.rake
CHANGED
@@ -48,6 +48,7 @@ namespace :test do
|
|
48
48
|
puts "Running Tests #{test_files.inspect}"
|
49
49
|
else
|
50
50
|
t.test_files = [
|
51
|
+
"#{Katello::Engine.root}/test/scenarios/*_test.rb",
|
51
52
|
"#{Katello::Engine.root}/test/models/**/*_test.rb",
|
52
53
|
"#{Katello::Engine.root}/test/controllers/**/*_test.rb",
|
53
54
|
"#{Katello::Engine.root}/test/**/*_test.rb"
|
@@ -0,0 +1,12 @@
|
|
1
|
+
namespace :katello do
|
2
|
+
namespace :upgrades do
|
3
|
+
namespace '3.6' do
|
4
|
+
desc "Import product content from Candlepin to improve API performance and enhance searching"
|
5
|
+
task :import_product_content => %w(environment check_ping) do
|
6
|
+
User.current = User.anonymous_admin
|
7
|
+
|
8
|
+
Katello::Content.import_all
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
namespace :katello do
|
2
|
+
namespace :upgrades do
|
3
|
+
namespace '3.6' do
|
4
|
+
desc "Republish FILE repos with relative paths including organization name"
|
5
|
+
task :republish_file_repos => %w(environment check_ping) do
|
6
|
+
User.current = User.anonymous_admin
|
7
|
+
|
8
|
+
Katello::Repository.where(:content_type => Katello::Repository::FILE_TYPE).each do |repo|
|
9
|
+
puts "Republishing file repo #{repo.name} (#{repo.id})..."
|
10
|
+
ForemanTasks.sync_task(::Actions::Pulp::Repository::Refresh, repo)
|
11
|
+
ForemanTasks.sync_task(::Actions::Katello::Repository::MetadataGenerate, repo)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
namespace :katello do
|
2
|
-
desc <<-
|
2
|
+
desc <<-DESCRIPTION
|
3
3
|
Report on hypervisors without VDC subscriptions and guests consuming virtual entitlements. Returns non-negative exit code if any issue is found.
|
4
4
|
Options:
|
5
5
|
CSV - Output in csv format. Example: CSV=true
|
6
6
|
LIMIT - only execute on a specified number of hosts (useful when re-running with different options). Example: LIMIT=500
|
7
7
|
IGNORE - ignore one or more pools, separated via a pipe character '|'.
|
8
8
|
Example: IGNORE="Red Hat Enterprise Linux Server with Smart Management, Standard (Physical or Virtual Nodes)|Some Other Pool"
|
9
|
-
|
9
|
+
DESCRIPTION
|
10
10
|
task :virt_who_report => ["environment", "check_ping"] do
|
11
11
|
class ProblemItem
|
12
12
|
attr_accessor :host, :hypervisor, :message
|
data/lib/katello/version.rb
CHANGED
data/locale/README
CHANGED
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.
|
4
|
+
version: 3.6.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -84,44 +84,58 @@ dependencies:
|
|
84
84
|
name: foreman-tasks
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.11'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.11'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: dynflow
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.8.31
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.8.31
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: foreman_docker
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- - "
|
115
|
+
- - ">="
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
117
|
+
version: 0.2.0
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- - "
|
122
|
+
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
124
|
+
version: 0.2.0
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: qpid_messaging
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- - "
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: '0'
|
118
132
|
type: :runtime
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: gettext_i18n_rails
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,7 +170,7 @@ dependencies:
|
|
156
170
|
requirements:
|
157
171
|
- - ">="
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.
|
173
|
+
version: 2.6.0
|
160
174
|
- - "<"
|
161
175
|
- !ruby/object:Gem::Version
|
162
176
|
version: 3.0.0
|
@@ -166,7 +180,7 @@ dependencies:
|
|
166
180
|
requirements:
|
167
181
|
- - ">="
|
168
182
|
- !ruby/object:Gem::Version
|
169
|
-
version: 2.
|
183
|
+
version: 2.6.0
|
170
184
|
- - "<"
|
171
185
|
- !ruby/object:Gem::Version
|
172
186
|
version: 3.0.0
|
@@ -210,7 +224,7 @@ dependencies:
|
|
210
224
|
requirements:
|
211
225
|
- - ">="
|
212
226
|
- !ruby/object:Gem::Version
|
213
|
-
version: 6.
|
227
|
+
version: 6.1.2
|
214
228
|
- - "<"
|
215
229
|
- !ruby/object:Gem::Version
|
216
230
|
version: 7.0.0
|
@@ -220,24 +234,24 @@ dependencies:
|
|
220
234
|
requirements:
|
221
235
|
- - ">="
|
222
236
|
- !ruby/object:Gem::Version
|
223
|
-
version: 6.
|
237
|
+
version: 6.1.2
|
224
238
|
- - "<"
|
225
239
|
- !ruby/object:Gem::Version
|
226
240
|
version: 7.0.0
|
227
241
|
- !ruby/object:Gem::Dependency
|
228
|
-
name:
|
242
|
+
name: factory_bot_rails
|
229
243
|
requirement: !ruby/object:Gem::Requirement
|
230
244
|
requirements:
|
231
|
-
- - "
|
245
|
+
- - "~>"
|
232
246
|
- !ruby/object:Gem::Version
|
233
|
-
version: '
|
247
|
+
version: '4.5'
|
234
248
|
type: :development
|
235
249
|
prerelease: false
|
236
250
|
version_requirements: !ruby/object:Gem::Requirement
|
237
251
|
requirements:
|
238
|
-
- - "
|
252
|
+
- - "~>"
|
239
253
|
- !ruby/object:Gem::Version
|
240
|
-
version: '
|
254
|
+
version: '4.5'
|
241
255
|
- !ruby/object:Gem::Dependency
|
242
256
|
name: minitest-tags
|
243
257
|
requirement: !ruby/object:Gem::Requirement
|
@@ -461,6 +475,8 @@ files:
|
|
461
475
|
- app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb
|
462
476
|
- app/controllers/katello/api/v2/content_view_versions_controller.rb
|
463
477
|
- app/controllers/katello/api/v2/content_views_controller.rb
|
478
|
+
- app/controllers/katello/api/v2/debs_controller.rb
|
479
|
+
- app/controllers/katello/api/v2/docker_manifest_lists_controller.rb
|
464
480
|
- app/controllers/katello/api/v2/docker_manifests_controller.rb
|
465
481
|
- app/controllers/katello/api/v2/docker_tags_controller.rb
|
466
482
|
- app/controllers/katello/api/v2/environments_controller.rb
|
@@ -509,6 +525,7 @@ files:
|
|
509
525
|
- app/controllers/katello/http_errors.rb
|
510
526
|
- app/controllers/katello/products_controller.rb
|
511
527
|
- app/controllers/katello/providers_controller.rb
|
528
|
+
- app/controllers/katello/react_controller.rb
|
512
529
|
- app/controllers/katello/remote_execution_controller.rb
|
513
530
|
- app/controllers/katello/sync_management_controller.rb
|
514
531
|
- app/helpers/katello/application_helper.rb
|
@@ -554,7 +571,6 @@ files:
|
|
554
571
|
- app/lib/actions/candlepin/owner/import.rb
|
555
572
|
- app/lib/actions/candlepin/owner/import_products.rb
|
556
573
|
- app/lib/actions/candlepin/owner/upstream_export.rb
|
557
|
-
- app/lib/actions/candlepin/owner/upstream_regenerate_certificates.rb
|
558
574
|
- app/lib/actions/candlepin/owner/upstream_update.rb
|
559
575
|
- app/lib/actions/candlepin/product/content_add.rb
|
560
576
|
- app/lib/actions/candlepin/product/content_create.rb
|
@@ -566,7 +582,6 @@ files:
|
|
566
582
|
- app/lib/actions/candlepin/product/delete_pools.rb
|
567
583
|
- app/lib/actions/candlepin/product/delete_subscriptions.rb
|
568
584
|
- app/lib/actions/candlepin/product/destroy.rb
|
569
|
-
- app/lib/actions/candlepin/product/update.rb
|
570
585
|
- app/lib/actions/foreman/environment/destroy.rb
|
571
586
|
- app/lib/actions/helpers/presenter.rb
|
572
587
|
- app/lib/actions/katello/activation_key/create.rb
|
@@ -611,7 +626,6 @@ files:
|
|
611
626
|
- app/lib/actions/katello/environment/library_create.rb
|
612
627
|
- app/lib/actions/katello/event_queue/monitor.rb
|
613
628
|
- app/lib/actions/katello/event_queue/poller_thread.rb
|
614
|
-
- app/lib/actions/katello/event_queue/run_once_coordinator_lock.rb
|
615
629
|
- app/lib/actions/katello/event_queue/suspended_action.rb
|
616
630
|
- app/lib/actions/katello/foreman/abstract.rb
|
617
631
|
- app/lib/actions/katello/foreman/content_update.rb
|
@@ -653,9 +667,11 @@ files:
|
|
653
667
|
- app/lib/actions/katello/product/update.rb
|
654
668
|
- app/lib/actions/katello/provider/destroy.rb
|
655
669
|
- app/lib/actions/katello/provider/update.rb
|
670
|
+
- app/lib/actions/katello/repository/bulk_metadata_generate.rb
|
656
671
|
- app/lib/actions/katello/repository/capsule_generate_and_sync.rb
|
657
672
|
- app/lib/actions/katello/repository/check_matching_content.rb
|
658
673
|
- app/lib/actions/katello/repository/clear.rb
|
674
|
+
- app/lib/actions/katello/repository/clone_deb_content.rb
|
659
675
|
- app/lib/actions/katello/repository/clone_docker_content.rb
|
660
676
|
- app/lib/actions/katello/repository/clone_file_content.rb
|
661
677
|
- app/lib/actions/katello/repository/clone_ostree_content.rb
|
@@ -670,6 +686,7 @@ files:
|
|
670
686
|
- app/lib/actions/katello/repository/discover.rb
|
671
687
|
- app/lib/actions/katello/repository/errata_mail.rb
|
672
688
|
- app/lib/actions/katello/repository/export.rb
|
689
|
+
- app/lib/actions/katello/repository/fetch_pxe_files.rb
|
673
690
|
- app/lib/actions/katello/repository/filtered_index_content.rb
|
674
691
|
- app/lib/actions/katello/repository/finish_upload.rb
|
675
692
|
- app/lib/actions/katello/repository/import_applicability.rb
|
@@ -724,6 +741,9 @@ files:
|
|
724
741
|
- app/lib/actions/pulp/repository/abstract_remove_content.rb
|
725
742
|
- app/lib/actions/pulp/repository/associate_distributor.rb
|
726
743
|
- app/lib/actions/pulp/repository/associate_importer.rb
|
744
|
+
- app/lib/actions/pulp/repository/copy_deb.rb
|
745
|
+
- app/lib/actions/pulp/repository/copy_deb_component.rb
|
746
|
+
- app/lib/actions/pulp/repository/copy_deb_release.rb
|
727
747
|
- app/lib/actions/pulp/repository/copy_distribution.rb
|
728
748
|
- app/lib/actions/pulp/repository/copy_docker_manifest.rb
|
729
749
|
- app/lib/actions/pulp/repository/copy_docker_tag.rb
|
@@ -733,6 +753,7 @@ files:
|
|
733
753
|
- app/lib/actions/pulp/repository/copy_package_group.rb
|
734
754
|
- app/lib/actions/pulp/repository/copy_puppet_module.rb
|
735
755
|
- app/lib/actions/pulp/repository/copy_rpm.rb
|
756
|
+
- app/lib/actions/pulp/repository/copy_srpm.rb
|
736
757
|
- app/lib/actions/pulp/repository/copy_yum_metadata_file.rb
|
737
758
|
- app/lib/actions/pulp/repository/create.rb
|
738
759
|
- app/lib/actions/pulp/repository/create_in_plan.rb
|
@@ -744,6 +765,7 @@ files:
|
|
744
765
|
- app/lib/actions/pulp/repository/download.rb
|
745
766
|
- app/lib/actions/pulp/repository/import_upload.rb
|
746
767
|
- app/lib/actions/pulp/repository/presenters/abstract_sync_presenter.rb
|
768
|
+
- app/lib/actions/pulp/repository/presenters/deb_presenter.rb
|
747
769
|
- app/lib/actions/pulp/repository/presenters/docker_presenter.rb
|
748
770
|
- app/lib/actions/pulp/repository/presenters/file_unit_presenter.rb
|
749
771
|
- app/lib/actions/pulp/repository/presenters/ostree_presenter.rb
|
@@ -754,8 +776,12 @@ files:
|
|
754
776
|
- app/lib/actions/pulp/repository/refresh.rb
|
755
777
|
- app/lib/actions/pulp/repository/refresh_distributor.rb
|
756
778
|
- app/lib/actions/pulp/repository/regenerate_applicability.rb
|
779
|
+
- app/lib/actions/pulp/repository/remove_deb.rb
|
757
780
|
- app/lib/actions/pulp/repository/remove_distribution.rb
|
781
|
+
- app/lib/actions/pulp/repository/remove_docker_blob.rb
|
758
782
|
- app/lib/actions/pulp/repository/remove_docker_manifest.rb
|
783
|
+
- app/lib/actions/pulp/repository/remove_docker_manifest_list.rb
|
784
|
+
- app/lib/actions/pulp/repository/remove_docker_tag.rb
|
759
785
|
- app/lib/actions/pulp/repository/remove_errata.rb
|
760
786
|
- app/lib/actions/pulp/repository/remove_file.rb
|
761
787
|
- app/lib/actions/pulp/repository/remove_package_group.rb
|
@@ -839,8 +865,8 @@ files:
|
|
839
865
|
- app/models/katello/authorization/repository.rb
|
840
866
|
- app/models/katello/authorization/subscription.rb
|
841
867
|
- app/models/katello/authorization/sync_plan.rb
|
842
|
-
- app/models/katello/candlepin/
|
843
|
-
- app/models/katello/candlepin/
|
868
|
+
- app/models/katello/candlepin/docker_repository_mapper.rb
|
869
|
+
- app/models/katello/candlepin/repository_mapper.rb
|
844
870
|
- app/models/katello/capsule_lifecycle_environment.rb
|
845
871
|
- app/models/katello/concerns/container_extensions.rb
|
846
872
|
- app/models/katello/concerns/content_facet_host_extensions.rb
|
@@ -859,6 +885,7 @@ files:
|
|
859
885
|
- app/models/katello/concerns/smart_proxy_extensions.rb
|
860
886
|
- app/models/katello/concerns/subscription_facet_host_extensions.rb
|
861
887
|
- app/models/katello/concerns/user_extensions.rb
|
888
|
+
- app/models/katello/content.rb
|
862
889
|
- app/models/katello/content_facet_applicable_rpm.rb
|
863
890
|
- app/models/katello/content_facet_erratum.rb
|
864
891
|
- app/models/katello/content_facet_repository.rb
|
@@ -883,7 +910,10 @@ files:
|
|
883
910
|
- app/models/katello/content_view_version.rb
|
884
911
|
- app/models/katello/content_view_version_component.rb
|
885
912
|
- app/models/katello/cp_consumer_user.rb
|
913
|
+
- app/models/katello/deb.rb
|
886
914
|
- app/models/katello/docker_manifest.rb
|
915
|
+
- app/models/katello/docker_manifest_list.rb
|
916
|
+
- app/models/katello/docker_manifest_list_manifest.rb
|
887
917
|
- app/models/katello/docker_meta_tag.rb
|
888
918
|
- app/models/katello/docker_tag.rb
|
889
919
|
- app/models/katello/errata_status.rb
|
@@ -905,6 +935,7 @@ files:
|
|
905
935
|
- app/models/katello/glue/candlepin/owner_info.rb
|
906
936
|
- app/models/katello/glue/candlepin/pool.rb
|
907
937
|
- app/models/katello/glue/candlepin/product.rb
|
938
|
+
- app/models/katello/glue/candlepin/repository.rb
|
908
939
|
- app/models/katello/glue/candlepin/subscription.rb
|
909
940
|
- app/models/katello/glue/provider.rb
|
910
941
|
- app/models/katello/glue/pulp/pulp_errors.rb
|
@@ -931,23 +962,28 @@ files:
|
|
931
962
|
- app/models/katello/pool_activation_key.rb
|
932
963
|
- app/models/katello/pool_with_quantities.rb
|
933
964
|
- app/models/katello/product.rb
|
965
|
+
- app/models/katello/product_content.rb
|
934
966
|
- app/models/katello/provider.rb
|
935
967
|
- app/models/katello/proxy_association_owner.rb
|
936
968
|
- app/models/katello/pulp_sync_status.rb
|
937
969
|
- app/models/katello/pulp_task_status.rb
|
938
970
|
- app/models/katello/puppet_module.rb
|
939
971
|
- app/models/katello/repository.rb
|
972
|
+
- app/models/katello/repository_deb.rb
|
940
973
|
- app/models/katello/repository_docker_manifest.rb
|
974
|
+
- app/models/katello/repository_docker_manifest_list.rb
|
941
975
|
- app/models/katello/repository_erratum.rb
|
942
976
|
- app/models/katello/repository_file.rb
|
943
977
|
- app/models/katello/repository_ostree_branch.rb
|
944
978
|
- app/models/katello/repository_package_group.rb
|
945
979
|
- app/models/katello/repository_puppet_module.rb
|
946
980
|
- app/models/katello/repository_rpm.rb
|
981
|
+
- app/models/katello/repository_srpm.rb
|
947
982
|
- app/models/katello/rhsm_fact_importer.rb
|
948
983
|
- app/models/katello/rhsm_fact_name.rb
|
949
984
|
- app/models/katello/rhsm_fact_parser.rb
|
950
985
|
- app/models/katello/rpm.rb
|
986
|
+
- app/models/katello/srpm.rb
|
951
987
|
- app/models/katello/subscription.rb
|
952
988
|
- app/models/katello/subscription_facet_activation_key.rb
|
953
989
|
- app/models/katello/subscription_facet_pool.rb
|
@@ -983,7 +1019,9 @@ files:
|
|
983
1019
|
- app/services/katello/pulp/consumer.rb
|
984
1020
|
- app/services/katello/pulp/consumer_group.rb
|
985
1021
|
- app/services/katello/pulp/content_counts_calculator.rb
|
1022
|
+
- app/services/katello/pulp/deb.rb
|
986
1023
|
- app/services/katello/pulp/docker_manifest.rb
|
1024
|
+
- app/services/katello/pulp/docker_manifest_list.rb
|
987
1025
|
- app/services/katello/pulp/docker_tag.rb
|
988
1026
|
- app/services/katello/pulp/erratum.rb
|
989
1027
|
- app/services/katello/pulp/file_unit.rb
|
@@ -994,6 +1032,7 @@ files:
|
|
994
1032
|
- app/services/katello/pulp/rpm.rb
|
995
1033
|
- app/services/katello/pulp/server.rb
|
996
1034
|
- app/services/katello/pulp/simple_package.rb
|
1035
|
+
- app/services/katello/pulp/srpm.rb
|
997
1036
|
- app/services/katello/puppet_class_importer_extensions.rb
|
998
1037
|
- app/services/katello/repository_type.rb
|
999
1038
|
- app/services/katello/repository_type_manager.rb
|
@@ -1069,9 +1108,16 @@ files:
|
|
1069
1108
|
- app/views/katello/api/v2/content_views/puppet_modules.json.rabl
|
1070
1109
|
- app/views/katello/api/v2/content_views/show.json.rabl
|
1071
1110
|
- app/views/katello/api/v2/content_views/version.json.rabl
|
1111
|
+
- app/views/katello/api/v2/debs/base.json.rabl
|
1112
|
+
- app/views/katello/api/v2/debs/index.json.rabl
|
1113
|
+
- app/views/katello/api/v2/debs/show.json.rabl
|
1114
|
+
- app/views/katello/api/v2/docker_manifest_lists/index.json.rabl
|
1115
|
+
- app/views/katello/api/v2/docker_manifest_lists/show.json.rabl
|
1116
|
+
- app/views/katello/api/v2/docker_manifests/compare.json.rabl
|
1072
1117
|
- app/views/katello/api/v2/docker_manifests/index.json.rabl
|
1073
1118
|
- app/views/katello/api/v2/docker_manifests/show.json.rabl
|
1074
1119
|
- app/views/katello/api/v2/docker_tags/_base.json.rabl
|
1120
|
+
- app/views/katello/api/v2/docker_tags/compare.json.rabl
|
1075
1121
|
- app/views/katello/api/v2/docker_tags/index.json.rabl
|
1076
1122
|
- app/views/katello/api/v2/docker_tags/show.json.rabl
|
1077
1123
|
- app/views/katello/api/v2/environments/index.json.rabl
|
@@ -1081,10 +1127,12 @@ files:
|
|
1081
1127
|
- app/views/katello/api/v2/environments/show.json.rabl
|
1082
1128
|
- app/views/katello/api/v2/errata/_attributes.json.rabl
|
1083
1129
|
- app/views/katello/api/v2/errata/_counts.json.rabl
|
1130
|
+
- app/views/katello/api/v2/errata/available_errata.rabl
|
1084
1131
|
- app/views/katello/api/v2/errata/compare.json.rabl
|
1085
1132
|
- app/views/katello/api/v2/errata/index.json.rabl
|
1086
1133
|
- app/views/katello/api/v2/errata/show.json.rabl
|
1087
1134
|
- app/views/katello/api/v2/file_units/base.json.rabl
|
1135
|
+
- app/views/katello/api/v2/file_units/compare.json.rabl
|
1088
1136
|
- app/views/katello/api/v2/file_units/index.json.rabl
|
1089
1137
|
- app/views/katello/api/v2/file_units/show.json.rabl
|
1090
1138
|
- app/views/katello/api/v2/gpg_keys/index.json.rabl
|
@@ -1116,6 +1164,7 @@ files:
|
|
1116
1164
|
- app/views/katello/api/v2/hosts/base.json.rabl
|
1117
1165
|
- app/views/katello/api/v2/hosts/index.json.rabl
|
1118
1166
|
- app/views/katello/api/v2/hosts/show.json.rabl
|
1167
|
+
- app/views/katello/api/v2/hosts_bulk_actions/applicable_errata.json.rabl
|
1119
1168
|
- app/views/katello/api/v2/hosts_bulk_actions/available_incremental_updates.json.rabl
|
1120
1169
|
- app/views/katello/api/v2/hosts_bulk_actions/erratum.json.rabl
|
1121
1170
|
- app/views/katello/api/v2/hosts_bulk_actions/installable_errata.json.rabl
|
@@ -1125,19 +1174,23 @@ files:
|
|
1125
1174
|
- app/views/katello/api/v2/layouts/resource.json.erb
|
1126
1175
|
- app/views/katello/api/v2/organizations/index.json.rabl
|
1127
1176
|
- app/views/katello/api/v2/organizations/show.json.rabl
|
1177
|
+
- app/views/katello/api/v2/ostree_branches/compare.json.rabl
|
1128
1178
|
- app/views/katello/api/v2/ostree_branches/index.json.rabl
|
1129
1179
|
- app/views/katello/api/v2/ostree_branches/show.json.rabl
|
1130
1180
|
- app/views/katello/api/v2/package_groups/backend.json.rabl
|
1131
1181
|
- app/views/katello/api/v2/package_groups/base.json.rabl
|
1182
|
+
- app/views/katello/api/v2/package_groups/compare.json.rabl
|
1132
1183
|
- app/views/katello/api/v2/package_groups/index.json.rabl
|
1133
1184
|
- app/views/katello/api/v2/package_groups/show.json.rabl
|
1134
1185
|
- app/views/katello/api/v2/packages/backend.json.rabl
|
1135
1186
|
- app/views/katello/api/v2/packages/base.json.rabl
|
1187
|
+
- app/views/katello/api/v2/packages/compare.json.rabl
|
1136
1188
|
- app/views/katello/api/v2/packages/index.json.rabl
|
1137
1189
|
- app/views/katello/api/v2/packages/show.json.rabl
|
1138
1190
|
- app/views/katello/api/v2/ping/server_status.json.rabl
|
1139
1191
|
- app/views/katello/api/v2/ping/show.json.rabl
|
1140
1192
|
- app/views/katello/api/v2/ping/version.json.rabl
|
1193
|
+
- app/views/katello/api/v2/products/_product_content.json.rabl
|
1141
1194
|
- app/views/katello/api/v2/products/base.json.rabl
|
1142
1195
|
- app/views/katello/api/v2/products/index.json.rabl
|
1143
1196
|
- app/views/katello/api/v2/products/repositories.json.rabl
|
@@ -1148,6 +1201,7 @@ files:
|
|
1148
1201
|
- app/views/katello/api/v2/providers/show.json.rabl
|
1149
1202
|
- app/views/katello/api/v2/puppet_modules/backend.json.rabl
|
1150
1203
|
- app/views/katello/api/v2/puppet_modules/base.json.rabl
|
1204
|
+
- app/views/katello/api/v2/puppet_modules/compare.json.rabl
|
1151
1205
|
- app/views/katello/api/v2/puppet_modules/index.json.rabl
|
1152
1206
|
- app/views/katello/api/v2/puppet_modules/name.json.rabl
|
1153
1207
|
- app/views/katello/api/v2/puppet_modules/names.json.rabl
|
@@ -1192,6 +1246,7 @@ files:
|
|
1192
1246
|
- app/views/katello/errata_mailer/sync_errata.text.erb
|
1193
1247
|
- app/views/katello/layouts/foreman_with_bastion.html.erb
|
1194
1248
|
- app/views/katello/layouts/katello.html.erb
|
1249
|
+
- app/views/katello/layouts/react.html.erb
|
1195
1250
|
- app/views/katello/providers/redhat/_enable_errors.html.erb
|
1196
1251
|
- app/views/katello/providers/redhat/_errors.html.erb
|
1197
1252
|
- app/views/katello/providers/redhat/_repo_sets.html.erb
|
@@ -1416,15 +1471,25 @@ files:
|
|
1416
1471
|
- db/migrate/20170222131211_change_pool_columns_to_dates.rb
|
1417
1472
|
- db/migrate/20170321012632_fill_in_content_view_components.rb
|
1418
1473
|
- db/migrate/20170523182831_create_docker_meta_tag.rb
|
1474
|
+
- db/migrate/20170714144125_add_deb.rb
|
1419
1475
|
- db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
|
1476
|
+
- db/migrate/20170720142145_add_deb_release_parameters_to_repositories.rb
|
1420
1477
|
- db/migrate/20170821170915_add_index_to_installed_packages.rb
|
1421
1478
|
- db/migrate/20170821170916_add_nvra_index_to_installed_packages.rb
|
1422
1479
|
- db/migrate/20170822104447_add_katello_content_to_image.rb
|
1423
1480
|
- db/migrate/20170913183848_add_errata_counts.rb
|
1424
1481
|
- db/migrate/20171010170443_add_index_to_katello_content_facet_errata.rb
|
1482
|
+
- db/migrate/20171010172724_add_docker_manifest_list.rb
|
1483
|
+
- db/migrate/20171011175510_add_srpm.rb
|
1484
|
+
- db/migrate/20171014051810_remove_docker_manifest_name.rb
|
1485
|
+
- db/migrate/20171025163149_remove_use_pulp_oauth_setting.rb
|
1486
|
+
- db/migrate/20171112174357_create_katello_content.rb
|
1487
|
+
- db/migrate/20171112174358_create_katello_product_content.rb
|
1425
1488
|
- db/migrate/20171114150937_cleanup_installed_packages.rb
|
1426
1489
|
- db/migrate/20171114183353_add_hypervisor_id_to_katello_pools.rb
|
1490
|
+
- db/migrate/20171120144843_add_repository_ignore_proxy.rb
|
1427
1491
|
- db/migrate/20171211124439_add_uuid_index_to_katello_subscription_facets.rb
|
1492
|
+
- db/migrate/20180103230812_set_errata_updated_date.rb
|
1428
1493
|
- db/seeds.d/101-locations.rb
|
1429
1494
|
- db/seeds.d/102-organizations.rb
|
1430
1495
|
- db/seeds.d/103-provisioning_templates.rb
|
@@ -1558,11 +1623,13 @@ files:
|
|
1558
1623
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/views/content-view-composite-available-content-views.html
|
1559
1624
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/views/content-view-composite-content-views-list.html
|
1560
1625
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/views/content-view-composite.html
|
1626
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-deb-repositories.controller.js
|
1561
1627
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-docker-repositories.controller.js
|
1562
1628
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-file-repositories.controller.js
|
1563
1629
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-ostree-repositories.controller.js
|
1564
1630
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-puppet-modules.controller.js
|
1565
1631
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-repositories.controller.js
|
1632
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-deb-repositories-list.controller.js
|
1566
1633
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js
|
1567
1634
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-docker-repositories-list.controller.js
|
1568
1635
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-file-repositories-list.controller.js
|
@@ -1617,6 +1684,7 @@ files:
|
|
1617
1684
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-module-versions.html
|
1618
1685
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-modules.html
|
1619
1686
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-copy.html
|
1687
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-deb-repositories.html
|
1620
1688
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details-tasks.html
|
1621
1689
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html
|
1622
1690
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-docker-repositories.html
|
@@ -1633,7 +1701,9 @@ files:
|
|
1633
1701
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js
|
1634
1702
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
|
1635
1703
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-versions.module.js
|
1704
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-apt.html
|
1636
1705
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-components.html
|
1706
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-deb.html
|
1637
1707
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-details.html
|
1638
1708
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-docker.html
|
1639
1709
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-errata.html
|
@@ -1645,6 +1715,20 @@ files:
|
|
1645
1715
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-yum.html
|
1646
1716
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version.html
|
1647
1717
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views.html
|
1718
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/deb.factory.js
|
1719
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.controller.js
|
1720
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.module.js
|
1721
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/debs.routes.js
|
1722
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
|
1723
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-repositories.controller.js
|
1724
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb.controller.js
|
1725
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-content-views.html
|
1726
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-info.html
|
1727
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-repositories.html
|
1728
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb.html
|
1729
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/views/debs.html
|
1730
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-manifest-lists/docker-manifest-list.factory.js
|
1731
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-manifest-lists/docker-manifest-lists.module.js
|
1648
1732
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-manifests/docker-manifest.factory.js
|
1649
1733
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-manifests/docker-manifests.module.js
|
1650
1734
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/docker-tag-details.controller.js
|
@@ -1817,6 +1901,8 @@ files:
|
|
1817
1901
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-advanced-sync.html
|
1818
1902
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html
|
1819
1903
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html
|
1904
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-debs.html
|
1905
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-docker-manifest-lists.html
|
1820
1906
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-docker-manifests.html
|
1821
1907
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-files.html
|
1822
1908
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ostree-branches.html
|
@@ -1937,6 +2023,7 @@ files:
|
|
1937
2023
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/user-tasks-table.html
|
1938
2024
|
- engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.scss
|
1939
2025
|
- engines/bastion_katello/app/assets/stylesheets/bastion_katello/colors.scss
|
2026
|
+
- engines/bastion_katello/app/assets/stylesheets/bastion_katello/docker.scss
|
1940
2027
|
- engines/bastion_katello/app/assets/stylesheets/bastion_katello/environments.scss
|
1941
2028
|
- engines/bastion_katello/app/assets/stylesheets/bastion_katello/errata.scss
|
1942
2029
|
- engines/bastion_katello/app/assets/stylesheets/bastion_katello/host_subscriptions.scss
|
@@ -1950,7 +2037,6 @@ files:
|
|
1950
2037
|
- lib/katello.rb
|
1951
2038
|
- lib/katello/apipie/validators.rb
|
1952
2039
|
- lib/katello/engine.rb
|
1953
|
-
- lib/katello/params_parser_wrapper.rb
|
1954
2040
|
- lib/katello/permission_creator.rb
|
1955
2041
|
- lib/katello/permissions.rb
|
1956
2042
|
- lib/katello/permissions/host_permissions.rb
|
@@ -1958,13 +2044,16 @@ files:
|
|
1958
2044
|
- lib/katello/permissions/roles_permissions.rb
|
1959
2045
|
- lib/katello/permissions/user_permissions.rb
|
1960
2046
|
- lib/katello/plugin.rb
|
2047
|
+
- lib/katello/prevent_json_parsing.rb
|
1961
2048
|
- lib/katello/repository_types.rb
|
2049
|
+
- lib/katello/repository_types/deb.rb
|
1962
2050
|
- lib/katello/repository_types/docker.rb
|
1963
2051
|
- lib/katello/repository_types/file.rb
|
1964
2052
|
- lib/katello/repository_types/ostree.rb
|
1965
2053
|
- lib/katello/repository_types/puppet.rb
|
1966
2054
|
- lib/katello/repository_types/yum.rb
|
1967
2055
|
- lib/katello/tasks/clean_backend_objects.rake
|
2056
|
+
- lib/katello/tasks/clean_old_file_repos.rake
|
1968
2057
|
- lib/katello/tasks/clean_published_repo_directories.rake
|
1969
2058
|
- lib/katello/tasks/delete_orphaned_content.rake
|
1970
2059
|
- lib/katello/tasks/import_applicability.rake
|
@@ -1990,6 +2079,8 @@ files:
|
|
1990
2079
|
- lib/katello/tasks/upgrades/3.3/hypervisors.rake
|
1991
2080
|
- lib/katello/tasks/upgrades/3.4/reindex_docker_tags.rake
|
1992
2081
|
- lib/katello/tasks/upgrades/3.4/remove_unused_products.rake
|
2082
|
+
- lib/katello/tasks/upgrades/3.6/import_product_content.rake
|
2083
|
+
- lib/katello/tasks/upgrades/3.6/republish_file_repos.rake
|
1993
2084
|
- lib/katello/tasks/virt_who_report.rake
|
1994
2085
|
- lib/katello/url_constrained_cookie_store.rb
|
1995
2086
|
- lib/katello/version.rb
|
@@ -2097,12 +2188,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2097
2188
|
version: '0'
|
2098
2189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2099
2190
|
requirements:
|
2100
|
-
- - "
|
2191
|
+
- - ">"
|
2101
2192
|
- !ruby/object:Gem::Version
|
2102
|
-
version:
|
2193
|
+
version: 1.3.1
|
2103
2194
|
requirements: []
|
2104
2195
|
rubyforge_project:
|
2105
|
-
rubygems_version: 2.
|
2196
|
+
rubygems_version: 2.5.1
|
2106
2197
|
signing_key:
|
2107
2198
|
specification_version: 4
|
2108
2199
|
summary: ''
|