Reserved project and group names
Reserved project and group names
并非所有项目和组名都被允许,因为它们会与 GitLab 使用的现有路由冲突.
有关不允许用作组名或项目名的单词的列表,请参阅TOP_LEVEL_ROUTES
, PROJECT_WILDCARD_ROUTES
和GROUP_ROUTES
列表下的path_regex.rb
文件 :
TOP_LEVEL_ROUTES
:是保留为用户名或顶级组的名称PROJECT_WILDCARD_ROUTES
:是为子组或项目保留的名称.GROUP_ROUTES
:是为所有组或项目保留的名称.
Reserved project names
当前无法创建具有以下名称的项目:
\-
badges
blame
blob
builds
commits
create
create_dir
edit
environments/folders
files
find_file
gitlab-lfs/objects
info/lfs/objects
new
preview
raw
refs
tree
update
wikis
Reserved group names
当前,以下名称保留为顶级组:
\-
.well-known
404.html
422.html
500.html
502.html
503.html
abuse_reports
admin
api
apple-touch-icon-precomposed.png
apple-touch-icon.png
assets
autocomplete
dashboard
deploy.html
explore
favicon.ico
favicon.png
files
groups
health_check
help
import
invites
jwt
login
oauth
profile
projects
public
robots.txt
s
search
sent_notifications
slash-command-logo.png
snippets
unsubscribes
uploads
users
v2
这些组名不能用作子组名:
\-