aboutsummaryrefslogtreecommitdiffstats
path: root/routers/private
diff options
context:
space:
mode:
authorTamal Saha <tamal@appscode.com>2019-08-23 09:40:30 -0700
committertechknowlogick <techknowlogick@gitea.io>2019-08-23 12:40:29 -0400
commit171b3598778a1ecd0a921c71ed6755bfef68f7f0 (patch)
tree02857629ef9e8e26ee0ee559153f803f77b588b7 /routers/private
parentca6fb004ac50fc924861112403895d637c6a2d1d (diff)
downloadgitea-171b3598778a1ecd0a921c71ed6755bfef68f7f0.tar.gz
gitea-171b3598778a1ecd0a921c71ed6755bfef68f7f0.zip
Use gitea forked macaron (#7933)
Signed-off-by: Tamal Saha <tamal@appscode.com>
Diffstat (limited to 'routers/private')
-rw-r--r--routers/private/hook.go2
-rw-r--r--routers/private/internal.go2
-rw-r--r--routers/private/key.go2
-rw-r--r--routers/private/push_update.go2
-rw-r--r--routers/private/serv.go2
5 files changed, 5 insertions, 5 deletions
diff --git a/routers/private/hook.go b/routers/private/hook.go
index ee77a00321..1f6ab2f673 100644
--- a/routers/private/hook.go
+++ b/routers/private/hook.go
@@ -18,7 +18,7 @@ import (
"code.gitea.io/gitea/modules/repofiles"
"code.gitea.io/gitea/modules/util"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// HookPreReceive checks whether a individual commit is acceptable
diff --git a/routers/private/internal.go b/routers/private/internal.go
index 11cea8b4b9..3a48f5384d 100644
--- a/routers/private/internal.go
+++ b/routers/private/internal.go
@@ -11,7 +11,7 @@ import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/setting"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// CheckInternalToken check internal token is set
diff --git a/routers/private/key.go b/routers/private/key.go
index 8c1dbd40f1..dcf597d6ba 100644
--- a/routers/private/key.go
+++ b/routers/private/key.go
@@ -9,7 +9,7 @@ import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/timeutil"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// UpdatePublicKeyInRepo update public key and deploy key updates
diff --git a/routers/private/push_update.go b/routers/private/push_update.go
index 733490ce1c..42eda3178b 100644
--- a/routers/private/push_update.go
+++ b/routers/private/push_update.go
@@ -13,7 +13,7 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/repofiles"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// PushUpdate update public key updates
diff --git a/routers/private/serv.go b/routers/private/serv.go
index 90579a3dcc..71c0f6ea2c 100644
--- a/routers/private/serv.go
+++ b/routers/private/serv.go
@@ -15,7 +15,7 @@ import (
"code.gitea.io/gitea/modules/private"
"code.gitea.io/gitea/modules/setting"
- macaron "gopkg.in/macaron.v1"
+ "gitea.com/macaron/macaron"
)
// ServNoCommand returns information about the provided keyid