|
|
|
@@ -6,7 +6,7 @@ class MigrateRemoteRepositoryJob < ApplicationJob |
|
|
|
return if repo.blank? |
|
|
|
|
|
|
|
puts "############ MigrateRemoteRepositoryJob starting ... ############" |
|
|
|
|
|
|
|
params.except!(:auth_password, :auth_username) if params[:auth_username].nil? |
|
|
|
gitea_repository = Gitea::Repository::MigrateService.new(token, params).call |
|
|
|
puts "#gitea_repository#{gitea_repository}" |
|
|
|
if gitea_repository[0]==201 |
|
|
|
|