Elimina el plugin Redmine Git Hosting
Finalmente se descarta por los problemas de configuración y potencial brecha de seguridad al requerir acceso global al puerto ssh.
This commit is contained in:
parent
bdd66d941f
commit
0edadcfed8
494 changed files with 0 additions and 36768 deletions
|
@ -1,19 +0,0 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
# This file was placed here by Redmine Git Hosting. It makes sure that your pushed commits
|
||||
# will be processed properly.
|
||||
|
||||
refs = ARGF.read
|
||||
repo_path = Dir.pwd
|
||||
|
||||
require_relative 'lib/git_hosting/http_helper'
|
||||
require_relative 'lib/git_hosting/hook_logger'
|
||||
require_relative 'lib/git_hosting/config'
|
||||
require_relative 'lib/git_hosting/post_receive'
|
||||
require_relative 'lib/git_hosting/custom_hook'
|
||||
|
||||
if GitHosting::PostReceive.new(repo_path, refs).exec && GitHosting::CustomHook.new(repo_path, refs).exec
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue