Sha256: d0d4a1c5c48a9bc6d89f4337d0dc663764fca27ca67d97c73de2d8d79363232e

Contents?: true

Size: 570 Bytes

Versions: 78

Compression:

Stored size: 570 Bytes

Contents

module Katello
  module ContentViewHelper
    def separated_repo_mapping(repo_mapping, use_multicopy_actions)
      separated_mapping = { :pulp3_yum_multicopy => {}, :other => {} }
      repo_mapping.each do |source_repos, dest_repo|
        if dest_repo.content_type == "yum" && SmartProxy.pulp_primary.pulp3_support?(dest_repo) && use_multicopy_actions
          separated_mapping[:pulp3_yum_multicopy][source_repos] = dest_repo
        else
          separated_mapping[:other][source_repos] = dest_repo
        end
      end
      separated_mapping
    end
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
katello-4.15.1 app/helpers/katello/content_view_helper.rb
katello-4.14.3 app/helpers/katello/content_view_helper.rb
katello-4.14.2 app/helpers/katello/content_view_helper.rb
katello-4.15.0 app/helpers/katello/content_view_helper.rb
katello-4.15.0.rc2 app/helpers/katello/content_view_helper.rb
katello-4.15.0.rc1 app/helpers/katello/content_view_helper.rb
katello-4.14.1 app/helpers/katello/content_view_helper.rb
katello-4.14.0 app/helpers/katello/content_view_helper.rb
katello-4.14.0.rc3 app/helpers/katello/content_view_helper.rb
katello-4.14.0.rc2 app/helpers/katello/content_view_helper.rb
katello-4.14.0.rc1.1 app/helpers/katello/content_view_helper.rb
katello-4.14.0.rc1 app/helpers/katello/content_view_helper.rb
katello-4.13.1 app/helpers/katello/content_view_helper.rb
katello-4.13.0 app/helpers/katello/content_view_helper.rb
katello-4.12.1 app/helpers/katello/content_view_helper.rb
katello-4.13.0.rc1 app/helpers/katello/content_view_helper.rb
katello-4.12.0 app/helpers/katello/content_view_helper.rb
katello-4.12.0.rc3 app/helpers/katello/content_view_helper.rb
katello-4.12.0.rc2 app/helpers/katello/content_view_helper.rb
katello-4.12.0.rc1 app/helpers/katello/content_view_helper.rb