Sha256: ad82c9bef9bd108801383e8cc03fd448db51f76b49356c5349b23dba56aa4eac

Contents?: true

Size: 548 Bytes

Versions: 55

Compression:

Stored size: 548 Bytes

Contents

module Actions
  module Katello
    module Repository
      class CloneFileContent < Actions::Base
        def plan(source_repo, target_repo)
          sequence do
            plan_action(Pulp::Repository::CopyFiles,
                        source_pulp_id: source_repo.pulp_id,
                        target_pulp_id: target_repo.pulp_id)
            plan_action(Katello::Repository::MetadataGenerate, target_repo)
            plan_action(Katello::Repository::IndexContent, id: target_repo.id)
          end
        end
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
katello-3.4.0.rc1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.3.1.1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.3.1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.3.0.1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.3.0 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.3.0.rc2 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.3.0.rc1.1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.3.0.rc1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.2.1.1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.2.1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.2.0 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.2.0.rc3 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.2.0.rc2 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.2.0.rc1.1 app/lib/actions/katello/repository/clone_file_content.rb
katello-3.2.0.rc1 app/lib/actions/katello/repository/clone_file_content.rb