]> source.dussan.org Git - gitea.git/commitdiff
Prepare for 0.2.0 release
authorUnknown <joe2010xtmf@163.com>
Mon, 31 Mar 2014 11:57:51 +0000 (07:57 -0400)
committerUnknown <joe2010xtmf@163.com>
Mon, 31 Mar 2014 11:57:51 +0000 (07:57 -0400)
.gopmfile
serve.go
tests/README.md

index bd641a17cb72d4ae36460acaecc4cfbcec25e0ac..9857af3502eedf4938a8e186649f6d450fabbac1 100644 (file)
--- a/.gopmfile
+++ b/.gopmfile
@@ -3,18 +3,22 @@ path=github.com/gogits/gogs
 
 [deps]
 github.com/codegangsta/cli=
-github.com/codegangsta/martini=
+github.com/go-martini/martini=
 github.com/Unknwon/com=
 github.com/Unknwon/cae=
 github.com/Unknwon/goconfig=
 github.com/dchest/scrypt=
 github.com/nfnt/resize=
 github.com/lunny/xorm=
+github.com/go-sql-driver/mysql=
+github.com/lib/pq=
 github.com/gogits/logs=
 github.com/gogits/binding=
 github.com/gogits/git=
 github.com/gogits/gfm=
 github.com/gogits/cache=
+github.com/gogits/session=
+github.com/gogits/webdav=
 
 [res]
 include=templates|public|conf
index 96cd7e73def0b91672fd9b23bc3f19ebc742e00a..afc16c281bae97851044080ff4fb890963d03365 100644 (file)
--- a/serve.go
+++ b/serve.go
@@ -47,7 +47,7 @@ func newLogger(execDir string) {
        level := "0"
        logPath := execDir + "/log/serv.log"
        os.MkdirAll(path.Dir(logPath), os.ModePerm)
-       log.NewLogger(10000, "file", fmt.Sprintf(`{"level":%s,"filename":"%s"}`, level, logPath))
+       log.NewLogger(0, "file", fmt.Sprintf(`{"level":%s,"filename":"%s"}`, level, logPath))
        log.Trace("start logging...")
 }
 
index 98693257f2e4e7a3f42f00befef3711cb4983cec..e51b25103791791c6e785f50a33e8e489642d4cd 100644 (file)
@@ -1,11 +1,13 @@
-## gogs test
+## Gogs Test
 
-this is for developers
+This is for developers.
+
+## Prepare Environment
 
-## prepare environment
        go get -u github.com/shxsun/travelexec
        # start gogs server
        gogs web
 
-## start test
+## Start Testing
+
        travelexec