Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
21347e8face1
Commit
367c4f42
authored
Nov 25, 2011
by
Dmitriy Zaporozhets
Browse files
one config file, git options added
parent
dfd499838590
Changes
6
Hide whitespace changes
Inline
Side-by-side
config/email.yml
deleted
100644 → 0
View file @
dfd49983
from
:
notify@gitlabhq.com
host
:
gitlabhq.com
config/gitlab.yml
0 → 100644
View file @
21347e8f
# Gitlab application config file
# Email used for notification
# about new issues, comments
email
:
from
:
notify@gitlabhq.com
host
:
gitlabhq.com
# Gitosis congiguration
gitosis
:
admin_uri
:
git@localhost:gitosis-admin.git
base_path
:
/home/git/repositories/
host
:
localhost
git_user
:
git
# port: 22
# Git settings
# Use default values unless you understand it
git
:
# Max size of git object like commit, in bytes
# This value can be increased if you have a very large commits
git_max_size
:
5242880
# 5.megabytes
# Git timeout to read commit, in seconds
git_timeout
:
10
config/gitosis.yml
deleted
100644 → 0
View file @
dfd49983
admin_uri
:
git@localhost:gitosis-admin.git
base_path
:
/home/git/repositories/
host
:
localhost
git_user
:
git
# port: 22
config/initializers/gitlabhq/10_load_config.rb
0 → 100644
View file @
21347e8f
GITOSIS
=
YAML
.
load_file
(
"
#{
Rails
.
root
}
/config/gitlab.yml"
)[
"gitosis"
]
EMAIL_OPTS
=
YAML
.
load_file
(
"
#{
Rails
.
root
}
/config/gitlab.yml"
)[
"email"
]
GIT_OPTS
=
YAML
.
load_file
(
"
#{
Rails
.
root
}
/config/gitlab.yml"
)[
"git"
]
config/initializers/grit_ext.rb
→
config/initializers/
gitlabhq/20_
grit_ext.rb
View file @
21347e8f
...
...
@@ -10,3 +10,6 @@
Grit
::
Commit
.
class_eval
do
include
CommitExt
end
Grit
::
Git
.
git_timeout
=
GIT_OPTS
[
"git_timeout"
]
Grit
::
Git
.
git_max_size
=
GIT_OPTS
[
"git_max_size"
]
config/initializers/load_config.rb
deleted
100644 → 0
View file @
dfd49983
GITOSIS
=
YAML
.
load_file
(
"
#{
Rails
.
root
}
/config/gitosis.yml"
)
EMAIL_OPTS
=
YAML
.
load_file
(
"
#{
Rails
.
root
}
/config/email.yml"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment