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 1afbfe287f..ed3138d069 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 5202301d26..bad36b1c85 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 78e84e8c04..1c076f6495 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 8df02d5c7e..29afa625d3 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 b2a5815f32..c1361f9328 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 fbae10fd84..53d33b2edd 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 08d5d89e10..bebc101609 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 829607ee0e..3a1108a45c 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 b445707b28..6c97edd208 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 82b89bc24b..1d4734eb55 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 97a2789927..369ef99303 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"