|
|
@ -15,21 +15,21 @@ import ( |
|
|
|
"path" |
|
|
|
"path" |
|
|
|
"strings" |
|
|
|
"strings" |
|
|
|
|
|
|
|
|
|
|
|
"github.com/go-gitea/git" |
|
|
|
"code.gitea.io/git" |
|
|
|
"github.com/go-gitea/gitea/models" |
|
|
|
"code.gitea.io/gitea/models" |
|
|
|
"github.com/go-gitea/gitea/modules/auth" |
|
|
|
"code.gitea.io/gitea/modules/auth" |
|
|
|
"github.com/go-gitea/gitea/modules/bindata" |
|
|
|
"code.gitea.io/gitea/modules/bindata" |
|
|
|
"github.com/go-gitea/gitea/modules/context" |
|
|
|
"code.gitea.io/gitea/modules/context" |
|
|
|
"github.com/go-gitea/gitea/modules/log" |
|
|
|
"code.gitea.io/gitea/modules/log" |
|
|
|
"github.com/go-gitea/gitea/modules/setting" |
|
|
|
"code.gitea.io/gitea/modules/setting" |
|
|
|
"github.com/go-gitea/gitea/modules/template" |
|
|
|
"code.gitea.io/gitea/modules/template" |
|
|
|
"github.com/go-gitea/gitea/routers" |
|
|
|
"code.gitea.io/gitea/routers" |
|
|
|
"github.com/go-gitea/gitea/routers/admin" |
|
|
|
"code.gitea.io/gitea/routers/admin" |
|
|
|
apiv1 "github.com/go-gitea/gitea/routers/api/v1" |
|
|
|
apiv1 "code.gitea.io/gitea/routers/api/v1" |
|
|
|
"github.com/go-gitea/gitea/routers/dev" |
|
|
|
"code.gitea.io/gitea/routers/dev" |
|
|
|
"github.com/go-gitea/gitea/routers/org" |
|
|
|
"code.gitea.io/gitea/routers/org" |
|
|
|
"github.com/go-gitea/gitea/routers/repo" |
|
|
|
"code.gitea.io/gitea/routers/repo" |
|
|
|
"github.com/go-gitea/gitea/routers/user" |
|
|
|
"code.gitea.io/gitea/routers/user" |
|
|
|
"github.com/go-macaron/binding" |
|
|
|
"github.com/go-macaron/binding" |
|
|
|
"github.com/go-macaron/cache" |
|
|
|
"github.com/go-macaron/cache" |
|
|
|
"github.com/go-macaron/captcha" |
|
|
|
"github.com/go-macaron/captcha" |
|
|
@ -100,7 +100,7 @@ func checkVersion() { |
|
|
|
{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"}, |
|
|
|
{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"}, |
|
|
|
{"gopkg.in/ini.v1", ini.Version, "1.8.4"}, |
|
|
|
{"gopkg.in/ini.v1", ini.Version, "1.8.4"}, |
|
|
|
{"gopkg.in/macaron.v1", macaron.Version, "1.1.7"}, |
|
|
|
{"gopkg.in/macaron.v1", macaron.Version, "1.1.7"}, |
|
|
|
{"github.com/go-gitea/git", git.Version, "0.4.1"}, |
|
|
|
{"code.gitea.io/git", git.Version, "0.4.1"}, |
|
|
|
} |
|
|
|
} |
|
|
|
for _, c := range checkers { |
|
|
|
for _, c := range checkers { |
|
|
|
if !version.Compare(c.Version(), c.Expected, ">=") { |
|
|
|
if !version.Compare(c.Version(), c.Expected, ">=") { |
|
|
|