Sha256: 0f7a048adf2a90ca06e59167b8e6fd0c7c2155739705a53034399fd53f6898b6

Contents?: true

Size: 669 Bytes

Versions: 35

Compression:

Stored size: 669 Bytes

Contents

require 'pulp_ansible_client'

module Katello
  module Pulp3
    class Repository
      class AnsibleCollection < ::Katello::Pulp3::Repository
        def remote_options
          if root.url.blank?
            super
          else
            common_remote_options.merge(url: root.url.chomp("/"), requirements_file: root.ansible_collection_requirements.blank? ? nil : root.ansible_collection_requirements)
          end
        end

        def distribution_options(path)
          {
            base_path: path,
            repository_version: repo.version_href,
            name: "#{generate_backend_object_name}"
          }
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
katello-3.17.3 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.17.2 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.17.1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.2 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.17.0 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.17.0.rc2.2 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.17.0.rc2.1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.1.2 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.1.1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.17.0.rc2 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.17.0.rc1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.0 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.0.rc5.1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.0.rc5 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.0.rc4.1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.15.3.1 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.15.3 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.0.rc4 app/services/katello/pulp3/repository/ansible_collection.rb
katello-3.16.0.rc3.1 app/services/katello/pulp3/repository/ansible_collection.rb