loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adding remaining enum for migration repo model type. (#26021)

authored by

puni9869 and committed by
GitHub
d12ba978 2e128dd1

+6 -2
+1 -1
modules/structs/repo.go
··· 327 327 // required: true 328 328 RepoName string `json:"repo_name" binding:"Required;AlphaDashDot;MaxSize(100)"` 329 329 330 - // enum: git,github,gitea,gitlab 330 + // enum: git,github,gitea,gitlab,gogs,onedev,gitbucket,codebase 331 331 Service string `json:"service"` 332 332 AuthUsername string `json:"auth_username"` 333 333 AuthPassword string `json:"auth_password"`
+5 -1
templates/swagger/v1_json.tmpl
··· 19731 19731 "git", 19732 19732 "github", 19733 19733 "gitea", 19734 - "gitlab" 19734 + "gitlab", 19735 + "gogs", 19736 + "onedev", 19737 + "gitbucket", 19738 + "codebase" 19735 19739 ], 19736 19740 "x-go-name": "Service" 19737 19741 },