summaryrefslogtreecommitdiffstats
path: root/modules/migrations/base/options.go
blob: ba7fdc68156acda6f64eb3e57d9607f9287363e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2019 The Gitea Authors. All rights reserved.
// Copyright 2018 Jonas Franz. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

package base

// MigrateOptions defines the way a repository gets migrated
type MigrateOptions struct {
	RemoteURL    string
	AuthUsername string
	AuthPassword string
	Name         string
	Description  string
	OriginalURL  string

	Wiki         bool
	Issues       bool
	Milestones   bool
	Labels       bool
	Releases     bool
	Comments     bool
	PullRequests bool
	Private      bool
	Mirror       bool
}