diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/import_export/import.rake | 4 |
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, |