Browse Source

Update import paths from github.com/go-gitea to code.gitea.io (#135)

- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Sandro Santilli 3 years ago
parent
commit
4247304f5a
100 changed files with 382 additions and 380 deletions
  1. 2 0
      .travis.yml
  2. 3 3
      Makefile
  3. 2 2
      cmd/admin.go
  4. 2 2
      cmd/dump.go
  5. 6 6
      cmd/serve.go
  6. 3 3
      cmd/update.go
  7. 16 16
      cmd/web.go
  8. 2 2
      main.go
  9. 1 1
      models/access.go
  10. 5 5
      models/action.go
  11. 3 3
      models/admin.go
  12. 6 6
      models/git_diff.go
  13. 4 4
      models/issue.go
  14. 3 3
      models/issue_comment.go
  15. 2 2
      models/issue_label.go
  16. 3 3
      models/issue_mail.go
  17. 3 3
      models/login_source.go
  18. 5 5
      models/mail.go
  19. 3 3
      models/migrations/migrations.go
  20. 2 2
      models/models.go
  21. 2 2
      models/org.go
  22. 6 6
      models/pull.go
  23. 2 2
      models/release.go
  24. 8 8
      models/repo.go
  25. 1 1
      models/repo_branch.go
  26. 4 4
      models/repo_editor.go
  27. 4 4
      models/repo_mirror.go
  28. 2 2
      models/repo_test.go
  29. 4 4
      models/ssh_key.go
  30. 1 1
      models/ssh_key_test.go
  31. 1 1
      models/token.go
  32. 2 2
      models/update.go
  33. 8 8
      models/user.go
  34. 5 5
      models/webhook.go
  35. 3 3
      models/webhook_slack.go
  36. 3 3
      models/wiki.go
  37. 4 4
      modules/auth/auth.go
  38. 1 1
      modules/auth/ldap/ldap.go
  39. 1 1
      modules/auth/repo_form.go
  40. 2 2
      modules/base/tool.go
  41. 1 1
      modules/base/tool_test.go
  42. 3 3
      modules/context/api.go
  43. 1 1
      modules/context/api_org.go
  44. 2 2
      modules/context/auth.go
  45. 5 5
      modules/context/context.go
  46. 2 2
      modules/context/org.go
  47. 4 4
      modules/context/repo.go
  48. 3 3
      modules/cron/cron.go
  49. 2 2
      modules/mailer/mailer.go
  50. 2 2
      modules/markdown/markdown.go
  51. 2 2
      modules/markdown/markdown_test.go
  52. 1 1
      modules/process/manager.go
  53. 3 3
      modules/setting/setting.go
  54. 3 3
      modules/ssh/ssh.go
  55. 1 1
      modules/template/highlight/highlight.go
  56. 5 5
      modules/template/template.go
  57. 6 6
      routers/admin/admin.go
  58. 7 7
      routers/admin/auths.go
  59. 5 5
      routers/admin/notice.go
  60. 5 5
      routers/admin/orgs.go
  61. 6 6
      routers/admin/repos.go
  62. 7 7
      routers/admin/users.go
  63. 5 5
      routers/api/v1/admin/org.go
  64. 2 2
      routers/api/v1/admin/org_repo.go
  65. 5 5
      routers/api/v1/admin/org_team.go
  66. 4 4
      routers/api/v1/admin/repo.go
  67. 6 6
      routers/api/v1/admin/user.go
  68. 10 10
      routers/api/v1/api.go
  69. 3 3
      routers/api/v1/convert/convert.go
  70. 1 1
      routers/api/v1/convert/utils.go
  71. 3 3
      routers/api/v1/misc/markdown.go
  72. 5 5
      routers/api/v1/org/org.go
  73. 3 3
      routers/api/v1/org/team.go
  74. 3 3
      routers/api/v1/repo/branch.go
  75. 3 3
      routers/api/v1/repo/collaborators.go
  76. 4 4
      routers/api/v1/repo/file.go
  77. 4 4
      routers/api/v1/repo/hook.go
  78. 4 4
      routers/api/v1/repo/issue.go
  79. 3 3
      routers/api/v1/repo/issue_comment.go
  80. 3 3
      routers/api/v1/repo/issue_label.go
  81. 5 5
      routers/api/v1/repo/key.go
  82. 3 3
      routers/api/v1/repo/label.go
  83. 3 3
      routers/api/v1/repo/milestone.go
  84. 8 8
      routers/api/v1/repo/repo.go
  85. 3 3
      routers/api/v1/user/app.go
  86. 5 5
      routers/api/v1/user/email.go
  87. 3 3
      routers/api/v1/user/follower.go
  88. 6 6
      routers/api/v1/user/key.go
  89. 3 3
      routers/api/v1/user/user.go
  90. 4 4
      routers/dev/template.go
  91. 5 5
      routers/home.go
  92. 14 14
      routers/install.go
  93. 5 5
      routers/org/members.go
  94. 6 6
      routers/org/org.go
  95. 7 7
      routers/org/setting.go
  96. 5 5
      routers/org/teams.go
  97. 2 2
      routers/repo/branch.go
  98. 5 5
      routers/repo/commit.go
  99. 3 3
      routers/repo/download.go
  100. 0 0
      routers/repo/editor.go

+ 2 - 0
.travis.yml

@@ -1,5 +1,7 @@
1 1
 language: go
2 2
 
3
+go_import_path: code.gitea.io/gitea
4
+
3 5
 go:
4 6
   - 1.6
5 7
   - 1.7

+ 3 - 3
Makefile

@@ -2,7 +2,7 @@ DIST := dist
2 2
 BIN := bin
3 3
 
4 4
 EXECUTABLE := gitea
5
-IMPORT := github.com/go-gitea/gitea
5
+IMPORT := code.gitea.io/gitea
6 6
 
7 7
 SHA := $(shell git rev-parse --short HEAD)
8 8
 DATE := $(shell date -u '+%Y-%m-%d %I:%M:%S %Z')
@@ -11,8 +11,8 @@ BINDATA := $(shell find conf | sed 's/ /\\ /g')
11 11
 STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less)
12 12
 JAVASCRIPTS :=
13 13
 
14
-LDFLAGS += -X "github.com/go-gitea/gitea/modules/setting.BuildTime=$(DATE)"
15
-LDFLAGS += -X "github.com/go-gitea/gitea/modules/setting.BuildGitHash=$(SHA)"
14
+LDFLAGS += -X "code.gitea.io/gitea/modules/setting.BuildTime=$(DATE)"
15
+LDFLAGS += -X "code.gitea.io/gitea/modules/setting.BuildGitHash=$(SHA)"
16 16
 
