From 1faaaeb3d9af6e2ddc01363da61faf890165c662 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 11 Jul 2016 07:57:15 +0800 Subject: [PATCH] Update glide.lock --- cmd/web.go | 7 +++++-- glide.lock | 6 +++--- 2 files changed, 8 insertions(+), 5 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) } } } diff --git a/glide.lock b/glide.lock index d32482bd30..2772be7722 100644 --- a/glide.lock +++ b/glide.lock @@ -33,9 +33,9 @@ imports: - name: github.com/go-sql-driver/mysql version: 3654d25ec346ee8ce71a68431025458d52a38ac0 - name: github.com/go-xorm/core - version: edde1c5ab80e3cda107f6b93af6df894caba41ea + version: bc1b7f81f0e369289078424064634a5ee7d21051 - name: github.com/go-xorm/xorm - version: 8150bebe6a68d3e86a14e3aa0cbac4873c05131d + version: b8b1711cde4d9c68da95cd0ff8de0de0cb491df3 - name: github.com/gogits/chardet version: 2404f777256163ea3eadb273dada5dcb037993c0 - name: github.com/gogits/cron @@ -43,7 +43,7 @@ imports: - name: github.com/gogits/git-module version: 7da4f5e717e3a0311c2f510ef58318f47e93fa63 - name: github.com/gogits/go-gogs-client - version: 01270dfe22e92d99ce9402fedba4530ad8810100 + version: 872cf281aac97429da02b6cdea942c9388eb65fb - name: github.com/issue9/identicon version: d36b54562f4cf70c83653e13dc95c220c79ef521 - name: github.com/jaytaylor/html2text