lib/gitlab/backend/shell.rb
# Import repository
#
# name - project path with namespace
#
# Ex.
#   import_repository("gitlab/gitlab-ci", "https://github.com/randx/six.git")
#
Import repository
name - project path with namespace

Ex.
Import repository name - project path with namespace Ex .
def import_repository(name, url)
      output, status = Popen::popen([gitlab_shell_projects_path, 'import-project', "#{name}.git", url, '900'])
      raise Error, output unless status.zero?
      true
    end
def import_repository ( name , url ) output , status = Popen :: popen ( [ gitlab_shell_projects_path , 'import-project' , "#{name}.git" , url , '900' ] ) raise Error , output unless status . zero? true end
Import repository
name - project path with namespace
Import repository name - project path with namespace
name
url