Sha256: 527c9d1c44729c47318c43463f672d739ac951cf9bab20ce3241c4edbc281098
Contents?: true
Size: 888 Bytes
Versions: 28
Compression:
Stored size: 888 Bytes
Contents
module Actions module Katello module ContentViewVersion class AutoCreateRepositories < Actions::Base def plan(import:, path:) helper = ::Katello::Pulp3::ContentViewVersion::ImportableRepositories.new( organization: import.organization, metadata_repositories: import.metadata_map.repositories.select { |r| !r.redhat }, syncable_format: import.metadata_map.syncable_format?, path: path ) helper.generate! sequence do helper.creatable.each do |root| plan_action(::Actions::Katello::Repository::CreateRoot, root[:repository]) end helper.updatable.each do |root| plan_action(::Actions::Katello::Repository::Update, root[:repository], root[:options]) end end end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems