Sha256: 77d230e5b3bd7c77e34bb63a7859e4c7a11c4faa28d43c672ec424e0979778c7

Contents?: true

Size: 716 Bytes

Versions: 158

Compression:

Stored size: 716 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class CopyVersion < Pulp3::AbstractAsyncTask
        def plan(source_repository, smart_proxy, target_repository)
          plan_self(:source_repository_id => source_repository.id,
                    :target_repository_id => target_repository.id,
                    :smart_proxy_id => smart_proxy.id)
        end

        def invoke_external_task
          source = ::Katello::Repository.find(input[:source_repository_id])
          target = ::Katello::Repository.find(input[:target_repository_id] || input[:target_repository])
          output[:pulp_tasks] = target.backend_service(smart_proxy).copy_version(source)
        end
      end
    end
  end
end

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.15.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.14.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.14.0 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.13.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.13.0 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.12.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.12.0 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.12.0.rc3 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.12.0.rc2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.12.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.11.1 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.11.0 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.11.0.rc2 app/lib/actions/pulp3/repository/copy_version.rb
katello-4.11.0.rc1 app/lib/actions/pulp3/repository/copy_version.rb