Sha256: cef33b0d930b94dfdfdbede3226081df5127bcdf1411354e9b7bd1d3ca277cd9

Contents?: true

Size: 502 Bytes

Versions: 44

Compression:

Stored size: 502 Bytes

Contents

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

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
katello-4.1.4 app/helpers/katello/content_view_helper.rb
katello-4.0.3 app/helpers/katello/content_view_helper.rb
katello-3.18.5 app/helpers/katello/content_view_helper.rb
katello-4.2.0.1.rc2 app/helpers/katello/content_view_helper.rb
katello-4.2.0.rc2 app/helpers/katello/content_view_helper.rb
katello-4.1.3 app/helpers/katello/content_view_helper.rb
katello-4.2.0.rc1 app/helpers/katello/content_view_helper.rb
katello-4.0.2.1 app/helpers/katello/content_view_helper.rb
katello-4.1.2.1 app/helpers/katello/content_view_helper.rb
katello-4.0.2 app/helpers/katello/content_view_helper.rb
katello-4.1.2 app/helpers/katello/content_view_helper.rb
katello-3.18.4 app/helpers/katello/content_view_helper.rb
katello-4.1.1 app/helpers/katello/content_view_helper.rb
katello-4.1.0 app/helpers/katello/content_view_helper.rb
katello-4.0.1.2 app/helpers/katello/content_view_helper.rb
katello-3.18.3.1 app/helpers/katello/content_view_helper.rb
katello-4.1.0.rc2.2 app/helpers/katello/content_view_helper.rb
katello-4.1.0.rc2.1 app/helpers/katello/content_view_helper.rb
katello-4.0.1.1 app/helpers/katello/content_view_helper.rb
katello-3.18.3 app/helpers/katello/content_view_helper.rb