Sha256: 8ff672410f5f4788225f16b0500931c5235441d3e651a2daabf0968503eb6bac

Contents?: true

Size: 557 Bytes

Versions: 68

Compression:

Stored size: 557 Bytes

Contents

module Actions
  module Katello
    module Repository
      class CloneOstreeContent < Actions::Base
        def plan(source_repo, target_repo)
          sequence do
            plan_action(Pulp::Repository::CopyOstreeBranch,
                        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

68 entries across 68 versions & 1 rubygems

Version Path
katello-3.10.2 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.10.1.1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.10.1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.10.0 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.10.0.rc1.1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.9.1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.10.0.rc1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.9.0 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.8.1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.9.0.rc2 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.9.0.rc1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.7.1.1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.7.1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.8.0 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.8.0.rc3 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.8.0.rc2 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.7.0 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.8.0.rc1 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.7.0.rc2 app/lib/actions/katello/repository/clone_ostree_content.rb
katello-3.7.0.rc1 app/lib/actions/katello/repository/clone_ostree_content.rb