info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
...
@@ -10,30 +9,30 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -10,30 +9,30 @@ info: To determine the technical writer assigned to the Stage/Group associated w
Import your projects from Gitea to GitLab with minimal effort.
Import your projects from Gitea to GitLab with minimal effort.
NOTE:
NOTE:
This requires Gitea `v1.0.0` or newer.
This requires Gitea `v1.0.0` or later.
The Gitea importer can import:
The Gitea importer can import:
- Repository description (GitLab 8.15+)
- Repository description
- Git repository data (GitLab 8.15+)
- Git repository data
- Issues (GitLab 8.15+)
- Issues
- Pull requests (GitLab 8.15+)
- Pull requests
- Milestones (GitLab 8.15+)
- Milestones
- Labels (GitLab 8.15+)
- Labels
When importing, repository public access is retained. If a repository is private in Gitea, it's
When importing, repository public access is retained. If a repository is private in Gitea, it's
created as private in GitLab as well.
created as private in GitLab as well.
## How it works
## How it works
Since Gitea is currently not an OAuth provider, author/assignee cannot be mapped
Because Gitea isn't an OAuth provider, author/assignee can't be mapped to users
to users in your GitLab instance. This means that the project creator (most of
in your GitLab instance. This means the project creator (usually the user that
the times the current user that started the import process) is set as the author,
started the import process) is set as the author. A reference, however, is kept
but a reference on the issue about the original Gitea author is kept.
on the issue about the original Gitea author.
The importer creates any new namespaces (groups) if they don't exist or in
The importer creates any new namespaces (groups) if they don't exist. If the
the case the namespace is taken, the repository is imported under the user's
namespace is taken, the repository is imported under the user's namespace
namespace that started the import process.
that started the import process.
## Import your Gitea repositories
## Import your Gitea repositories
...
@@ -41,7 +40,7 @@ The importer page is visible when you create a new project.
...
@@ -41,7 +40,7 @@ The importer page is visible when you create a new project.
![New project page on GitLab](img/import_projects_from_new_project_page.png)
![New project page on GitLab](img/import_projects_from_new_project_page.png)
Click the **Gitea** link and the import authorization process starts.
Select the **Gitea** link to start the import authorization process.