Sha256: dbbfa0b4dee7e7d855214064677a92077a63df28cadab48bd11de8c0ad64f652
Contents?: true
Size: 891 Bytes
Versions: 146
Compression:
Stored size: 891 Bytes
Contents
require 'pulp_file_client' module Katello module Pulp3 class Repository class File < ::Katello::Pulp3::Repository def copy_content_for_source(source_repository, _options = {}) copy_units_by_href(source_repository.files.pluck(:pulp_id)) end def distribution_options(path) { base_path: path, publication: repo.publication_href, name: "#{generate_backend_object_name}" } end def remote_options #TODO: move to user specifying PULP_MANIFEST if root.url.blank? common_remote_options.merge(url: nil) else common_remote_options.merge(url: root.url + '/PULP_MANIFEST') end end def partial_repo_path "/pulp/isos/#{repo.relative_path}/PULP_MANIFEST" end end end end end
Version data entries
146 entries across 146 versions & 1 rubygems