aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-11 07:57:15 +0800
committerUnknwon <u@gogs.io>2016-07-11 07:57:15 +0800
commit1faaaeb3d9af6e2ddc01363da61faf890165c662 (patch)
treeb98e3b1476f5ba5c6a9e743162b44ae43af5d1cc /cmd
parent12cb84b97fc10184a9c41c6a3b2b839e018db0b3 (diff)
downloadgitea-1faaaeb3d9af6e2ddc01363da61faf890165c662.tar.gz
gitea-1faaaeb3d9af6e2ddc01363da61faf890165c662.zip
Update glide.lock
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 25540a3168..3b50580477 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -78,7 +78,7 @@ func checkVersion() {
// Check dependency version.
checkers := []VerChecker{
- {"github.com/go-xorm/xorm", func() string { return xorm.Version }, "0.5.2.0304"},
+ {"github.com/go-xorm/xorm", func() string { return xorm.Version }, "0.5.5.0711"},
{"github.com/go-macaron/binding", binding.Version, "0.2.1"},
{"github.com/go-macaron/cache", cache.Version, "0.1.2"},
{"github.com/go-macaron/csrf", csrf.Version, "0.1.0"},
@@ -92,7 +92,10 @@ func checkVersion() {
}
for _, c := range checkers {
if !version.Compare(c.Version(), c.Expected, ">=") {
- log.Fatal(4, "Package '%s' version is too old (%s -> %s), did you forget to update?", c.ImportPath, c.Version(), c.Expected)
+ log.Fatal(4, `Dependency outdated!
+Package '%s' current version (%s) is below requirement (%s),
+please use following command to update this package and recompile Gogs:
+go get -u %[1]s`, c.ImportPath, c.Version(), c.Expected)
}
}
}