Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
367c4f42
Commit
367c4f42
authored
Nov 25, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one config file, git options added
parent
8209a2ff
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
9 deletions
+30
-9
config/email.yml
config/email.yml
+0
-2
config/gitlab.yml
config/gitlab.yml
+24
-0
config/gitosis.yml
config/gitosis.yml
+0
-5
config/initializers/gitlabhq/10_load_config.rb
config/initializers/gitlabhq/10_load_config.rb
+3
-0
config/initializers/gitlabhq/20_grit_ext.rb
config/initializers/gitlabhq/20_grit_ext.rb
+3
-0
config/initializers/load_config.rb
config/initializers/load_config.rb
+0
-2
No files found.
config/email.yml
deleted
100644 → 0
View file @
8209a2ff
from
:
notify@gitlabhq.com
host
:
gitlabhq.com
config/gitlab.yml
0 → 100644
View file @
367c4f42
# 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 @
8209a2ff
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 @
367c4f42
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/g
itlabhq/20_g
rit_ext.rb
View file @
367c4f42
...
@@ -10,3 +10,6 @@ end
...
@@ -10,3 +10,6 @@ end
Grit
::
Commit
.
class_eval
do
Grit
::
Commit
.
class_eval
do
include
CommitExt
include
CommitExt
end
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 @
8209a2ff
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