Sha256: 045d9494b293ebb22d98583c6094274c764bbec3aff233fd581ea9cc6ece7a93

Contents?: true

Size: 900 Bytes

Versions: 34

Compression:

Stored size: 900 Bytes

Contents

module Actions
  module Pulp3
    module Orchestration
      module Repository
        class Sync < Pulp3::Abstract
          include Actions::Helpers::OutputPropagator
          def plan(repository, smart_proxy, options)
            sequence do
              action_output = plan_action(Actions::Pulp3::Repository::Sync, repository, smart_proxy, options).output

              force_fetch_version = true if options[:optimize] == false
              version_output = plan_action(Pulp3::Repository::SaveVersion, repository, tasks: action_output[:pulp_tasks], :force_fetch_version => force_fetch_version).output
              plan_action(Pulp3::Orchestration::Repository::GenerateMetadata, repository, smart_proxy, :contents_changed => version_output[:contents_changed])
              plan_self(:subaction_output => version_output)
            end
          end
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
katello-4.0.3 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.18.5 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.2.1 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.2 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.18.4 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.1.2 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.18.3.1 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.1.1 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.18.3 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.1 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.0 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.0.rc3.1 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.0.rc3 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.18.2.1 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.18.2 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.17.3 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.0.rc2 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.18.1.1 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-3.17.2 app/lib/actions/pulp3/orchestration/repository/sync.rb
katello-4.0.0.rc1 app/lib/actions/pulp3/orchestration/repository/sync.rb