debian-mirror-gitlab/doc/user/reserved_names.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

100 lines
2.2 KiB
Markdown
Raw Normal View History

2021-01-29 00:20:46 +05:30
---
2021-11-18 22:05:49 +05:30
stage: Manage
group: Workspace
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2021-01-29 00:20:46 +05:30
---
2022-05-07 20:08:51 +05:30
# Reserved project and group names **(FREE)**
2018-03-17 18:26:18 +05:30
Not all project & group names are allowed because they would conflict with
existing routes used by GitLab.
For a list of words that are not allowed to be used as group or project names, see the
2021-09-04 01:27:46 +05:30
[`path_regex.rb` file](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/path_regex.rb)
2019-12-21 20:55:43 +05:30
under the `TOP_LEVEL_ROUTES`, `PROJECT_WILDCARD_ROUTES` and `GROUP_ROUTES` lists:
2019-07-07 11:18:12 +05:30
2018-03-17 18:26:18 +05:30
- `TOP_LEVEL_ROUTES`: are names that are reserved as usernames or top level groups
- `PROJECT_WILDCARD_ROUTES`: are names that are reserved for child groups or projects.
- `GROUP_ROUTES`: are names that are reserved for all groups or projects.
2022-05-07 20:08:51 +05:30
## Limitations on project and group names
2022-06-21 17:19:12 +05:30
- Special characters are not permitted at the start or end of project or group names. They are permitted in any other location of the name.
2022-05-07 20:08:51 +05:30
- Project or group names cannot end in `.git` or `.atom`.
- Project or group names can only contain letters, digits, emojis, "_", ".", "+", dashes, or spaces.
- Paths can only contain letters, digits, "_", "-", and "."
2018-03-17 18:26:18 +05:30
## Reserved project names
2023-01-13 00:05:48 +05:30
It is not possible to create a project with the following names:
2018-03-17 18:26:18 +05:30
2019-12-04 20:38:33 +05:30
- `\-`
- `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`
2018-03-17 18:26:18 +05:30
## Reserved group names
2023-01-13 00:05:48 +05:30
The following names are reserved as top level groups:
2018-03-17 18:26:18 +05:30
2019-12-21 20:55:43 +05:30
- `\-`
- `.well-known`
- `404.html`
- `422.html`
- `500.html`
- `502.html`
- `503.html`
- `admin`
- `api`
- `apple-touch-icon.png`
- `assets`
- `dashboard`
- `deploy.html`
- `explore`
- `favicon.ico`
- `favicon.png`
- `files`
- `groups`
- `health_check`
- `help`
- `import`
- `jwt`
- `login`
- `oauth`
- `profile`
- `projects`
- `public`
- `robots.txt`
- `s`
- `search`
2021-01-29 00:20:46 +05:30
- `sitemap`
- `sitemap.xml`
- `sitemap.xml.gz`
2019-12-21 20:55:43 +05:30
- `slash-command-logo.png`
- `snippets`
- `unsubscribes`
- `uploads`
- `users`
- `v2`
2018-03-17 18:26:18 +05:30
These group names are unavailable as subgroup names:
2019-12-21 20:55:43 +05:30
- `\-`