summaryrefslogtreecommitdiffstats
path: root/modules/migrations/gitlab.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-01-21 20:33:58 +0100
committerGitHub <noreply@github.com>2021-01-21 20:33:58 +0100
commit81c833d92d04e0a5579e7168aba548dad7e17451 (patch)
treec928f1b43fc6e2f27603193f0eed657f0760c96d /modules/migrations/gitlab.go
parentb5570d3e680570343c1552bfc972b19b161209cd (diff)
downloadgitea-81c833d92d04e0a5579e7168aba548dad7e17451.tar.gz
gitea-81c833d92d04e0a5579e7168aba548dad7e17451.zip
Add support to migrate from gogs (#14342)
Add support to migrate gogs: * issues * comments * labels * milestones * wiki Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/migrations/gitlab.go')
-rw-r--r--modules/migrations/gitlab.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/migrations/gitlab.go b/modules/migrations/gitlab.go
index e3fa956758..a697075ff8 100644
--- a/modules/migrations/gitlab.go
+++ b/modules/migrations/gitlab.go
@@ -63,6 +63,7 @@ func (f *GitlabDownloaderFactory) GitServiceType() structs.GitServiceType {
// - issueSeen, working alongside issueCount, is checked in GetComments() to see whether we
// need to fetch the Issue or PR comments, as Gitlab stores them separately.
type GitlabDownloader struct {
+ base.NullDownloader
ctx context.Context
client *gitlab.Client
repoID int