aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/branch.go4
-rw-r--r--routers/repo/commit.go8
-rw-r--r--routers/repo/download.go4
-rw-r--r--routers/repo/editor.go14
-rw-r--r--routers/repo/http.go10
-rw-r--r--routers/repo/issue.go14
-rw-r--r--routers/repo/pull.go12
-rw-r--r--routers/repo/release.go12
-rw-r--r--routers/repo/repo.go12
-rw-r--r--routers/repo/setting.go12
-rw-r--r--routers/repo/view.go16
-rw-r--r--routers/repo/webhook.go10
-rw-r--r--routers/repo/wiki.go10
13 files changed, 69 insertions, 69 deletions
diff --git a/routers/repo/branch.go b/routers/repo/branch.go
index 00f30b0f13..139b3fb237 100644
--- a/routers/repo/branch.go
+++ b/routers/repo/branch.go
@@ -5,8 +5,8 @@
package repo
import (
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
)
const (
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index b9ced49ed2..a8e96f0e5e 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -12,10 +12,10 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/setting"
)
const (
diff --git a/routers/repo/download.go b/routers/repo/download.go
index faa30ac9d7..c1f8142cd8 100644
--- a/routers/repo/download.go
+++ b/routers/repo/download.go
@@ -10,8 +10,8 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
)
func ServeData(ctx *context.Context, name string, reader io.Reader) error {
diff --git a/routers/repo/editor.go b/routers/repo/editor.go
index 428a25d568..641cadcb92 100644
--- a/routers/repo/editor.go
+++ b/routers/repo/editor.go
@@ -12,13 +12,13 @@ import (
"strings"
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
- "github.com/gogits/gogs/modules/template"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "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/modules/template"
)
const (
diff --git a/routers/repo/http.go b/routers/repo/http.go
index 80afcec410..a97593f26e 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -22,11 +22,11 @@ import (
git "github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
func HTTP(ctx *context.Context) {
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 21d4c7d964..76d81d0e76 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -17,13 +17,13 @@ import (
"github.com/Unknwon/com"
"github.com/Unknwon/paginater"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/markdown"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/markdown"
+ "github.com/go-gitea/gitea/modules/setting"
)
const (
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index d5d9bc9b07..d345dbee06 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -13,12 +13,12 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
const (
diff --git a/routers/repo/release.go b/routers/repo/release.go
index d612a1cec5..9d87f0967e 100644
--- a/routers/repo/release.go
+++ b/routers/repo/release.go
@@ -7,12 +7,12 @@ package repo
import (
"fmt"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/markdown"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/markdown"
)
const (
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index 74ee3c4ff8..6816124721 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -14,12 +14,12 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
const (
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index 80b44ad220..4bcc470e99 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -10,12 +10,12 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
const (
diff --git a/routers/repo/view.go b/routers/repo/view.go
index c04ef1ee3f..3bb551f2e0 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -16,14 +16,14 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/markdown"
- "github.com/gogits/gogs/modules/setting"
- "github.com/gogits/gogs/modules/template"
- "github.com/gogits/gogs/modules/template/highlight"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/markdown"
+ "github.com/go-gitea/gitea/modules/setting"
+ "github.com/go-gitea/gitea/modules/template"
+ "github.com/go-gitea/gitea/modules/template/highlight"
)
const (
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index d3605b2a42..0c2f7c383e 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -15,11 +15,11 @@ import (
git "github.com/gogits/git-module"
api "github.com/gogits/go-gogs-client"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/setting"
)
const (
diff --git a/routers/repo/wiki.go b/routers/repo/wiki.go
index a20bea25df..4043a96bee 100644
--- a/routers/repo/wiki.go
+++ b/routers/repo/wiki.go
@@ -11,11 +11,11 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/markdown"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/context"
+ "github.com/go-gitea/gitea/modules/markdown"
)
const (