Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8b29227b
Commit
8b29227b
authored
Jul 14, 2021
by
Kassio Borges
Committed by
Nick Gaskill
Jul 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation about Github Import logs
parent
363d0d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
doc/development/github_importer.md
doc/development/github_importer.md
+38
-0
No files found.
doc/development/github_importer.md
View file @
8b29227b
...
...
@@ -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"
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment