From 19423957b17fe583e9a04f45aafe91335354d6e2 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 15 Dec 2015 17:25:45 -0500 Subject: [PATCH] rename import path --- cmd/web.go | 2 +- conf/locale/TRANSLATORS | 2 ++ models/action.go | 2 +- models/git_diff.go | 2 +- models/pull.go | 2 +- models/release.go | 2 +- models/repo.go | 2 +- models/update.go | 2 +- models/user.go | 2 +- models/webhook_slack.go | 2 +- models/wiki.go | 2 +- modules/middleware/context.go | 2 +- modules/middleware/repo.go | 2 +- routers/api/v1/repo/file.go | 2 +- routers/install.go | 2 +- routers/repo/commit.go | 2 +- routers/repo/download.go | 2 +- routers/repo/pull.go | 2 +- routers/repo/repo.go | 2 +- routers/repo/setting.go | 2 +- routers/repo/view.go | 2 +- routers/repo/wiki.go | 2 +- 22 files changed, 23 insertions(+), 21 deletions(-) diff --git a/cmd/web.go b/cmd/web.go index 87fe1b6a7..512791901 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -29,7 +29,7 @@ import ( "gopkg.in/ini.v1" "gopkg.in/macaron.v1" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth" diff --git a/conf/locale/TRANSLATORS b/conf/locale/TRANSLATORS index 37cc2198a..669ff0039 100644 --- a/conf/locale/TRANSLATORS +++ b/conf/locale/TRANSLATORS @@ -8,12 +8,14 @@ Andrey Nering Arthur Aslanyan Barış Arda Yılmaz Christoph Kisfeld +Cysioland Daniel Speichert Dmitriy Nogay Gregor Santner Hamid Feizabadi Huimin Wang ilko +Ilya Makarov Lafriks Lauri Ojansivu Luc Stepniewski diff --git a/models/action.go b/models/action.go index 89003214d..9ecf67b4b 100644 --- a/models/action.go +++ b/models/action.go @@ -17,7 +17,7 @@ import ( "github.com/Unknwon/com" "github.com/go-xorm/xorm" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" api "github.com/gogits/go-gogs-client" "github.com/gogits/gogs/modules/base" diff --git a/models/git_diff.go b/models/git_diff.go index 211325045..1b2fb5f2b 100644 --- a/models/git_diff.go +++ b/models/git_diff.go @@ -18,7 +18,7 @@ import ( "golang.org/x/net/html/charset" "golang.org/x/text/transform" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/log" diff --git a/models/pull.go b/models/pull.go index f7785dfc5..8497285e1 100644 --- a/models/pull.go +++ b/models/pull.go @@ -14,7 +14,7 @@ import ( "github.com/Unknwon/com" "github.com/go-xorm/xorm" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" api "github.com/gogits/go-gogs-client" "github.com/gogits/gogs/modules/log" diff --git a/models/release.go b/models/release.go index 28cbfaab7..9fc5d3967 100644 --- a/models/release.go +++ b/models/release.go @@ -12,7 +12,7 @@ import ( "github.com/go-xorm/xorm" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/modules/process" ) diff --git a/models/repo.go b/models/repo.go index 8b6731a72..82e346337 100644 --- a/models/repo.go +++ b/models/repo.go @@ -27,7 +27,7 @@ import ( "github.com/mcuadros/go-version" "gopkg.in/ini.v1" - git "github.com/gogits/git-shell" + "github.com/gogits/git-module" api "github.com/gogits/go-gogs-client" "github.com/gogits/gogs/modules/base" diff --git a/models/update.go b/models/update.go index 0c4d342d0..5c6ea7f65 100644 --- a/models/update.go +++ b/models/update.go @@ -10,7 +10,7 @@ import ( "os/exec" "strings" - git "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/modules/log" ) diff --git a/models/user.go b/models/user.go index d1f06dea8..36927730d 100644 --- a/models/user.go +++ b/models/user.go @@ -25,7 +25,7 @@ import ( "github.com/go-xorm/xorm" "github.com/nfnt/resize" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/modules/avatar" "github.com/gogits/gogs/modules/base" diff --git a/models/webhook_slack.go b/models/webhook_slack.go index 519ac7a22..e41bbbc79 100644 --- a/models/webhook_slack.go +++ b/models/webhook_slack.go @@ -10,7 +10,7 @@ import ( "fmt" "strings" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" api "github.com/gogits/go-gogs-client" ) diff --git a/models/wiki.go b/models/wiki.go index 5003b177f..86b6c19ef 100644 --- a/models/wiki.go +++ b/models/wiki.go @@ -15,7 +15,7 @@ import ( "github.com/Unknwon/com" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/modules/setting" ) diff --git a/modules/middleware/context.go b/modules/middleware/context.go index 46a5c1f65..571b19bf7 100644 --- a/modules/middleware/context.go +++ b/modules/middleware/context.go @@ -18,7 +18,7 @@ import ( "github.com/go-macaron/session" "gopkg.in/macaron.v1" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth" diff --git a/modules/middleware/repo.go b/modules/middleware/repo.go index a6dd39664..9ceb9903d 100644 --- a/modules/middleware/repo.go +++ b/modules/middleware/repo.go @@ -11,7 +11,7 @@ import ( "gopkg.in/macaron.v1" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/log" diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go index 13a6c6c27..f64e66346 100644 --- a/routers/api/v1/repo/file.go +++ b/routers/api/v1/repo/file.go @@ -5,7 +5,7 @@ package repo import ( - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/middleware" diff --git a/routers/install.go b/routers/install.go index 6d2296cfc..34dd47577 100644 --- a/routers/install.go +++ b/routers/install.go @@ -17,7 +17,7 @@ import ( "gopkg.in/ini.v1" "gopkg.in/macaron.v1" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/models/cron" diff --git a/routers/repo/commit.go b/routers/repo/commit.go index 0f0e22038..10c2f8a1c 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -10,7 +10,7 @@ import ( "github.com/Unknwon/paginater" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/base" diff --git a/routers/repo/download.go b/routers/repo/download.go index 3c3256b38..cb863c613 100644 --- a/routers/repo/download.go +++ b/routers/repo/download.go @@ -8,7 +8,7 @@ import ( "io" "path" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/middleware" diff --git a/routers/repo/pull.go b/routers/repo/pull.go index 38a4c4702..f543fc31c 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -11,7 +11,7 @@ import ( "github.com/Unknwon/com" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth" diff --git a/routers/repo/repo.go b/routers/repo/repo.go index c1f2a0f1e..c58d256a7 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -12,7 +12,7 @@ import ( "github.com/Unknwon/com" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth" diff --git a/routers/repo/setting.go b/routers/repo/setting.go index 2c57d936f..9e6ae8d41 100644 --- a/routers/repo/setting.go +++ b/routers/repo/setting.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth" diff --git a/routers/repo/view.go b/routers/repo/view.go index e4815bf0c..4ba26a0c4 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -12,7 +12,7 @@ import ( "github.com/Unknwon/paginater" - git "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/base" diff --git a/routers/repo/wiki.go b/routers/repo/wiki.go index 77aa1c370..d2931dc1d 100644 --- a/routers/repo/wiki.go +++ b/routers/repo/wiki.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/gogits/git-shell" + "github.com/gogits/git-module" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth"