Revision c81a105c
Added by Justin Sherrill about 10 years ago
app/models/katello/repository.rb | ||
---|---|---|
:content_view_version => to_version,
|
||
:content_type => self.content_type,
|
||
:unprotected => self.unprotected) do |clone|
|
||
# We need to check this becuase sometimes, we want to build the clone
|
||
# before the orchestration begins: ideally, lazy_accessors should not
|
||
# call to external services when the resource is locked on creation
|
||
if self.pulp_repo_facts && self.checksum_type
|
||
clone.checksum_type = self.checksum_type
|
||
end
|
||
|
||
clone.checksum_type = self.checksum_type
|
||
clone.pulp_id = clone.clone_id(to_env, content_view, version.try(:version))
|
||
clone.relative_path = Repository.clone_repo_path(:repository => self,
|
||
:environment => to_env,
|
Also available in: Unified diff
fixing tests after moving to dynflow for repo creation/deletion