17 17
 TARGETS ?= linux/*,darwin/*,windows/*
18 18
 PACKAGES ?= $(shell go list ./... | grep -v /vendor/)

+ 2 - 2
cmd/admin.go

@@ -9,8 +9,8 @@ import (
9 9
 
10 10
 	"github.com/urfave/cli"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/setting"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/setting"
14 14
 )
15 15
 
16 16
 var (

+ 2 - 2
cmd/dump.go

@@ -13,8 +13,8 @@ import (
13 13
 	"time"
14 14
 
15 15
 	"github.com/Unknwon/cae/zip"
16
-	"github.com/go-gitea/gitea/models"
17
-	"github.com/go-gitea/gitea/modules/setting"
16
+	"code.gitea.io/gitea/models"
17
+	"code.gitea.io/gitea/modules/setting"
18 18
 	"github.com/urfave/cli"
19 19
 )
20 20
 

+ 6 - 6
cmd/serve.go

@@ -14,12 +14,12 @@ import (
14 14
 	"time"
15 15
 
16 16
 	"github.com/Unknwon/com"
17
-	"github.com/go-gitea/git"
18
-	"github.com/go-gitea/gitea/models"
19
-	"github.com/go-gitea/gitea/modules/base"
20
-	"github.com/go-gitea/gitea/modules/httplib"
21
-	"github.com/go-gitea/gitea/modules/log"
22
-	"github.com/go-gitea/gitea/modules/setting"
17
+	"code.gitea.io/git"
18
+	"code.gitea.io/gitea/models"
19
+	"code.gitea.io/gitea/modules/base"
20
+	"code.gitea.io/gitea/modules/httplib"
21
+	"code.gitea.io/gitea/modules/log"
22
+	"code.gitea.io/gitea/modules/setting"
23 23
 	gouuid "github.com/satori/go.uuid"
24 24
 	"github.com/urfave/cli"
25 25
 )

+ 3 - 3
cmd/update.go

@@ -9,9 +9,9 @@ import (
9 9
 
10 10
 	"github.com/urfave/cli"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/log"
14
-	"github.com/go-gitea/gitea/modules/setting"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/log"
14
+	"code.gitea.io/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 // CmdUpdate represents the available update sub-command.

+ 16 - 16
cmd/web.go

@@ -15,21 +15,21 @@ import (
15 15
 	"path"
16 16
 	"strings"
17 17
 
18
-	"github.com/go-gitea/git"
19
-	"github.com/go-gitea/gitea/models"
20
-	"github.com/go-gitea/gitea/modules/auth"
21
-	"github.com/go-gitea/gitea/modules/bindata"
22
-	"github.com/go-gitea/gitea/modules/context"
23
-	"github.com/go-gitea/gitea/modules/log"
24
-	"github.com/go-gitea/gitea/modules/setting"
25
-	"github.com/go-gitea/gitea/modules/template"
26
-	"github.com/go-gitea/gitea/routers"
27
-	"github.com/go-gitea/gitea/routers/admin"
28
-	apiv1 "github.com/go-gitea/gitea/routers/api/v1"
29
-	"github.com/go-gitea/gitea/routers/dev"
30
-	"github.com/go-gitea/gitea/routers/org"
31
-	"github.com/go-gitea/gitea/routers/repo"
32
-	"github.com/go-gitea/gitea/routers/user"
18
+	"code.gitea.io/git"
19
+	"code.gitea.io/gitea/models"
20
+	"code.gitea.io/gitea/modules/auth"
21
+	"code.gitea.io/gitea/modules/bindata"
22
+	"code.gitea.io/gitea/modules/context"
23
+	"code.gitea.io/gitea/modules/log"
24
+	"code.gitea.io/gitea/modules/setting"
25
+	"code.gitea.io/gitea/modules/template"
26
+	"code.gitea.io/gitea/routers"
27
+	"code.gitea.io/gitea/routers/admin"
28
+	apiv1 "code.gitea.io/gitea/routers/api/v1"
29
+	"code.gitea.io/gitea/routers/dev"
30
+	"code.gitea.io/gitea/routers/org"
31
+	"code.gitea.io/gitea/routers/repo"
32
+	"code.gitea.io/gitea/routers/user"
33 33
 	"github.com/go-macaron/binding"
34 34
 	"github.com/go-macaron/cache"
35 35
 	"github.com/go-macaron/captcha"
@@ -100,7 +100,7 @@ func checkVersion() {
100 100
 		{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"},
101 101
 		{"gopkg.in/ini.v1", ini.Version, "1.8.4"},
102 102
 		{"gopkg.in/macaron.v1", macaron.Version, "1.1.7"},
103
-		{"github.com/go-gitea/git", git.Version, "0.4.1"},
103
+		{"code.gitea.io/git", git.Version, "0.4.1"},
104 104
 	}
105 105
 	for _, c := range checkers {
106 106
 		if !version.Compare(c.Version(), c.Expected, ">=") {

+ 2 - 2
main.go

@@ -10,8 +10,8 @@ import (
10 10
 	"os"
11 11
 	"runtime"
12 12
 
13
-	"github.com/go-gitea/gitea/cmd"
14
-	"github.com/go-gitea/gitea/modules/setting"
13
+	"code.gitea.io/gitea/cmd"
14
+	"code.gitea.io/gitea/modules/setting"
15 15
 	"github.com/urfave/cli"
16 16
 )
17 17
 

+ 1 - 1
models/access.go

@@ -7,7 +7,7 @@ package models
7 7
 import (
8 8
 	"fmt"
9 9
 
10
-	"github.com/go-gitea/gitea/modules/log"
10
+	"code.gitea.io/gitea/modules/log"
11 11
 )
12 12
 
13 13
 type AccessMode int

+ 5 - 5
models/action.go

@@ -16,12 +16,12 @@ import (
16 16
 	"github.com/Unknwon/com"
17 17
 	"github.com/go-xorm/xorm"
18 18
 
19
-	"github.com/go-gitea/git"
20
-	api "github.com/go-gitea/go-sdk/gitea"
19
+	"code.gitea.io/git"
20
+	api "code.gitea.io/go-sdk/gitea"
21 21
 
22
-	"github.com/go-gitea/gitea/modules/base"
23
-	"github.com/go-gitea/gitea/modules/log"
24
-	"github.com/go-gitea/gitea/modules/setting"
22
+	"code.gitea.io/gitea/modules/base"
23
+	"code.gitea.io/gitea/modules/log"
24
+	"code.gitea.io/gitea/modules/setting"
25 25
 )
26 26
 
27 27
 type ActionType int

+ 3 - 3
models/admin.go

@@ -14,9 +14,9 @@ import (
14 14
 	"github.com/Unknwon/com"
15 15
 	"github.com/go-xorm/xorm"
16 16
 
17
-	"github.com/go-gitea/gitea/modules/base"
18
-	"github.com/go-gitea/gitea/modules/log"
19
-	"github.com/go-gitea/gitea/modules/setting"
17
+	"code.gitea.io/gitea/modules/base"
18
+	"code.gitea.io/gitea/modules/log"
19
+	"code.gitea.io/gitea/modules/setting"
20 20
 )
21 21
 
22 22
 type NoticeType int

+ 6 - 6
models/git_diff.go

@@ -17,12 +17,12 @@ import (
17 17
 	"strings"
18 18
 
19 19
 	"github.com/Unknwon/com"
20
-	"github.com/go-gitea/gitea/modules/base"
21
-	"github.com/go-gitea/gitea/modules/log"
22
-	"github.com/go-gitea/gitea/modules/process"
23
-	"github.com/go-gitea/gitea/modules/setting"
24
-	"github.com/go-gitea/gitea/modules/template/highlight"
25
-	"github.com/go-gitea/git"
20
+	"code.gitea.io/gitea/modules/base"
21
+	"code.gitea.io/gitea/modules/log"
22
+	"code.gitea.io/gitea/modules/process"
23
+	"code.gitea.io/gitea/modules/setting"
24
+	"code.gitea.io/gitea/modules/template/highlight"
25
+	"code.gitea.io/git"
26 26
 	"github.com/sergi/go-diff/diffmatchpatch"
27 27
 	"golang.org/x/net/html/charset"
28 28
 	"golang.org/x/text/transform"

+ 4 - 4
models/issue.go

@@ -16,12 +16,12 @@ import (
16 16
 
17 17
 	"github.com/Unknwon/com"
18 18
 	"github.com/go-xorm/xorm"
19
-	api "github.com/go-gitea/go-sdk/gitea"
19
+	api "code.gitea.io/go-sdk/gitea"
20 20
 	gouuid "github.com/satori/go.uuid"
21 21
 
22
-	"github.com/go-gitea/gitea/modules/base"
23
-	"github.com/go-gitea/gitea/modules/log"
24
-	"github.com/go-gitea/gitea/modules/setting"
22
+	"code.gitea.io/gitea/modules/base"
23
+	"code.gitea.io/gitea/modules/log"
24
+	"code.gitea.io/gitea/modules/setting"
25 25
 )
26 26
 
27 27
 var (

+ 3 - 3
models/issue_comment.go

@@ -12,10 +12,10 @@ import (
12 12
 	"github.com/Unknwon/com"
13 13
 	"github.com/go-xorm/xorm"
14 14
 
15
-	api "github.com/go-gitea/go-sdk/gitea"
15
+	api "code.gitea.io/go-sdk/gitea"
16 16
 
17
-	"github.com/go-gitea/gitea/modules/log"
18
-	"github.com/go-gitea/gitea/modules/markdown"
17
+	"code.gitea.io/gitea/modules/log"
18
+	"code.gitea.io/gitea/modules/markdown"
19 19
 )
20 20
 
21 21
 // CommentType defines whether a comment is just a simple comment, an action (like close) or a reference.

+ 2 - 2
models/issue_label.go

@@ -13,9 +13,9 @@ import (
13 13
 
14 14
 	"github.com/go-xorm/xorm"
15 15
 
16
-	api "github.com/go-gitea/go-sdk/gitea"
16
+	api "code.gitea.io/go-sdk/gitea"
17 17
 
18
-	"github.com/go-gitea/gitea/modules/base"
18
+	"code.gitea.io/gitea/modules/base"
19 19
 )
20 20
 
21 21
 var labelColorPattern = regexp.MustCompile("#([a-fA-F0-9]{6})")

+ 3 - 3
models/issue_mail.go

@@ -9,9 +9,9 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/com"
11 11
 
12
-	"github.com/go-gitea/gitea/modules/log"
13
-	"github.com/go-gitea/gitea/modules/markdown"
14
-	"github.com/go-gitea/gitea/modules/setting"
12
+	"code.gitea.io/gitea/modules/log"
13
+	"code.gitea.io/gitea/modules/markdown"
14
+	"code.gitea.io/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 func (issue *Issue) MailSubject() string {

+ 3 - 3
models/login_source.go

@@ -19,9 +19,9 @@ import (
19 19
 	"github.com/go-xorm/core"
20 20
 	"github.com/go-xorm/xorm"
21 21
 
22
-	"github.com/go-gitea/gitea/modules/auth/ldap"
23
-	"github.com/go-gitea/gitea/modules/auth/pam"
24
-	"github.com/go-gitea/gitea/modules/log"
22
+	"code.gitea.io/gitea/modules/auth/ldap"
23
+	"code.gitea.io/gitea/modules/auth/pam"
24
+	"code.gitea.io/gitea/modules/log"
25 25
 )
26 26
 
27 27
 type LoginType int

+ 5 - 5
models/mail.go

@@ -12,11 +12,11 @@ import (
12 12
 	"gopkg.in/gomail.v2"
13 13
 	"gopkg.in/macaron.v1"
14 14
 
15
-	"github.com/go-gitea/gitea/modules/base"
16
-	"github.com/go-gitea/gitea/modules/log"
17
-	"github.com/go-gitea/gitea/modules/mailer"
18
-	"github.com/go-gitea/gitea/modules/markdown"
19
-	"github.com/go-gitea/gitea/modules/setting"
15
+	"code.gitea.io/gitea/modules/base"
16
+	"code.gitea.io/gitea/modules/log"
17
+	"code.gitea.io/gitea/modules/mailer"
18
+	"code.gitea.io/gitea/modules/markdown"
19
+	"code.gitea.io/gitea/modules/setting"
20 20
 )
21 21
 
22 22
 const (

+ 3 - 3
models/migrations/migrations.go

@@ -20,9 +20,9 @@ import (
20 20
 	gouuid "github.com/satori/go.uuid"
21 21
 	"gopkg.in/ini.v1"
22 22
 
23
-	"github.com/go-gitea/gitea/modules/base"
24
-	"github.com/go-gitea/gitea/modules/log"
25
-	"github.com/go-gitea/gitea/modules/setting"
23
+	"code.gitea.io/gitea/modules/base"
24
+	"code.gitea.io/gitea/modules/log"
25
+	"code.gitea.io/gitea/modules/setting"
26 26
 )
27 27
 
28 28
 const _MIN_DB_VER = 4

+ 2 - 2
models/models.go

@@ -18,8 +18,8 @@ import (
18 18
 	"github.com/go-xorm/xorm"
19 19
 	_ "github.com/lib/pq"
20 20
 
21
-	"github.com/go-gitea/gitea/models/migrations"
22
-	"github.com/go-gitea/gitea/modules/setting"
21
+	"code.gitea.io/gitea/models/migrations"
22
+	"code.gitea.io/gitea/modules/setting"
23 23
 )
24 24
 
25 25
 // Engine represents a xorm engine or session.

+ 2 - 2
models/org.go

@@ -12,8 +12,8 @@ import (
12 12
 
13 13
 	"github.com/go-xorm/xorm"
14 14
 
15
-	"github.com/go-gitea/gitea/modules/base"
16
-	"github.com/go-gitea/gitea/modules/log"
15
+	"code.gitea.io/gitea/modules/base"
16
+	"code.gitea.io/gitea/modules/log"
17 17
 )
18 18
 
19 19
 var (

+ 6 - 6
models/pull.go

@@ -12,13 +12,13 @@ import (
12 12
 	"time"
13 13
 
14 14
 	"github.com/Unknwon/com"
15
-	"github.com/go-gitea/gitea/modules/log"
16
-	"github.com/go-gitea/gitea/modules/process"
17
-	"github.com/go-gitea/gitea/modules/setting"
18
-	"github.com/go-gitea/gitea/modules/sync"
15
+	"code.gitea.io/gitea/modules/log"
16
+	"code.gitea.io/gitea/modules/process"
17
+	"code.gitea.io/gitea/modules/setting"
18
+	"code.gitea.io/gitea/modules/sync"
19 19
 	"github.com/go-xorm/xorm"
20
-	"github.com/go-gitea/git"
21
-	api "github.com/go-gitea/go-sdk/gitea"
20
+	"code.gitea.io/git"
21
+	api "code.gitea.io/go-sdk/gitea"
22 22
 )
23 23
 
24 24
 var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength)

+ 2 - 2
models/release.go

@@ -12,9 +12,9 @@ import (
12 12
 
13 13
 	"github.com/go-xorm/xorm"
14 14
 
15
-	"github.com/go-gitea/git"
15
+	"code.gitea.io/git"
16 16
 
17
-	"github.com/go-gitea/gitea/modules/process"
17
+	"code.gitea.io/gitea/modules/process"
18 18
 )
19 19
 
20 20
 // Release represents a release of repository.

+ 8 - 8
models/repo.go

@@ -21,15 +21,15 @@ import (
21 21
 
22 22
 	"github.com/Unknwon/cae/zip"
23 23
 	"github.com/Unknwon/com"
24
-	"github.com/go-gitea/gitea/modules/bindata"
25
-	"github.com/go-gitea/gitea/modules/log"
26
-	"github.com/go-gitea/gitea/modules/markdown"
27
-	"github.com/go-gitea/gitea/modules/process"
28
-	"github.com/go-gitea/gitea/modules/setting"
29
-	"github.com/go-gitea/gitea/modules/sync"
24
+	"code.gitea.io/gitea/modules/bindata"
25
+	"code.gitea.io/gitea/modules/log"
26
+	"code.gitea.io/gitea/modules/markdown"
27
+	"code.gitea.io/gitea/modules/process"
28
+	"code.gitea.io/gitea/modules/setting"
29
+	"code.gitea.io/gitea/modules/sync"
30 30
 	"github.com/go-xorm/xorm"
31
-	"github.com/go-gitea/git"
32
-	api "github.com/go-gitea/go-sdk/gitea"
31
+	"code.gitea.io/git"
32
+	api "code.gitea.io/go-sdk/gitea"
33 33
 	version "github.com/mcuadros/go-version"
34 34
 	ini "gopkg.in/ini.v1"
35 35
 )

+ 1 - 1
models/repo_branch.go

@@ -5,7 +5,7 @@
5 5
 package models
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/git"
8
+	"code.gitea.io/git"
9 9
 )
10 10
 
11 11
 type Branch struct {

+ 4 - 4
models/repo_editor.go

@@ -18,11 +18,11 @@ import (
18 18
 	"github.com/Unknwon/com"
19 19
 	gouuid "github.com/satori/go.uuid"
20 20
 
21
-	"github.com/go-gitea/git"
21
+	"code.gitea.io/git"
22 22
 
23
-	"github.com/go-gitea/gitea/modules/log"
24
-	"github.com/go-gitea/gitea/modules/process"
25
-	"github.com/go-gitea/gitea/modules/setting"
23
+	"code.gitea.io/gitea/modules/log"
24
+	"code.gitea.io/gitea/modules/process"
25
+	"code.gitea.io/gitea/modules/setting"
26 26
 )
27 27
 
28 28
 // ___________    .___.__  __    ___________.__.__

+ 4 - 4
models/repo_mirror.go

@@ -13,10 +13,10 @@ import (
13 13
 	"github.com/go-xorm/xorm"
14 14
 	"gopkg.in/ini.v1"
15 15
 
16
-	"github.com/go-gitea/gitea/modules/log"
17
-	"github.com/go-gitea/gitea/modules/process"
18
-	"github.com/go-gitea/gitea/modules/setting"
19
-	"github.com/go-gitea/gitea/modules/sync"
16
+	"code.gitea.io/gitea/modules/log"
17
+	"code.gitea.io/gitea/modules/process"
18
+	"code.gitea.io/gitea/modules/setting"
19
+	"code.gitea.io/gitea/modules/sync"
20 20
 )
21 21
 
22 22
 var MirrorQueue = sync.NewUniqueQueue(setting.Repository.MirrorQueueLength)

+ 2 - 2
models/repo_test.go

@@ -3,8 +3,8 @@ package models_test
3 3
 import (
4 4
 	"testing"
5 5
 
6
-	. "github.com/go-gitea/gitea/models"
7
-	"github.com/go-gitea/gitea/modules/markdown"
6
+	. "code.gitea.io/gitea/models"
7
+	"code.gitea.io/gitea/modules/markdown"
8 8
 	. "github.com/smartystreets/goconvey/convey"
9 9
 )
10 10
 

+ 4 - 4
models/ssh_key.go

@@ -22,10 +22,10 @@ import (
22 22
 	"github.com/go-xorm/xorm"
23 23
 	"golang.org/x/crypto/ssh"
24 24
 
25
-	"github.com/go-gitea/gitea/modules/base"
26
-	"github.com/go-gitea/gitea/modules/log"
27
-	"github.com/go-gitea/gitea/modules/process"
28
-	"github.com/go-gitea/gitea/modules/setting"
25
+	"code.gitea.io/gitea/modules/base"
26
+	"code.gitea.io/gitea/modules/log"
27
+	"code.gitea.io/gitea/modules/process"
28
+	"code.gitea.io/gitea/modules/setting"
29 29
 )
30 30
 
31 31
 const (

+ 1 - 1
models/ssh_key_test.go

@@ -11,7 +11,7 @@ import (
11 11
 
12 12
 	. "github.com/smartystreets/goconvey/convey"
13 13
 
14
-	"github.com/go-gitea/gitea/modules/setting"
14
+	"code.gitea.io/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 func init() {

+ 1 - 1
models/token.go

@@ -10,7 +10,7 @@ import (
10 10
 	"github.com/go-xorm/xorm"
11 11
 	gouuid "github.com/satori/go.uuid"
12 12
 
13
-	"github.com/go-gitea/gitea/modules/base"
13
+	"code.gitea.io/gitea/modules/base"
14 14
 )
15 15
 
16 16
 // AccessToken represents a personal access token.

+ 2 - 2
models/update.go

@@ -10,9 +10,9 @@ import (
10 10
 	"os/exec"
11 11
 	"strings"
12 12
 
13
-	"github.com/go-gitea/git"
13
+	"code.gitea.io/git"
14 14
 
15
-	"github.com/go-gitea/gitea/modules/log"
15
+	"code.gitea.io/gitea/modules/log"
16 16
 )
17 17
 
18 18
 type UpdateTask struct {

+ 8 - 8
models/user.go

@@ -24,14 +24,14 @@ import (
24 24
 	"github.com/go-xorm/xorm"
25 25
 	"github.com/nfnt/resize"
26 26
 
27
-	"github.com/go-gitea/git"
28
-	api "github.com/go-gitea/go-sdk/gitea"
29
-
30
-	"github.com/go-gitea/gitea/modules/avatar"
31
-	"github.com/go-gitea/gitea/modules/base"
32
-	"github.com/go-gitea/gitea/modules/log"
33
-	"github.com/go-gitea/gitea/modules/markdown"
34
-	"github.com/go-gitea/gitea/modules/setting"
27
+	"code.gitea.io/git"
28
+	api "code.gitea.io/go-sdk/gitea"
29
+
30
+	"code.gitea.io/gitea/modules/avatar"
31
+	"code.gitea.io/gitea/modules/base"
32
+	"code.gitea.io/gitea/modules/log"
33
+	"code.gitea.io/gitea/modules/markdown"
34
+	"code.gitea.io/gitea/modules/setting"
35 35
 )
36 36
 
37 37
 type UserType int

+ 5 - 5
models/webhook.go

@@ -15,12 +15,12 @@ import (
15 15
 	"github.com/go-xorm/xorm"
16 16
 	gouuid "github.com/satori/go.uuid"
17 17
 
18
-	api "github.com/go-gitea/go-sdk/gitea"
18
+	api "code.gitea.io/go-sdk/gitea"
19 19
 
20
-	"github.com/go-gitea/gitea/modules/httplib"
21
-	"github.com/go-gitea/gitea/modules/log"
22
-	"github.com/go-gitea/gitea/modules/setting"
23
-	"github.com/go-gitea/gitea/modules/sync"
20
+	"code.gitea.io/gitea/modules/httplib"
21
+	"code.gitea.io/gitea/modules/log"
22
+	"code.gitea.io/gitea/modules/setting"
23
+	"code.gitea.io/gitea/modules/sync"
24 24
 )
25 25
 
26 26
 var HookQueue = sync.NewUniqueQueue(setting.Webhook.QueueLength)

+ 3 - 3
models/webhook_slack.go

@@ -10,10 +10,10 @@ import (
10 10
 	"fmt"
11 11
 	"strings"
12 12
 
13
-	"github.com/go-gitea/git"
14
-	api "github.com/go-gitea/go-sdk/gitea"
13
+	"code.gitea.io/git"
14
+	api "code.gitea.io/go-sdk/gitea"
15 15
 
16
-	"github.com/go-gitea/gitea/modules/setting"
16
+	"code.gitea.io/gitea/modules/setting"
17 17
 )
18 18
 
19 19
 type SlackMeta struct {

+ 3 - 3
models/wiki.go

@@ -15,10 +15,10 @@ import (
15 15
 
16 16
 	"github.com/Unknwon/com"
17 17
 
18
-	"github.com/go-gitea/git"
18
+	"code.gitea.io/git"
19 19
 
20
-	"github.com/go-gitea/gitea/modules/setting"
21
-	"github.com/go-gitea/gitea/modules/sync"
20
+	"code.gitea.io/gitea/modules/setting"
21
+	"code.gitea.io/gitea/modules/sync"
22 22
 )
23 23
 
24 24
 var wikiWorkingPool = sync.NewExclusivePool()

+ 4 - 4
modules/auth/auth.go

@@ -15,10 +15,10 @@ import (
15 15
 	gouuid "github.com/satori/go.uuid"
16 16
 	"gopkg.in/macaron.v1"
17 17
 
18
-	"github.com/go-gitea/gitea/models"
19
-	"github.com/go-gitea/gitea/modules/base"
20
-	"github.com/go-gitea/gitea/modules/log"
21
-	"github.com/go-gitea/gitea/modules/setting"
18
+	"code.gitea.io/gitea/models"
19
+	"code.gitea.io/gitea/modules/base"
20
+	"code.gitea.io/gitea/modules/log"
21
+	"code.gitea.io/gitea/modules/setting"
22 22
 )
23 23
 
24 24
 func IsAPIPath(url string) bool {

+ 1 - 1
modules/auth/ldap/ldap.go

@@ -13,7 +13,7 @@ import (
13 13
 
14 14
 	"gopkg.in/ldap.v2"
15 15
 
16
-	"github.com/go-gitea/gitea/modules/log"
16
+	"code.gitea.io/gitea/modules/log"
17 17
 )
18 18
 
19 19
 type SecurityProtocol int

+ 1 - 1
modules/auth/repo_form.go

@@ -9,7 +9,7 @@ import (
9 9
 	"strings"
10 10
 
11 11
 	"github.com/Unknwon/com"
12
-	"github.com/go-gitea/gitea/models"
12
+	"code.gitea.io/gitea/models"
13 13
 	"github.com/go-macaron/binding"
14 14
 	macaron "gopkg.in/macaron.v1"
15 15
 )

+ 2 - 2
modules/base/tool.go

@@ -24,8 +24,8 @@ import (
24 24
 
25 25
 	"github.com/Unknwon/com"
26 26
 	"github.com/Unknwon/i18n"
27
-	"github.com/go-gitea/gitea/modules/log"
28
-	"github.com/go-gitea/gitea/modules/setting"
27
+	"code.gitea.io/gitea/modules/log"
28
+	"code.gitea.io/gitea/modules/setting"
29 29
 	"github.com/gogits/chardet"
30 30
 )
31 31
 

+ 1 - 1
modules/base/tool_test.go

@@ -3,7 +3,7 @@ package base
3 3
 import (
4 4
 	"testing"
5 5
 
6
-	"github.com/go-gitea/gitea/modules/setting"
6
+	"code.gitea.io/gitea/modules/setting"
7 7
 	"github.com/stretchr/testify/assert"
8 8
 	"strk.kbt.io/projects/go/libravatar"
9 9
 )

+ 3 - 3
modules/context/api.go

@@ -9,9 +9,9 @@ import (
9 9
 	"strings"
10 10
 
11 11
 	"github.com/Unknwon/paginater"
12
-	"github.com/go-gitea/gitea/modules/base"
13
-	"github.com/go-gitea/gitea/modules/log"
14
-	"github.com/go-gitea/gitea/modules/setting"
12
+	"code.gitea.io/gitea/modules/base"
13
+	"code.gitea.io/gitea/modules/log"
14
+	"code.gitea.io/gitea/modules/setting"
15 15
 	macaron "gopkg.in/macaron.v1"
16 16
 )
17 17
 

+ 1 - 1
modules/context/api_org.go

@@ -5,7 +5,7 @@
5 5
 package context
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/models"
8
+	"code.gitea.io/gitea/models"
9 9
 )
10 10
 
11 11
 type APIOrganization struct {

+ 2 - 2
modules/context/auth.go

@@ -7,8 +7,8 @@ package context
7 7
 import (
8 8
 	"net/url"
9 9
 
10
-	"github.com/go-gitea/gitea/modules/auth"
11
-	"github.com/go-gitea/gitea/modules/setting"
10
+	"code.gitea.io/gitea/modules/auth"
11
+	"code.gitea.io/gitea/modules/setting"
12 12
 	"github.com/go-macaron/csrf"
13 13
 	macaron "gopkg.in/macaron.v1"
14 14
 )

+ 5 - 5
modules/context/context.go

@@ -12,11 +12,11 @@ import (
12 12
 	"strings"
13 13
 	"time"
14 14
 
15
-	"github.com/go-gitea/gitea/models"
16
-	"github.com/go-gitea/gitea/modules/auth"
17
-	"github.com/go-gitea/gitea/modules/base"
18
-	"github.com/go-gitea/gitea/modules/log"
19
-	"github.com/go-gitea/gitea/modules/setting"
15
+	"code.gitea.io/gitea/models"
16
+	"code.gitea.io/gitea/modules/auth"
17
+	"code.gitea.io/gitea/modules/base"
18
+	"code.gitea.io/gitea/modules/log"
19
+	"code.gitea.io/gitea/modules/setting"
20 20
 	"github.com/go-macaron/cache"
21 21
 	"github.com/go-macaron/csrf"
22 22
 	"github.com/go-macaron/i18n"

+ 2 - 2
modules/context/org.go

@@ -7,8 +7,8 @@ package context
7 7
 import (
8 8
 	"strings"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/setting"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/setting"
12 12
 	macaron "gopkg.in/macaron.v1"
13 13
 )
14 14
 

+ 4 - 4
modules/context/repo.go

@@ -11,10 +11,10 @@ import (
11 11
 	"strings"
12 12
 
13 13
 	"github.com/Unknwon/com"
14
-	"github.com/go-gitea/gitea/models"
15
-	"github.com/go-gitea/gitea/modules/log"
16
-	"github.com/go-gitea/gitea/modules/setting"
17
-	"github.com/go-gitea/git"
14
+	"code.gitea.io/gitea/models"
15
+	"code.gitea.io/gitea/modules/log"
16
+	"code.gitea.io/gitea/modules/setting"
17
+	"code.gitea.io/git"
18 18
 	editorconfig "gopkg.in/editorconfig/editorconfig-core-go.v1"
19 19
 	macaron "gopkg.in/macaron.v1"
20 20
 )

+ 3 - 3
modules/cron/cron.go

@@ -9,9 +9,9 @@ import (
9 9
 
10 10
 	"github.com/gogits/cron"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/log"
14
-	"github.com/go-gitea/gitea/modules/setting"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/log"
14
+	"code.gitea.io/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 var c = cron.New()

+ 2 - 2
modules/mailer/mailer.go

@@ -17,8 +17,8 @@ import (
17 17
 	"github.com/jaytaylor/html2text"
18 18
 	"gopkg.in/gomail.v2"
19 19
 
20
-	"github.com/go-gitea/gitea/modules/log"
21
-	"github.com/go-gitea/gitea/modules/setting"
20
+	"code.gitea.io/gitea/modules/log"
21
+	"code.gitea.io/gitea/modules/setting"
22 22
 )
23 23
 
24 24
 type Message struct {

+ 2 - 2
modules/markdown/markdown.go

@@ -18,8 +18,8 @@ import (
18 18
 	"github.com/russross/blackfriday"
19 19
 	"golang.org/x/net/html"
20 20
 
21
-	"github.com/go-gitea/gitea/modules/base"
22
-	"github.com/go-gitea/gitea/modules/setting"
21
+	"code.gitea.io/gitea/modules/base"
22
+	"code.gitea.io/gitea/modules/setting"
23 23
 )
24 24
 
25 25
 const (

+ 2 - 2
modules/markdown/markdown_test.go

@@ -4,8 +4,8 @@ import (
4 4
 	"bytes"
5 5
 	"testing"
6 6
 
7
-	. "github.com/go-gitea/gitea/modules/markdown"
8
-	"github.com/go-gitea/gitea/modules/setting"
7
+	. "code.gitea.io/gitea/modules/markdown"
8
+	"code.gitea.io/gitea/modules/setting"
9 9
 	"github.com/russross/blackfriday"
10 10
 	. "github.com/smartystreets/goconvey/convey"
11 11
 )

+ 1 - 1
modules/process/manager.go

@@ -11,7 +11,7 @@ import (
11 11
 	"os/exec"
12 12
 	"time"
13 13
 
14
-	"github.com/go-gitea/gitea/modules/log"
14
+	"code.gitea.io/gitea/modules/log"
15 15
 )
16 16
 
17 17
 var (

+ 3 - 3
modules/setting/setting.go

@@ -25,9 +25,9 @@ import (
25 25
 	"gopkg.in/ini.v1"
26 26
 	"strk.kbt.io/projects/go/libravatar"
27 27
 
28
-	"github.com/go-gitea/gitea/modules/bindata"
29
-	"github.com/go-gitea/gitea/modules/log"
30
-	"github.com/go-gitea/gitea/modules/user"
28
+	"code.gitea.io/gitea/modules/bindata"
29
+	"code.gitea.io/gitea/modules/log"
30
+	"code.gitea.io/gitea/modules/user"
31 31
 )
32 32
 
33 33
 type Scheme string

+ 3 - 3
modules/ssh/ssh.go

@@ -17,9 +17,9 @@ import (
17 17
 	"github.com/Unknwon/com"
18 18
 	"golang.org/x/crypto/ssh"
19 19
 
20
-	"github.com/go-gitea/gitea/models"
21
-	"github.com/go-gitea/gitea/modules/log"
22
-	"github.com/go-gitea/gitea/modules/setting"
20
+	"code.gitea.io/gitea/models"
21
+	"code.gitea.io/gitea/modules/log"
22
+	"code.gitea.io/gitea/modules/setting"
23 23
 )
24 24
 
25 25
 func cleanCommand(cmd string) string {

+ 1 - 1
modules/template/highlight/highlight.go

@@ -8,7 +8,7 @@ import (
8 8
 	"path"
9 9
 	"strings"
10 10
 
11
-	"github.com/go-gitea/gitea/modules/setting"
11
+	"code.gitea.io/gitea/modules/setting"
12 12
 )
13 13
 
14 14
 var (

+ 5 - 5
modules/template/template.go

@@ -19,11 +19,11 @@ import (
19 19
 	"golang.org/x/text/transform"
20 20
 	"gopkg.in/editorconfig/editorconfig-core-go.v1"
21 21
 
22
-	"github.com/go-gitea/gitea/models"
23
-	"github.com/go-gitea/gitea/modules/base"
24
-	"github.com/go-gitea/gitea/modules/log"
25
-	"github.com/go-gitea/gitea/modules/markdown"
26
-	"github.com/go-gitea/gitea/modules/setting"
22
+	"code.gitea.io/gitea/models"
23
+	"code.gitea.io/gitea/modules/base"
24
+	"code.gitea.io/gitea/modules/log"
25
+	"code.gitea.io/gitea/modules/markdown"
26
+	"code.gitea.io/gitea/modules/setting"
27 27
 )
28 28
 
29 29
 func NewFuncMap() []template.FuncMap {

+ 6 - 6
routers/admin/admin.go

@@ -13,12 +13,12 @@ import (
13 13
 	"github.com/Unknwon/com"
14 14
 	"gopkg.in/macaron.v1"
15 15
 
16
-	"github.com/go-gitea/gitea/models"
17
-	"github.com/go-gitea/gitea/modules/base"
18
-	"github.com/go-gitea/gitea/modules/context"
19
-	"github.com/go-gitea/gitea/modules/cron"
20
-	"github.com/go-gitea/gitea/modules/process"
21
-	"github.com/go-gitea/gitea/modules/setting"
16
+	"code.gitea.io/gitea/models"
17
+	"code.gitea.io/gitea/modules/base"
18
+	"code.gitea.io/gitea/modules/context"
19
+	"code.gitea.io/gitea/modules/cron"
20
+	"code.gitea.io/gitea/modules/process"
21
+	"code.gitea.io/gitea/modules/setting"
22 22
 )
23 23
 
24 24
 const (

+ 7 - 7
routers/admin/auths.go

@@ -10,13 +10,13 @@ import (
10 10
 	"github.com/Unknwon/com"
11 11
 	"github.com/go-xorm/core"
12 12
 
13
-	"github.com/go-gitea/gitea/models"
14
-	"github.com/go-gitea/gitea/modules/auth"
15
-	"github.com/go-gitea/gitea/modules/auth/ldap"
16
-	"github.com/go-gitea/gitea/modules/base"
17
-	"github.com/go-gitea/gitea/modules/context"
18
-	"github.com/go-gitea/gitea/modules/log"
19
-	"github.com/go-gitea/gitea/modules/setting"
13
+	"code.gitea.io/gitea/models"
14
+	"code.gitea.io/gitea/modules/auth"
15
+	"code.gitea.io/gitea/modules/auth/ldap"
16
+	"code.gitea.io/gitea/modules/base"
17
+	"code.gitea.io/gitea/modules/context"
18
+	"code.gitea.io/gitea/modules/log"
19
+	"code.gitea.io/gitea/modules/setting"
20 20
 )
21 21
 
22 22
 const (

+ 5 - 5
routers/admin/notice.go

@@ -8,11 +8,11 @@ import (
8 8
 	"github.com/Unknwon/com"
9 9
 	"github.com/Unknwon/paginater"
10 10
 
11
-	"github.com/go-gitea/gitea/models"
12
-	"github.com/go-gitea/gitea/modules/base"
13
-	"github.com/go-gitea/gitea/modules/context"
14
-	"github.com/go-gitea/gitea/modules/log"
15
-	"github.com/go-gitea/gitea/modules/setting"
11
+	"code.gitea.io/gitea/models"
12
+	"code.gitea.io/gitea/modules/base"
13
+	"code.gitea.io/gitea/modules/context"
14
+	"code.gitea.io/gitea/modules/log"
15
+	"code.gitea.io/gitea/modules/setting"
16 16
 )
17 17
 
18 18
 const (

+ 5 - 5
routers/admin/orgs.go

@@ -5,11 +5,11 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/models"
9
-	"github.com/go-gitea/gitea/modules/base"
10
-	"github.com/go-gitea/gitea/modules/context"
11
-	"github.com/go-gitea/gitea/modules/setting"
12
-	"github.com/go-gitea/gitea/routers"
8
+	"code.gitea.io/gitea/models"
9
+	"code.gitea.io/gitea/modules/base"
10
+	"code.gitea.io/gitea/modules/context"
11
+	"code.gitea.io/gitea/modules/setting"
12
+	"code.gitea.io/gitea/routers"
13 13
 )
14 14
 
15 15
 const (

+ 6 - 6
routers/admin/repos.go

@@ -5,12 +5,12 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/models"
9
-	"github.com/go-gitea/gitea/modules/base"
10
-	"github.com/go-gitea/gitea/modules/context"
11
-	"github.com/go-gitea/gitea/modules/log"
12
-	"github.com/go-gitea/gitea/modules/setting"
13
-	"github.com/go-gitea/gitea/routers"
8
+	"code.gitea.io/gitea/models"
9
+	"code.gitea.io/gitea/modules/base"
10
+	"code.gitea.io/gitea/modules/context"
11
+	"code.gitea.io/gitea/modules/log"
12
+	"code.gitea.io/gitea/modules/setting"
13
+	"code.gitea.io/gitea/routers"
14 14
 )
15 15
 
16 16
 const (

+ 7 - 7
routers/admin/users.go

@@ -9,13 +9,13 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/com"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/auth"
14
-	"github.com/go-gitea/gitea/modules/base"
15
-	"github.com/go-gitea/gitea/modules/context"
16
-	"github.com/go-gitea/gitea/modules/log"
17
-	"github.com/go-gitea/gitea/modules/setting"
18
-	"github.com/go-gitea/gitea/routers"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/auth"
14
+	"code.gitea.io/gitea/modules/base"
15
+	"code.gitea.io/gitea/modules/context"
16
+	"code.gitea.io/gitea/modules/log"
17
+	"code.gitea.io/gitea/modules/setting"
18
+	"code.gitea.io/gitea/routers"
19 19
 )
20 20
 
21 21
 const (

+ 5 - 5
routers/api/v1/admin/org.go

@@ -5,12 +5,12 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
13
-	"github.com/go-gitea/gitea/routers/api/v1/user"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/routers/api/v1/convert"
13
+	"code.gitea.io/gitea/routers/api/v1/user"
14 14
 )
15 15
 
16 16
 // https://github.com/gogits/go-gogs-client/wiki/Administration-Organizations#create-a-new-organization

+ 2 - 2
routers/api/v1/admin/org_repo.go

@@ -5,8 +5,8 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/models"
9
-	"github.com/go-gitea/gitea/modules/context"
8
+	"code.gitea.io/gitea/models"
9
+	"code.gitea.io/gitea/modules/context"
10 10
 )
11 11
 
12 12
 func GetRepositoryByParams(ctx *context.APIContext) *models.Repository {

+ 5 - 5
routers/api/v1/admin/org_team.go

@@ -5,12 +5,12 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
13
-	"github.com/go-gitea/gitea/routers/api/v1/user"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/routers/api/v1/convert"
13
+	"code.gitea.io/gitea/routers/api/v1/user"
14 14
 )
15 15
 
16 16
 func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption) {

+ 4 - 4
routers/api/v1/admin/repo.go

@@ -5,11 +5,11 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/modules/context"
11
-	"github.com/go-gitea/gitea/routers/api/v1/repo"
12
-	"github.com/go-gitea/gitea/routers/api/v1/user"
10
+	"code.gitea.io/gitea/modules/context"
11
+	"code.gitea.io/gitea/routers/api/v1/repo"
12
+	"code.gitea.io/gitea/routers/api/v1/user"
13 13
 )
14 14
 
15 15
 // https://github.com/gogits/go-gogs-client/wiki/Administration-Repositories#create-a-new-repository

+ 6 - 6
routers/api/v1/admin/user.go

@@ -5,13 +5,13 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/modules/log"
13
-	"github.com/go-gitea/gitea/modules/setting"
14
-	"github.com/go-gitea/gitea/routers/api/v1/user"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/modules/log"
13
+	"code.gitea.io/gitea/modules/setting"
14
+	"code.gitea.io/gitea/routers/api/v1/user"
15 15
 )
16 16
 
17 17
 func parseLoginSource(ctx *context.APIContext, u *models.User, sourceID int64, loginName string) {

+ 10 - 10
routers/api/v1/api.go

@@ -10,16 +10,16 @@ import (
10 10
 	"github.com/go-macaron/binding"
11 11
 	"gopkg.in/macaron.v1"
12 12
 
13
-	api "github.com/go-gitea/go-sdk/gitea"
14
-
15
-	"github.com/go-gitea/gitea/models"
16
-	"github.com/go-gitea/gitea/modules/auth"
17
-	"github.com/go-gitea/gitea/modules/context"
18
-	"github.com/go-gitea/gitea/routers/api/v1/admin"
19
-	"github.com/go-gitea/gitea/routers/api/v1/misc"
20
-	"github.com/go-gitea/gitea/routers/api/v1/org"
21
-	"github.com/go-gitea/gitea/routers/api/v1/repo"
22
-	"github.com/go-gitea/gitea/routers/api/v1/user"
13
+	api "code.gitea.io/go-sdk/gitea"
14
+
15
+	"code.gitea.io/gitea/models"
16
+	"code.gitea.io/gitea/modules/auth"
17
+	"code.gitea.io/gitea/modules/context"
18
+	"code.gitea.io/gitea/routers/api/v1/admin"
19
+	"code.gitea.io/gitea/routers/api/v1/misc"
20
+	"code.gitea.io/gitea/routers/api/v1/org"
21
+	"code.gitea.io/gitea/routers/api/v1/repo"
22
+	"code.gitea.io/gitea/routers/api/v1/user"
23 23
 )
24 24
 
25 25
 func repoAssignment() macaron.Handler {

+ 3 - 3
routers/api/v1/convert/convert.go

@@ -9,10 +9,10 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/com"
11 11
 
12
-	"github.com/go-gitea/git"
13
-	api "github.com/go-gitea/go-sdk/gitea"
12
+	"code.gitea.io/git"
13
+	api "code.gitea.io/go-sdk/gitea"
14 14
 
15
-	"github.com/go-gitea/gitea/models"
15
+	"code.gitea.io/gitea/models"
16 16
 )
17 17
 
18 18
 func ToEmail(email *models.EmailAddress) *api.Email {

+ 1 - 1
routers/api/v1/convert/utils.go

@@ -5,7 +5,7 @@
5 5
 package convert
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/modules/setting"
8
+	"code.gitea.io/gitea/modules/setting"
9 9
 )
10 10
 
11 11
 // ToCorrectPageSize makes sure page size is in allowed range.

+ 3 - 3
routers/api/v1/misc/markdown.go

@@ -5,10 +5,10 @@
5 5
 package misc
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/modules/context"
11
-	"github.com/go-gitea/gitea/modules/markdown"
10
+	"code.gitea.io/gitea/modules/context"
11
+	"code.gitea.io/gitea/modules/markdown"
12 12
 )
13 13
 
14 14
 // https://github.com/gogits/go-gogs-client/wiki/Miscellaneous#render-an-arbitrary-markdown-document

+ 5 - 5
routers/api/v1/org/org.go

@@ -5,12 +5,12 @@
5 5
 package org
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
13
-	"github.com/go-gitea/gitea/routers/api/v1/user"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/routers/api/v1/convert"
13
+	"code.gitea.io/gitea/routers/api/v1/user"
14 14
 )
15 15
 
16 16
 func listUserOrgs(ctx *context.APIContext, u *models.User, all bool) {

+ 3 - 3
routers/api/v1/org/team.go

@@ -5,10 +5,10 @@
5 5
 package org
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/modules/context"
11
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
10
+	"code.gitea.io/gitea/modules/context"
11
+	"code.gitea.io/gitea/routers/api/v1/convert"
12 12
 )
13 13
 
14 14
 func ListTeams(ctx *context.APIContext) {

+ 3 - 3
routers/api/v1/repo/branch.go

@@ -5,10 +5,10 @@
5 5
 package repo
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/modules/context"
11
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
10
+	"code.gitea.io/gitea/modules/context"
11
+	"code.gitea.io/gitea/routers/api/v1/convert"
12 12
 )
13 13
 
14 14
 // https://github.com/gogits/go-gogs-client/wiki/Repositories#get-branch

+ 3 - 3
routers/api/v1/repo/collaborators.go

@@ -5,10 +5,10 @@
5 5
 package repo
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func AddCollaborator(ctx *context.APIContext, form api.AddCollaboratorOption) {

+ 4 - 4
routers/api/v1/repo/file.go

@@ -5,11 +5,11 @@
5 5
 package repo
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/git"
8
+	"code.gitea.io/git"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/routers/repo"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/routers/repo"
13 13
 )
14 14
 
15 15
 // https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-raw-content

+ 4 - 4
routers/api/v1/repo/hook.go

@@ -9,11 +9,11 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/com"
11 11
 
12
-	api "github.com/go-gitea/go-sdk/gitea"
12
+	api "code.gitea.io/go-sdk/gitea"
13 13
 
14
-	"github.com/go-gitea/gitea/models"
15
-	"github.com/go-gitea/gitea/modules/context"
16
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
14
+	"code.gitea.io/gitea/models"
15
+	"code.gitea.io/gitea/modules/context"
16
+	"code.gitea.io/gitea/routers/api/v1/convert"
17 17
 )
18 18
 
19 19
 // https://github.com/gogits/go-gogs-client/wiki/Repositories#list-hooks

+ 4 - 4
routers/api/v1/repo/issue.go

@@ -8,11 +8,11 @@ import (
8 8
 	"fmt"
9 9
 	"strings"
10 10
 
11
-	api "github.com/go-gitea/go-sdk/gitea"
11
+	api "code.gitea.io/go-sdk/gitea"
12 12
 
13
-	"github.com/go-gitea/gitea/models"
14
-	"github.com/go-gitea/gitea/modules/context"
15
-	"github.com/go-gitea/gitea/modules/setting"
13
+	"code.gitea.io/gitea/models"
14
+	"code.gitea.io/gitea/modules/context"
15
+	"code.gitea.io/gitea/modules/setting"
16 16
 )
17 17
 
18 18
 func ListIssues(ctx *context.APIContext) {

+ 3 - 3
routers/api/v1/repo/issue_comment.go

@@ -6,10 +6,10 @@ package repo
6 6
 import (
7 7
 	"time"
8 8
 
9
-	api "github.com/go-gitea/go-sdk/gitea"
9
+	api "code.gitea.io/go-sdk/gitea"
10 10
 
11
-	"github.com/go-gitea/gitea/models"
12
-	"github.com/go-gitea/gitea/modules/context"
11
+	"code.gitea.io/gitea/models"
12
+	"code.gitea.io/gitea/modules/context"
13 13
 )
14 14
 
15 15
 func ListIssueComments(ctx *context.APIContext) {

+ 3 - 3
routers/api/v1/repo/issue_label.go

@@ -5,10 +5,10 @@
5 5
 package repo
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func ListIssueLabels(ctx *context.APIContext) {

+ 5 - 5
routers/api/v1/repo/key.go

@@ -7,12 +7,12 @@ package repo
7 7
 import (
8 8
 	"fmt"
9 9
 
10
-	api "github.com/go-gitea/go-sdk/gitea"
10
+	api "code.gitea.io/go-sdk/gitea"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/context"
14
-	"github.com/go-gitea/gitea/modules/setting"
15
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/context"
14
+	"code.gitea.io/gitea/modules/setting"
15
+	"code.gitea.io/gitea/routers/api/v1/convert"
16 16
 )
17 17
 
18 18
 func composeDeployKeysAPILink(repoPath string) string {

+ 3 - 3
routers/api/v1/repo/label.go

@@ -5,10 +5,10 @@
5 5
 package repo
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func ListLabels(ctx *context.APIContext) {

+ 3 - 3
routers/api/v1/repo/milestone.go

@@ -7,10 +7,10 @@ package repo
7 7
 import (
8 8
 	"time"
9 9
 
10
-	api "github.com/go-gitea/go-sdk/gitea"
10
+	api "code.gitea.io/go-sdk/gitea"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/context"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/context"
14 14
 )
15 15
 
16 16
 func ListMilestones(ctx *context.APIContext) {

+ 8 - 8
routers/api/v1/repo/repo.go

@@ -7,14 +7,14 @@ package repo
7 7
 import (
8 8
 	"path"
9 9
 
10
-	api "github.com/go-gitea/go-sdk/gitea"
11
-
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/auth"
14
-	"github.com/go-gitea/gitea/modules/context"
15
-	"github.com/go-gitea/gitea/modules/log"
16
-	"github.com/go-gitea/gitea/modules/setting"
17
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
10
+	api "code.gitea.io/go-sdk/gitea"
11
+
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/auth"
14
+	"code.gitea.io/gitea/modules/context"
15
+	"code.gitea.io/gitea/modules/log"
16
+	"code.gitea.io/gitea/modules/setting"
17
+	"code.gitea.io/gitea/routers/api/v1/convert"
18 18
 )
19 19
 
20 20
 // https://github.com/gogits/go-gogs-client/wiki/Repositories#search-repositories

+ 3 - 3
routers/api/v1/user/app.go

@@ -5,10 +5,10 @@
5 5
 package user
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12 12
 )
13 13
 
14 14
 // https://github.com/gogits/go-gogs-client/wiki/Users#list-access-tokens-for-a-user

+ 5 - 5
routers/api/v1/user/email.go

@@ -5,12 +5,12 @@
5 5
 package user
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/modules/setting"
13
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/modules/setting"
13
+	"code.gitea.io/gitea/routers/api/v1/convert"
14 14
 )
15 15
 
16 16
 // https://github.com/gogits/go-gogs-client/wiki/Users-Emails#list-email-addresses-for-a-user

+ 3 - 3
routers/api/v1/user/follower.go

@@ -5,10 +5,10 @@
5 5
 package user
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func responseApiUsers(ctx *context.APIContext, users []*models.User) {

+ 6 - 6
routers/api/v1/user/key.go

@@ -5,13 +5,13 @@
5 5
 package user
6 6
 
7 7
 import (
8
-	api "github.com/go-gitea/go-sdk/gitea"
8
+	api "code.gitea.io/go-sdk/gitea"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/modules/setting"
13
-	"github.com/go-gitea/gitea/routers/api/v1/convert"
14
-	"github.com/go-gitea/gitea/routers/api/v1/repo"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/modules/setting"
13
+	"code.gitea.io/gitea/routers/api/v1/convert"
14
+	"code.gitea.io/gitea/routers/api/v1/repo"
15 15
 )
16 16
 
17 17
 func GetUserByParamsName(ctx *context.APIContext, name string) *models.User {

+ 3 - 3
routers/api/v1/user/user.go

@@ -7,10 +7,10 @@ package user
7 7
 import (
8 8
 	"github.com/Unknwon/com"
9 9
 
10
-	api "github.com/go-gitea/go-sdk/gitea"
10
+	api "code.gitea.io/go-sdk/gitea"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/context"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/context"
14 14
 )
15 15
 
16 16
 func Search(ctx *context.APIContext) {

+ 4 - 4
routers/dev/template.go

@@ -5,10 +5,10 @@
5 5
 package dev
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/models"
9
-	"github.com/go-gitea/gitea/modules/base"
10
-	"github.com/go-gitea/gitea/modules/context"
11
-	"github.com/go-gitea/gitea/modules/setting"
8
+	"code.gitea.io/gitea/models"
9
+	"code.gitea.io/gitea/modules/base"
10
+	"code.gitea.io/gitea/modules/context"
11
+	"code.gitea.io/gitea/modules/setting"
12 12
 )
13 13
 
14 14
 func TemplatePreview(ctx *context.Context) {

+ 5 - 5
routers/home.go

@@ -9,11 +9,11 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/paginater"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/base"
14
-	"github.com/go-gitea/gitea/modules/context"
15
-	"github.com/go-gitea/gitea/modules/setting"
16
-	"github.com/go-gitea/gitea/routers/user"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/base"
14
+	"code.gitea.io/gitea/modules/context"
15
+	"code.gitea.io/gitea/modules/setting"
16
+	"code.gitea.io/gitea/routers/user"
17 17
 )
18 18
 
19 19
 const (

+ 14 - 14
routers/install.go

@@ -17,20 +17,20 @@ import (
17 17
 	"gopkg.in/ini.v1"
18 18
 	"gopkg.in/macaron.v1"
19 19
 
20
-	"github.com/go-gitea/git"
21
-
22
-	"github.com/go-gitea/gitea/models"
23
-	"github.com/go-gitea/gitea/modules/auth"
24
-	"github.com/go-gitea/gitea/modules/base"
25
-	"github.com/go-gitea/gitea/modules/context"
26
-	"github.com/go-gitea/gitea/modules/cron"
27
-	"github.com/go-gitea/gitea/modules/log"
28
-	"github.com/go-gitea/gitea/modules/mailer"
29
-	"github.com/go-gitea/gitea/modules/markdown"
30
-	"github.com/go-gitea/gitea/modules/setting"
31
-	"github.com/go-gitea/gitea/modules/ssh"
32
-	"github.com/go-gitea/gitea/modules/template/highlight"
33
-	"github.com/go-gitea/gitea/modules/user"
20
+	"code.gitea.io/git"
21
+
22
+	"code.gitea.io/gitea/models"
23
+	"code.gitea.io/gitea/modules/auth"
24
+	"code.gitea.io/gitea/modules/base"
25
+	"code.gitea.io/gitea/modules/context"
26
+	"code.gitea.io/gitea/modules/cron"
27
+	"code.gitea.io/gitea/modules/log"
28
+	"code.gitea.io/gitea/modules/mailer"
29
+	"code.gitea.io/gitea/modules/markdown"
30
+	"code.gitea.io/gitea/modules/setting"
31
+	"code.gitea.io/gitea/modules/ssh"
32
+	"code.gitea.io/gitea/modules/template/highlight"
33
+	"code.gitea.io/gitea/modules/user"
34 34
 )
35 35
 
36 36
 const (

+ 5 - 5
routers/org/members.go

@@ -7,11 +7,11 @@ package org
7 7
 import (
8 8
 	"github.com/Unknwon/com"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/base"
12
-	"github.com/go-gitea/gitea/modules/context"
13
-	"github.com/go-gitea/gitea/modules/log"
14
-	"github.com/go-gitea/gitea/modules/setting"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/base"
12
+	"code.gitea.io/gitea/modules/context"
13
+	"code.gitea.io/gitea/modules/log"
14
+	"code.gitea.io/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 const (

+ 6 - 6
routers/org/org.go

@@ -5,12 +5,12 @@
5 5
 package org
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/models"
9
-	"github.com/go-gitea/gitea/modules/auth"
10
-	"github.com/go-gitea/gitea/modules/base"
11
-	"github.com/go-gitea/gitea/modules/context"
12
-	"github.com/go-gitea/gitea/modules/log"
13
-	"github.com/go-gitea/gitea/modules/setting"
8
+	"code.gitea.io/gitea/models"
9
+	"code.gitea.io/gitea/modules/auth"
10
+	"code.gitea.io/gitea/modules/base"
11
+	"code.gitea.io/gitea/modules/context"
12
+	"code.gitea.io/gitea/modules/log"
13
+	"code.gitea.io/gitea/modules/setting"
14 14
 )
15 15
 
16 16
 const (

+ 7 - 7
routers/org/setting.go

@@ -7,13 +7,13 @@ package org
7 7
 import (
8 8
 	"strings"
9 9
 
10
-	"github.com/go-gitea/gitea/models"
11
-	"github.com/go-gitea/gitea/modules/auth"
12
-	"github.com/go-gitea/gitea/modules/base"
13
-	"github.com/go-gitea/gitea/modules/context"
14
-	"github.com/go-gitea/gitea/modules/log"
15
-	"github.com/go-gitea/gitea/modules/setting"
16
-	"github.com/go-gitea/gitea/routers/user"
10
+	"code.gitea.io/gitea/models"
11
+	"code.gitea.io/gitea/modules/auth"
12
+	"code.gitea.io/gitea/modules/base"
13
+	"code.gitea.io/gitea/modules/context"
14
+	"code.gitea.io/gitea/modules/log"
15
+	"code.gitea.io/gitea/modules/setting"
16
+	"code.gitea.io/gitea/routers/user"
17 17
 )
18 18
 
19 19
 const (

+ 5 - 5
routers/org/teams.go

@@ -9,11 +9,11 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/com"
11 11
 
12
-	"github.com/go-gitea/gitea/models"
13
-	"github.com/go-gitea/gitea/modules/auth"
14
-	"github.com/go-gitea/gitea/modules/base"
15
-	"github.com/go-gitea/gitea/modules/context"
16
-	"github.com/go-gitea/gitea/modules/log"
12
+	"code.gitea.io/gitea/models"
13
+	"code.gitea.io/gitea/modules/auth"
14
+	"code.gitea.io/gitea/modules/base"
15
+	"code.gitea.io/gitea/modules/context"
16
+	"code.gitea.io/gitea/modules/log"
17 17
 )
18 18
 
19 19
 const (

+ 2 - 2
routers/repo/branch.go

@@ -5,8 +5,8 @@
5 5
 package repo
6 6
 
7 7
 import (
8
-	"github.com/go-gitea/gitea/modules/base"
9
-	"github.com/go-gitea/gitea/modules/context"
8
+	"code.gitea.io/gitea/modules/base"
9
+	"code.gitea.io/gitea/modules/context"
10 10
 )
11 11
 
12 12
 const (

+ 5 - 5
routers/repo/commit.go

@@ -9,11 +9,11 @@ import (
9 9
 	"path"
10 10
 
11 11
 	"github.com/Unknwon/paginater"
12
-	"github.com/go-gitea/git"
13
-	"github.com/go-gitea/gitea/models"
14
-	"github.com/go-gitea/gitea/modules/base"
15
-	"github.com/go-gitea/gitea/modules/context"
16
-	"github.com/go-gitea/gitea/modules/setting"
12
+	"code.gitea.io/git"
13
+	"code.gitea.io/gitea/models"
14
+	"code.gitea.io/gitea/modules/base"
15
+	"code.gitea.io/gitea/modules/context"
16
+	"code.gitea.io/gitea/modules/setting"
17 17
 )
18 18
 
19 19
 const (

+ 3 - 3
routers/repo/download.go

@@ -8,10 +8,10 @@ import (
8 8
 	"io"
9 9
 	"path"
10 10
 
11
-	"github.com/go-gitea/git"
11
+	"code.gitea.io/git"
12 12
 
13
-	"github.com/go-gitea/gitea/modules/base"
14
-	"github.com/go-gitea/gitea/modules/context"
13
+	"code.gitea.io/gitea/modules/base"
14
+	"code.gitea.io/gitea/modules/context"
15 15
 )
16 16
 
17 17
 func ServeData(ctx *context.Context, name string, reader io.Reader) error {

+ 0 - 0
routers/repo/editor.go


Some files were not shown because too many files changed in this diff