add loggers
This commit is contained in:
parent
cc4e28f595
commit
339b9138a4
|
@ -11,6 +11,8 @@ class RepositoriesService
|
|||
Rails.logger.info("!!!!!!!!!!!!!!!!!!!!!!!is_single_identifier......")
|
||||
return status, nil
|
||||
else
|
||||
Rails.logger.info("!!!!!!!!!!!!!!!!!!!!!!!params_repository.first[1] is:......")
|
||||
Rails.logger.info(params_repository.first[1])
|
||||
attrs = {:attrs => {:identifier => params_repository.first[1]}, :attrs_extra => {}}
|
||||
repo = Repository.factory('Git')
|
||||
repo.safe_attributes = params_repository
|
||||
|
@ -19,6 +21,8 @@ class RepositoriesService
|
|||
end
|
||||
repo.project = project
|
||||
repo.type = 'Repository::Gitlab'
|
||||
Rails.logger.info("!!!!!!!!!!!!!!!!!!!!!!!repo.identifier is:......")
|
||||
Rails.logger.info(repo.identifier.downcase)
|
||||
repo.identifier = repo.identifier.downcase
|
||||
repo.url = repo.identifier
|
||||
repo.root_url = repo.url
|
||||
|
|
Loading…
Reference in New Issue