Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2024-01-19 06:09:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-19 06:09:23 +0300
commit5d3fb47a057b7a2bfc03676d3fdeaa9138424c2f (patch)
tree3cc1a4ab008ac157887f8e743d50f205df0d175b /doc
parentaf5bf83315cddeb562d2429ae88b09a95b647472 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r--doc/api/import.md4
-rw-r--r--doc/user/project/import/github.md3
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/api/import.md b/doc/api/import.md
index 81aae9b59e4..3bb3417e212 100644
--- a/doc/api/import.md
+++ b/doc/api/import.md
@@ -13,6 +13,7 @@ Use the Import API to import repositories from GitHub or Bitbucket Server.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/381902) in GitLab 15.8, GitLab no longer automatically creates namespaces or groups if the namespace or group name specified in `target_namespace` doesn't exist. GitLab also no longer falls back to using the user's personal namespace if the namespace or group name is taken or `target_namespace` is blank.
> - Requirement for Maintainer role instead of Developer role introduced in GitLab 16.0 and backported to GitLab 15.11.1 and GitLab 15.10.5.
> - `collaborators_import` key in `optional_stages` was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/398154) in GitLab 16.0.
+> - Feature flag `github_import_extended_events` was introduced in GitLab 16.8. Disabled by default. This flag improves the performance of imports but disables the `single_endpoint_issue_events_import` optional stage.
Import your projects from GitHub to GitLab using the API.
@@ -58,7 +59,8 @@ curl --request POST \
The following keys are available for `optional_stages`:
-- `single_endpoint_issue_events_import`, for issue and pull request events import.
+- `single_endpoint_issue_events_import`, for issue and pull request events import. If the `github_import_extended_events` feature flag is enabled, this optional stage
+ is unavailable.
- `single_endpoint_notes_import`, for an alternative and more thorough comments import.
- `attachments_import`, for Markdown attachments import.
- `collaborators_import`, for importing direct repository collaborators who are not outside collaborators.
diff --git a/doc/user/project/import/github.md b/doc/user/project/import/github.md
index b861fe9d154..0a539d40605 100644
--- a/doc/user/project/import/github.md
+++ b/doc/user/project/import/github.md
@@ -138,6 +138,7 @@ When the **Organization** tab is selected, you can further narrow down your sear
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/373705) in GitLab 15.5.
> - Importing collaborators as an additional item was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/398154) in GitLab 16.0.
+> - Feature flag `github_import_extended_events` was introduced in GitLab 16.8. Disabled by default. This flag improves the performance of imports but removes the **Import issue and pull request events** option.
To make imports as fast as possible, the following items aren't imported from GitHub by default:
@@ -148,7 +149,7 @@ To make imports as fast as possible, the following items aren't imported from Gi
You can choose to import these items, but this could significantly increase import time. To import these items, select the appropriate fields in the UI:
-- **Import issue and pull request events**.
+- **Import issue and pull request events**. If the `github_import_extended_events` feature flag is enabled, this option is unavailable.
- **Use alternative comments import method**. If importing GitHub projects with more than approximately 30,000 comments across all issues and pull requests, you should enable this method because of a
[limitation of the GitHub API](#missing-comments).
- **Import Markdown attachments**.