Merge branch 'master' into fixes/api
This commit is contained in:
commit
8045a81bcf
261 changed files with 1794 additions and 1417 deletions
|
@ -6,7 +6,7 @@ production:
|
|||
encoding: unicode
|
||||
database: gitlabhq_production
|
||||
pool: 5
|
||||
username: postgres
|
||||
username: gitlab
|
||||
password:
|
||||
# host: localhost
|
||||
# port: 5432
|
||||
|
|
|
@ -96,7 +96,7 @@ omniauth:
|
|||
# GitLab Satellites
|
||||
satellites:
|
||||
# Relative paths are relative to Rails.root (default: tmp/repo_satellites/)
|
||||
path: /home/gitlab/gitlab-satellites/
|
||||
path: /home/git/gitlab-satellites/
|
||||
|
||||
## Backup settings
|
||||
backup:
|
||||
|
@ -105,8 +105,6 @@ backup:
|
|||
|
||||
## Gitolite settings
|
||||
gitolite:
|
||||
admin_uri: git@localhost:gitolite-admin
|
||||
|
||||
# REPOS_PATH MUST NOT BE A SYMLINK!!!
|
||||
repos_path: /home/git/repositories/
|
||||
hooks_path: /home/git/.gitolite/hooks/
|
||||
|
|
|
@ -51,7 +51,7 @@ Settings.gitlab['protocol'] ||= Settings.gitlab.https ? "https" : "http"
|
|||
Settings.gitlab['email_from'] ||= "gitlab@#{Settings.gitlab.host}"
|
||||
Settings.gitlab['support_email'] ||= Settings.gitlab.email_from
|
||||
Settings.gitlab['url'] ||= Settings.send(:build_gitlab_url)
|
||||
Settings.gitlab['user'] ||= 'gitlab'
|
||||
Settings.gitlab['user'] ||= 'git'
|
||||
Settings.gitlab['signup_enabled'] ||= false
|
||||
|
||||
Settings['gravatar'] ||= Settingslogic.new({})
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# GIT over HTTP
|
||||
require Rails.root.join("lib", "gitlab", "backend", "grack_auth")
|
||||
|
||||
# GITOLITE backend
|
||||
require Rails.root.join("lib", "gitlab", "backend", "gitolite")
|
||||
# GIT over SSH
|
||||
require Rails.root.join("lib", "gitlab", "backend", "shell")
|
||||
|
|
|
@ -130,7 +130,7 @@ Gitlab::Application.routes.draw do
|
|||
#
|
||||
# Groups Area
|
||||
#
|
||||
resources :groups, constraints: { id: /[^\/]+/ }, only: [:show, :new, :create] do
|
||||
resources :groups, constraints: { id: /[^\/]+/ } do
|
||||
member do
|
||||
get :issues
|
||||
get :merge_requests
|
||||
|
@ -164,7 +164,6 @@ Gitlab::Application.routes.draw do
|
|||
resources :projects, constraints: { id: /[a-zA-Z.0-9_\-\/]+/ }, except: [:new, :create, :index], path: "/" do
|
||||
member do
|
||||
get "wall"
|
||||
get "graph"
|
||||
get "files"
|
||||
end
|
||||
|
||||
|
@ -174,6 +173,7 @@ Gitlab::Application.routes.draw do
|
|||
resources :compare, only: [:index, :create]
|
||||
resources :blame, only: [:show], constraints: {id: /.+/}
|
||||
resources :blob, only: [:show], constraints: {id: /.+/}
|
||||
resources :graph, only: [:show], constraints: {id: /.+/}
|
||||
match "/compare/:from...:to" => "compare#show", as: "compare",
|
||||
:via => [:get, :post], constraints: {from: /.+/, to: /.+/}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# note that config/gitlab.yml web path should also be changed
|
||||
# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
|
||||
|
||||
app_dir = "/home/gitlab/gitlab/"
|
||||
app_dir = "/home/git/gitlab/"
|
||||
worker_processes 2
|
||||
working_directory app_dir
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue