Sha256: 670a19150f65a2e51b499a7c2d3763f85cb41065d04e1cc847b428ac7345b7b5
Contents?: true
Size: 966 Bytes
Versions: 44
Compression:
Stored size: 966 Bytes
Contents
module Actions module Katello module ContentViewVersion class RepublishRepositories < Actions::EntryAction def plan(content_view_version) action_subject(content_view_version.content_view) plan_self(:version_id => content_view_version.id) plan_action(::Actions::Katello::Repository::BulkMetadataGenerate, content_view_version.repositories) end def run #dummy run phase to save input end def resource_locks :link end def humanized_name if input && input[:version_id] version = ::Katello::ContentViewVersion.find_by(:id => input[:version_id]) end if version _("Republish Repositories of %{name} %{version}") % {:name => version.content_view.name, :version => version.version} else _("Republish Version Repositories") end end end end end end
Version data entries
44 entries across 44 versions & 1 rubygems