2019-05-06 20:12:51 -05:00
|
|
|
// 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
|
2019-07-07 21:14:12 -05:00
|
|
|
OriginalURL string
|
2019-05-06 20:12:51 -05:00
|
|
|
|
2019-07-07 21:14:12 -05:00
|
|
|
Wiki bool
|
|
|
|
Issues bool
|
|
|
|
Milestones bool
|
|
|
|
Labels bool
|
|
|
|
Releases bool
|
|
|
|
Comments bool
|
|
|
|
PullRequests bool
|
|
|
|
Private bool
|
|
|
|
Mirror bool
|
2019-05-06 20:12:51 -05:00
|
|
|
}
|