cleaned up old ebuilds of gitlab-shell
This commit is contained in:
parent
0df04ebf3c
commit
7bf0154411
15 changed files with 0 additions and 1577 deletions
|
|
@ -1,21 +0,0 @@
|
|||
--- a/lib/gitlab_config.rb
|
||||
+++ b/lib/gitlab_config.rb
|
||||
@@ -53,7 +53,7 @@ class GitlabConfig
|
||||
if redis.has_key?("socket")
|
||||
%W(#{redis['bin']} -s #{redis['socket']})
|
||||
else
|
||||
- %W(#{redis['bin']} -h #{redis['host']} -p #{redis['port']})
|
||||
+ %W(#{redis['bin']} -h #{redis['host']} -p #{redis['port']} -n #{redis['db']})
|
||||
end
|
||||
end
|
||||
end
|
||||
--- a/config.yml.example
|
||||
+++ b/config.yml.example
|
||||
@@ -25,6 +25,7 @@ redis:
|
||||
bin: /usr/bin/redis-cli
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
+ # db: 0
|
||||
# socket: /tmp/redis.socket # Only define this if you want to use sockets
|
||||
namespace: resque:gitlab
|
||||
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
--- config.yml.example.orig 2014-04-03 17:20:56.000000000 +0200
|
||||
+++ config.yml.example 2014-05-18 17:52:54.290000000 +0200
|
||||
@@ -15,10 +15,10 @@
|
||||
# Give the canonicalized absolute pathname,
|
||||
# REPOS_PATH MUST NOT CONTAIN ANY SYMLINK!!!
|
||||
# Check twice that none of the components is a symlink, including "/home".
|
||||
-repos_path: "/home/git/repositories"
|
||||
+repos_path: "/var/lib/git/repositories"
|
||||
|
||||
# File used as authorized_keys for gitlab user
|
||||
-auth_file: "/home/git/.ssh/authorized_keys"
|
||||
+auth_file: "/var/lib/git/.ssh/authorized_keys"
|
||||
|
||||
# Redis settings used for pushing commit notices to gitlab
|
||||
redis:
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
# Log file.
|
||||
# Default is gitlab-shell.log in the root directory.
|
||||
-# log_file: "/home/git/gitlab-shell/gitlab-shell.log"
|
||||
+# log_file: "/var/log/gitlab/gitlab-shell.log"
|
||||
|
||||
# Log level. INFO by default
|
||||
log_level: INFO
|
||||
--- lib/gitlab_config.rb.orig 2014-05-18 17:48:34.660000000 +0200
|
||||
+++ lib/gitlab_config.rb 2014-05-18 17:51:15.690000000 +0200
|
||||
@@ -8,11 +8,11 @@
|
||||
end
|
||||
|
||||
def repos_path
|
||||
- @config['repos_path'] ||= "/home/git/repositories"
|
||||
+ @config['repos_path'] ||= "/var/lib/git/repositories"
|
||||
end
|
||||
|
||||
def auth_file
|
||||
- @config['auth_file'] ||= "/home/git/.ssh/authorized_keys"
|
||||
+ @config['auth_file'] ||= "/var/lib/git/.ssh/authorized_keys"
|
||||
end
|
||||
|
||||
def gitlab_url
|
||||
Loading…
Add table
Add a link
Reference in a new issue