1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00

Update glide.lock

This commit is contained in:
Unknwon 2016-07-11 07:57:15 +08:00
parent 12cb84b97f
commit 1faaaeb3d9
2 changed files with 8 additions and 5 deletions

View File

@ -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)
}
}
}

6
glide.lock generated
View File

@ -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