BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
fbc8b2c2
Commit
fbc8b2c2
authored
Mar 20, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
5f76a749
ef0876a8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
tree_helper.rb
app/helpers/tree_helper.rb
+1
-1
user.rb
app/models/user.rb
+1
-1
system_hooks.md
doc/api/system_hooks.md
+0
-0
architecture.md
doc/development/architecture.md
+1
-1
No files found.
app/helpers/tree_helper.rb
View file @
fbc8b2c2
...
@@ -40,7 +40,7 @@ module TreeHelper
...
@@ -40,7 +40,7 @@ module TreeHelper
# Returns boolean
# Returns boolean
def
markup?
(
filename
)
def
markup?
(
filename
)
filename
.
downcase
.
end_with?
(
*
%w(.textile .rdoc .org .creole
filename
.
downcase
.
end_with?
(
*
%w(.textile .rdoc .org .creole
.mediawiki .rst .asciidoc .pod)
)
.mediawiki .rst .a
doc .a
sciidoc .pod)
)
end
end
def
gitlab_markdown?
(
filename
)
def
gitlab_markdown?
(
filename
)
...
...
app/models/user.rb
View file @
fbc8b2c2
...
@@ -249,7 +249,7 @@ class User < ActiveRecord::Base
...
@@ -249,7 +249,7 @@ class User < ActiveRecord::Base
def
namespace_uniq
def
namespace_uniq
namespace_name
=
self
.
username
namespace_name
=
self
.
username
if
Namespace
.
find_by
(
path:
namespace_name
)
if
Namespace
.
find_by
(
path:
namespace_name
)
self
.
errors
.
add
:username
,
"already exist"
self
.
errors
.
add
:username
,
"already exist
s
"
end
end
end
end
...
...
doc/api/system_hooks.md
View file @
fbc8b2c2
doc/development/architecture.md
View file @
fbc8b2c2
...
@@ -18,7 +18,7 @@ New releases are generally around the same time as GitLab CE releases with excep
...
@@ -18,7 +18,7 @@ New releases are generally around the same time as GitLab CE releases with excep
# System Layout
# System Layout
When referring to ~git in the picures it means the home directory of the git user which is typically /home/git.
When referring to ~git in the pic
t
ures it means the home directory of the git user which is typically /home/git.
GitLab is primarily installed within the
`/home/git`
user home directory as
`git`
user.
GitLab is primarily installed within the
`/home/git`
user home directory as
`git`
user.
Within the home directory is where the gitlabhq server software resides as well as the repositories (though the repository location is configurable).
Within the home directory is where the gitlabhq server software resides as well as the repositories (though the repository location is configurable).
...
...
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