|
|
|
@ -623,7 +623,7 @@ class WelcomeController < ApplicationController
|
|
|
|
|
# end
|
|
|
|
|
|
|
|
|
|
# 如果有目录才执行
|
|
|
|
|
new_giturl = "http://edugit:xinedugit#@"+g.project(shixun.gpid).http_url_to_repo.split('//').last
|
|
|
|
|
new_giturl = "http://educoder:xinhu1ji2qu3@"+g.project(shixun.gpid).http_url_to_repo.split('//').last.gsub("bdgit.educoder.net", "172.16.95.5:8889")
|
|
|
|
|
logger.info("##########_------------- path: #{File.directory?("/home/pdl/educoder/tmp/repositories/local/#{local_git_path}")}")
|
|
|
|
|
logger.info("##########_------------- path: #{"/home/pdl/educoder/tmp/repositories/local/#{local_git_path}"}")
|
|
|
|
|
logger.info("##########_------------- new_giturl: #{new_giturl}")
|
|
|
|
|