Prepare for 0.2.0 release
This commit is contained in:
parent
dd9fb807a4
commit
76c64b43cb
|
@ -3,18 +3,22 @@ path=github.com/gogits/gogs
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
github.com/codegangsta/cli=
|
github.com/codegangsta/cli=
|
||||||
github.com/codegangsta/martini=
|
github.com/go-martini/martini=
|
||||||
github.com/Unknwon/com=
|
github.com/Unknwon/com=
|
||||||
github.com/Unknwon/cae=
|
github.com/Unknwon/cae=
|
||||||
github.com/Unknwon/goconfig=
|
github.com/Unknwon/goconfig=
|
||||||
github.com/dchest/scrypt=
|
github.com/dchest/scrypt=
|
||||||
github.com/nfnt/resize=
|
github.com/nfnt/resize=
|
||||||
github.com/lunny/xorm=
|
github.com/lunny/xorm=
|
||||||
|
github.com/go-sql-driver/mysql=
|
||||||
|
github.com/lib/pq=
|
||||||
github.com/gogits/logs=
|
github.com/gogits/logs=
|
||||||
github.com/gogits/binding=
|
github.com/gogits/binding=
|
||||||
github.com/gogits/git=
|
github.com/gogits/git=
|
||||||
github.com/gogits/gfm=
|
github.com/gogits/gfm=
|
||||||
github.com/gogits/cache=
|
github.com/gogits/cache=
|
||||||
|
github.com/gogits/session=
|
||||||
|
github.com/gogits/webdav=
|
||||||
|
|
||||||
[res]
|
[res]
|
||||||
include=templates|public|conf
|
include=templates|public|conf
|
||||||
|
|
2
serve.go
2
serve.go
|
@ -47,7 +47,7 @@ func newLogger(execDir string) {
|
||||||
level := "0"
|
level := "0"
|
||||||
logPath := execDir + "/log/serv.log"
|
logPath := execDir + "/log/serv.log"
|
||||||
os.MkdirAll(path.Dir(logPath), os.ModePerm)
|
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...")
|
log.Trace("start logging...")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
go get -u github.com/shxsun/travelexec
|
||||||
# start gogs server
|
# start gogs server
|
||||||
gogs web
|
gogs web
|
||||||
|
|
||||||
## start test
|
## Start Testing
|
||||||
|
|
||||||
travelexec
|
travelexec
|
||||||
|
|
Loading…
Reference in New Issue