summaryrefslogtreecommitdiffstats
path: root/modules/migrations/restore.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/restore.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/restore.go')
-rw-r--r--modules/migrations/restore.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/migrations/restore.go b/modules/migrations/restore.go
index 5550aaeb03..e1ab408e41 100644
--- a/modules/migrations/restore.go
+++ b/modules/migrations/restore.go
@@ -19,6 +19,7 @@ import (
// RepositoryRestorer implements an Downloader from the local directory
type RepositoryRestorer struct {
+ base.NullDownloader
ctx context.Context
baseDir string
repoOwner string