|
|
|
@ -113,7 +113,7 @@ class RepositoriesController < ApplicationController
|
|
|
|
|
@root_path=RepositoriesHelper::ROOT_PATH
|
|
|
|
|
@repository_name=User.current.login.to_s+"/"+params[:repository][:identifier]+".git"
|
|
|
|
|
@project_path=@root_path+"htdocs/"+@repository_name
|
|
|
|
|
@repository_tag=params[:repository][:upassword]
|
|
|
|
|
@repository_tag=params[:repository][:upassword] || params[:repository][:password]
|
|
|
|
|
@repo_name=User.current.login.to_s+"_"+params[:repository][:identifier]
|
|
|
|
|
logger.info "htpasswd -mb "+@root_path+"user.passwd "+@repo_name+": "+@repository_tag
|
|
|
|
|
logger.info "the value of create repository"+@root_path+": "+@repository_name+": "+@project_path+": "+@repo_name
|
|
|
|
|