Sha256: 909b4f781f2f8f9a263e8a0b3988cd06a349b7f1448674fc631d2dbcb01f5d83
Contents?: true
Size: 892 Bytes
Versions: 3
Compression:
Stored size: 892 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
3 entries across 3 versions & 1 rubygems