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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-15 00:09:44 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-15 00:09:44 +0300
commitdc60045db7aab599453799c75190b93692d91b7c (patch)
treec566543274529c4427b5721a2de3c7230e03c198 /doc/development/github_importer.md
parent06ac12d53c3f0b7cee2755a1254bf1af05d55044 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/github_importer.md')
-rw-r--r--doc/development/github_importer.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/development/github_importer.md b/doc/development/github_importer.md
index cc289496301..3e70585499d 100644
--- a/doc/development/github_importer.md
+++ b/doc/development/github_importer.md
@@ -213,3 +213,41 @@ The code for this resides in:
- `lib/gitlab/github_import/label_finder.rb`
- `lib/gitlab/github_import/milestone_finder.rb`
- `lib/gitlab/github_import/caching.rb`
+
+## Logs
+
+> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/48512/diffs) in GitLab 13.7.
+> - Number of imported objects [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64256) in GitLab 14.1.
+
+The import progress can be checked in the `logs/importer.log` file. Each relevant import is logged
+with `"import_source": "github"` and the `"project_id"`.
+
+The last log entry reports the number of objects fetched and imported:
+
+```json
+{
+ "message": "GitHub project import finished",
+ "duration_s": 347.25,
+ "objects_imported": {
+ "fetched": {
+ "diff_note": 93,
+ "issue": 321,
+ "note": 794,
+ "pull_request": 108,
+ "pull_request_merged_by": 92,
+ "pull_request_review": 81
+ },
+ "imported": {
+ "diff_note": 93,
+ "issue": 321,
+ "note": 794,
+ "pull_request": 108,
+ "pull_request_merged_by": 92,
+ "pull_request_review": 81
+ }
+ },
+ "import_source": "github",
+ "project_id": 47,
+ "import_stage": "Gitlab::GithubImport::Stage::FinishImportWorker"
+}
+```