|
|
|
@ -51,6 +51,7 @@ module GitHelper
|
|
|
|
|
new_repo_name = "#{username.try(:strip)}/#{container.try(:identifier)}#{ Time.now.strftime("%Y%m%d%H%M%S")}"
|
|
|
|
|
uid_logger("start fork container: repo_name is #{new_repo_name}")
|
|
|
|
|
GitService.fork_repository(repo_path: original_rep_path, fork_repository_path: (new_repo_name + ".git"))
|
|
|
|
|
raise("test")
|
|
|
|
|
container.update_attributes!(:repo_name => new_repo_name)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|