From 4f4001913015cbdb5053960a2c750dc010d414da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20=22BKC=22=20Carlb=C3=A4cker?= Date: Tue, 30 Aug 2016 13:57:58 +0200 Subject: [PATCH] codegangsta/cli => urfave/cli (#3546) --- .gopmfile | 3 +-- cmd/admin.go | 2 +- cmd/cert_stub.go | 2 +- cmd/cmd.go | 2 +- cmd/dump.go | 2 +- cmd/serve.go | 2 +- cmd/update.go | 2 +- cmd/web.go | 2 +- glide.lock | 2 +- glide.yaml | 2 +- gogs.go | 2 +- 11 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gopmfile b/.gopmfile index 1afbfe287..ed3138d06 100644 --- a/.gopmfile +++ b/.gopmfile @@ -3,7 +3,7 @@ path = github.com/gogits/gogs [deps] github.com/bradfitz/gomemcache = commit:fb1f79c -github.com/codegangsta/cli = commit:1efa31f +github.com/urfave/cli = commit:1efa31f github.com/go-macaron/binding = commit:9440f33 github.com/go-macaron/cache = commit:5617353 github.com/go-macaron/captcha = commit:8aa5919 @@ -57,4 +57,3 @@ gopkg.in/redis.v2 = commit:e617904 [res] include = public|scripts|templates - diff --git a/cmd/admin.go b/cmd/admin.go index 5202301d2..bad36b1c8 100644 --- a/cmd/admin.go +++ b/cmd/admin.go @@ -7,7 +7,7 @@ package cmd import ( "fmt" - "github.com/codegangsta/cli" + "github.com/urfave/cli" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/setting" diff --git a/cmd/cert_stub.go b/cmd/cert_stub.go index 78e84e8c0..1c076f649 100644 --- a/cmd/cert_stub.go +++ b/cmd/cert_stub.go @@ -10,7 +10,7 @@ import ( "fmt" "os" - "github.com/codegangsta/cli" + "github.com/urfave/cli" ) var CmdCert = cli.Command{ diff --git a/cmd/cmd.go b/cmd/cmd.go index 8df02d5c7..29afa625d 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -7,7 +7,7 @@ package cmd import ( "time" - "github.com/codegangsta/cli" + "github.com/urfave/cli" ) func stringFlag(name, value, usage string) cli.StringFlag { diff --git a/cmd/dump.go b/cmd/dump.go index b2a5815f3..c1361f932 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -14,7 +14,7 @@ import ( "io/ioutil" "github.com/Unknwon/cae/zip" - "github.com/codegangsta/cli" + "github.com/urfave/cli" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/setting" diff --git a/cmd/serve.go b/cmd/serve.go index fbae10fd8..53d33b2ed 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -14,9 +14,9 @@ import ( "time" "github.com/Unknwon/com" - "github.com/codegangsta/cli" git "github.com/gogits/git-module" gouuid "github.com/satori/go.uuid" + "github.com/urfave/cli" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/base" diff --git a/cmd/update.go b/cmd/update.go index 08d5d89e1..bebc10160 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -7,7 +7,7 @@ package cmd import ( "os" - "github.com/codegangsta/cli" + "github.com/urfave/cli" "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/log" diff --git a/cmd/web.go b/cmd/web.go index 829607ee0..3a1108a45 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -15,7 +15,6 @@ import ( "path" "strings" - "github.com/codegangsta/cli" "github.com/go-macaron/binding" "github.com/go-macaron/cache" "github.com/go-macaron/captcha" @@ -26,6 +25,7 @@ import ( "github.com/go-macaron/toolbox" "github.com/go-xorm/xorm" "github.com/mcuadros/go-version" + "github.com/urfave/cli" "gopkg.in/ini.v1" "gopkg.in/macaron.v1" diff --git a/glide.lock b/glide.lock index b445707b2..6c97edd20 100644 --- a/glide.lock +++ b/glide.lock @@ -5,7 +5,7 @@ imports: version: fb1f79c6b65acda83063cbc69f6bba1522558bfc subpackages: - memcache -- name: github.com/codegangsta/cli +- name: github.com/urfave/cli version: 1efa31f08b9333f1bd4882d61f9d668a70cd902e - name: github.com/go-macaron/binding version: 9440f336b443056c90d7d448a0a55ad8c7599880 diff --git a/glide.yaml b/glide.yaml index 82b89bc24..1d4734eb5 100644 --- a/glide.yaml +++ b/glide.yaml @@ -6,7 +6,7 @@ import: - package: github.com/Unknwon/com - package: github.com/Unknwon/i18n - package: github.com/Unknwon/paginater -- package: github.com/codegangsta/cli +- package: github.com/urfave/cli - package: github.com/go-macaron/binding - package: github.com/go-macaron/cache subpackages: diff --git a/gogs.go b/gogs.go index 97a278992..369ef9930 100644 --- a/gogs.go +++ b/gogs.go @@ -11,7 +11,7 @@ import ( "os" "runtime" - "github.com/codegangsta/cli" + "github.com/urfave/cli" "github.com/gogits/gogs/cmd" "github.com/gogits/gogs/modules/setting"