Browse Source

use new Redis client

pull/830/head
Unknwon 10 years ago
parent
commit
d5c6b53571
  1. 2
      .gopmfile
  2. 4
      cmd/web.go
  3. 2
      gogs.go
  4. 2
      templates/.VERSION

2
.gopmfile

@ -3,7 +3,6 @@ path = github.com/gogits/gogs
[deps] [deps]
github.com/beego/memcache = commit:2aea774416 github.com/beego/memcache = commit:2aea774416
github.com/beego/redigo = commit:856744a0d5
github.com/Unknwon/cae = commit:2e70a1351b github.com/Unknwon/cae = commit:2e70a1351b
github.com/Unknwon/com = github.com/Unknwon/com =
github.com/Unknwon/i18n = github.com/Unknwon/i18n =
@ -28,6 +27,7 @@ github.com/nfnt/resize = commit:581d15cb53
github.com/russross/blackfriday = commit:05b8cefd6a github.com/russross/blackfriday = commit:05b8cefd6a
github.com/saintfish/chardet = commit:3af4cd4741 github.com/saintfish/chardet = commit:3af4cd4741
gopkg.in/ini.v1 = gopkg.in/ini.v1 =
gopkg.in/redis.v2 =
[res] [res]
include = conf|etc|public|scripts|templates include = conf|etc|public|scripts|templates

4
cmd/web.go

@ -77,10 +77,10 @@ func checkVersion() {
checkers := []VerChecker{ checkers := []VerChecker{
{"github.com/Unknwon/macaron", macaron.Version, "0.4.9"}, {"github.com/Unknwon/macaron", macaron.Version, "0.4.9"},
{"github.com/macaron-contrib/binding", binding.Version, "0.0.4"}, {"github.com/macaron-contrib/binding", binding.Version, "0.0.4"},
{"github.com/macaron-contrib/cache", cache.Version, "0.0.2"}, {"github.com/macaron-contrib/cache", cache.Version, "0.0.3"},
{"github.com/macaron-contrib/csrf", csrf.Version, "0.0.1"}, {"github.com/macaron-contrib/csrf", csrf.Version, "0.0.1"},
{"github.com/macaron-contrib/i18n", i18n.Version, "0.0.5"}, {"github.com/macaron-contrib/i18n", i18n.Version, "0.0.5"},
{"github.com/macaron-contrib/session", session.Version, "0.1.1"}, {"github.com/macaron-contrib/session", session.Version, "0.1.2"},
{"gopkg.in/ini.v1", ini.Version, "1.0.1"}, {"gopkg.in/ini.v1", ini.Version, "1.0.1"},
} }
for _, c := range checkers { for _, c := range checkers {

2
gogs.go

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )
const APP_VER = "0.5.11.0102 Beta" const APP_VER = "0.5.11.0103 Beta"
func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())

2
templates/.VERSION

@ -1 +1 @@
0.5.11.0102 Beta 0.5.11.0103 Beta
Loading…
Cancel
Save