diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2021-12-02 23:24:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 23:24:02 +0100 |
commit | 87be76213a42ab03e7f5fa9fa7d85b0f270f7cf8 (patch) | |
tree | a19e92eb59bef741cd434d829264d69e2dd3e16e /modules/structs/repo.go | |
parent | 957c3fcb5949b3f7ee348d3f7f609826cedb0e8b (diff) | |
download | gitea-87be76213a42ab03e7f5fa9fa7d85b0f270f7cf8.tar.gz gitea-87be76213a42ab03e7f5fa9fa7d85b0f270f7cf8.zip |
Add migrate from Codebase (#16768)
This PR adds [Codebase](https://www.codebasehq.com/) as migration source.
Supported:
- Milestones
- Issues
- Pull Requests
- Comments
- Labels
Diffstat (limited to 'modules/structs/repo.go')
-rw-r--r-- | modules/structs/repo.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/structs/repo.go b/modules/structs/repo.go index 8482a2128d..b1a3781d05 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -250,6 +250,7 @@ const ( GogsService // 5 gogs service OneDevService // 6 onedev service GitBucketService // 7 gitbucket service + CodebaseService // 8 codebase service ) // Name represents the service type's name @@ -273,6 +274,8 @@ func (gt GitServiceType) Title() string { return "OneDev" case GitBucketService: return "GitBucket" + case CodebaseService: + return "Codebase" case PlainGitService: return "Git" } @@ -330,5 +333,6 @@ var ( GogsService, OneDevService, GitBucketService, + CodebaseService, } ) |