summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-06 12:06:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-06 12:06:21 +0000
commit63894d59abd34f76f399d755012cdcd32c5b1103 (patch)
treece797c74a93eb5a17c0e906cc7327938dcd2a4a1 /lib/tasks/gitlab
parentcd15d0e6c32da7f69689c7cff2e90aeda33b8318 (diff)
downloadgitlab-ce-63894d59abd34f76f399d755012cdcd32c5b1103.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/tasks/gitlab')
-rw-r--r--lib/tasks/gitlab/import_export/import.rake4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/import_export/import.rake b/lib/tasks/gitlab/import_export/import.rake
index d15749d8285..f999a05875d 100644
--- a/lib/tasks/gitlab/import_export/import.rake
+++ b/lib/tasks/gitlab/import_export/import.rake
@@ -17,6 +17,10 @@ namespace :gitlab do
task :import, [:username, :namespace_path, :project_path, :archive_path] => :gitlab_environment do |_t, args|
warn_user_is_not_gitlab
+ if ENV['IMPORT_DEBUG'].present?
+ ActiveRecord::Base.logger = Logger.new(STDOUT)
+ end
+
GitlabProjectImport.new(
namespace_path: args.namespace_path,
project_path: args.project_path,