1
0
Fork 0
forked from forgejo/forgejo

Add migration from GitBucket (#16767)

This PR adds [GitBucket](https://gitbucket.github.io/) as migration source.

Supported:
- Milestones
- Issues
- Pull Requests
- Comments
- Reviews
- Labels

There is no public usable instance so no integration tests added.
This commit is contained in:
KN4CK3R 2021-11-14 20:11:10 +01:00 committed by GitHub
parent d2163df6a0
commit 42ea0023a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 365 additions and 106 deletions

View file

@ -35,6 +35,8 @@ func ToGitServiceType(value string) structs.GitServiceType {
return structs.GogsService
case "onedev":
return structs.OneDevService
case "gitbucket":
return structs.GitBucketService
default:
return structs.PlainGitService
}