summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/repo
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/repo')
-rw-r--r--routers/api/v1/repo/branch.go4
-rw-r--r--routers/api/v1/repo/collaborators.go4
-rw-r--r--routers/api/v1/repo/file.go6
-rw-r--r--routers/api/v1/repo/hook.go6
-rw-r--r--routers/api/v1/repo/issue.go6
-rw-r--r--routers/api/v1/repo/issue_comment.go4
-rw-r--r--routers/api/v1/repo/issue_label.go4
-rw-r--r--routers/api/v1/repo/key.go8
-rw-r--r--routers/api/v1/repo/label.go4
-rw-r--r--routers/api/v1/repo/milestone.go4
-rw-r--r--routers/api/v1/repo/repo.go12
11 files changed, 31 insertions, 31 deletions
diff --git a/routers/api/v1/repo/branch.go b/routers/api/v1/repo/branch.go
index a141921eac..f4327378dc 100644
--- a/routers/api/v1/repo/branch.go
+++ b/routers/api/v1/repo/branch.go
@@ -7,8 +7,8 @@ package repo
import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/routers/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories#get-branch
diff --git a/routers/api/v1/repo/collaborators.go b/routers/api/v1/repo/collaborators.go
index e14875cbec..cfb2118905 100644
--- a/routers/api/v1/repo/collaborators.go
+++ b/routers/api/v1/repo/collaborators.go
@@ -7,8 +7,8 @@ package repo
import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
)
func AddCollaborator(ctx *context.APIContext, form api.AddCollaboratorOption) {
diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go
index ee9d15a322..0dabea8b96 100644
--- a/routers/api/v1/repo/file.go
+++ b/routers/api/v1/repo/file.go
@@ -7,9 +7,9 @@ package repo
import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/routers/repo"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/routers/repo"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-raw-content
diff --git a/routers/api/v1/repo/hook.go b/routers/api/v1/repo/hook.go
index 3b36055db5..315172199b 100644
--- a/routers/api/v1/repo/hook.go
+++ b/routers/api/v1/repo/hook.go
@@ -11,9 +11,9 @@ import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/routers/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories#list-hooks
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go
index fe967ae0a5..9193c02106 100644
--- a/routers/api/v1/repo/issue.go
+++ b/routers/api/v1/repo/issue.go
@@ -10,9 +10,9 @@ import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/setting"
)
func ListIssues(ctx *context.APIContext) {
diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go
index 3957600b7b..71ce19fe33 100644
--- a/routers/api/v1/repo/issue_comment.go
+++ b/routers/api/v1/repo/issue_comment.go
@@ -8,8 +8,8 @@ import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
)
func ListIssueComments(ctx *context.APIContext) {
diff --git a/routers/api/v1/repo/issue_label.go b/routers/api/v1/repo/issue_label.go
index f1eed2112a..0d520a4f93 100644
--- a/routers/api/v1/repo/issue_label.go
+++ b/routers/api/v1/repo/issue_label.go
@@ -7,8 +7,8 @@ package repo
import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
)
func ListIssueLabels(ctx *context.APIContext) {
diff --git a/routers/api/v1/repo/key.go b/routers/api/v1/repo/key.go
index 563dac2615..ec60bc516b 100644
--- a/routers/api/v1/repo/key.go
+++ b/routers/api/v1/repo/key.go
@@ -9,10 +9,10 @@ import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/setting"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/setting"
+ "github.com/go-gitea/gitea/routers/api/v1/convert"
)
func composeDeployKeysAPILink(repoPath string) string {
diff --git a/routers/api/v1/repo/label.go b/routers/api/v1/repo/label.go
index 705206cef7..efa68b0a1d 100644
--- a/routers/api/v1/repo/label.go
+++ b/routers/api/v1/repo/label.go
@@ -7,8 +7,8 @@ package repo
import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
)
func ListLabels(ctx *context.APIContext) {
diff --git a/routers/api/v1/repo/milestone.go b/routers/api/v1/repo/milestone.go
index 652ccbb5c6..8913190f6d 100644
--- a/routers/api/v1/repo/milestone.go
+++ b/routers/api/v1/repo/milestone.go
@@ -9,8 +9,8 @@ import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/context"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/context"
)
func ListMilestones(ctx *context.APIContext) {
diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go
index cc75f5bf4e..e6890ca33d 100644
--- a/routers/api/v1/repo/repo.go
+++ b/routers/api/v1/repo/repo.go
@@ -9,12 +9,12 @@ import (
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
+ "github.com/go-gitea/gitea/routers/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories#search-repositories