]> source.dussan.org Git - gitea.git/commitdiff
codegangsta/cli => urfave/cli (#3546)
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>
Tue, 30 Aug 2016 11:57:58 +0000 (13:57 +0200)
committer无闻 <u@gogs.io>
Tue, 30 Aug 2016 11:57:58 +0000 (04:57 -0700)
.gopmfile
cmd/admin.go
cmd/cert_stub.go
cmd/cmd.go
cmd/dump.go
cmd/serve.go
cmd/update.go
cmd/web.go
glide.lock
glide.yaml
gogs.go

index 1afbfe287f002583ba8dd0b154fe4e11cd065869..ed3138d06967bb3273a3aca3bf8ca2dcc3c0b3f8 100644 (file)
--- 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
-
index 5202301d26d502918c1dfe318033151dc379a426..bad36b1c85c5bf38dcc4dcb3d48b08af7f3c5ed6 100644 (file)
@@ -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"
index 78e84e8c0465bf5b845293640776f95d57d65f82..1c076f6495225c308ee57c9237bab215eb896c9d 100644 (file)
@@ -10,7 +10,7 @@ import (
        "fmt"
        "os"
 
-       "github.com/codegangsta/cli"
+       "github.com/urfave/cli"
 )
 
 var CmdCert = cli.Command{
index 8df02d5c7e355f05ea5e02a54866ba99eab1e096..29afa625d396716f4eaa12bbf988d78f307768a2 100644 (file)
@@ -7,7 +7,7 @@ package cmd
 import (
        "time"
 
-       "github.com/codegangsta/cli"
+       "github.com/urfave/cli"
 )
 
 func stringFlag(name, value, usage string) cli.StringFlag {
index b2a5815f32d5c0d1e6a8a376753ffeebc87fbef8..c1361f932852fdd37698e79ef9f9b31e7478af20 100644 (file)
@@ -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"
index fbae10fd84c90c3d44d92771ebf976d1a9bdfb72..53d33b2edd56506b9ac328573f7c69a84d2a278a 100644 (file)
@@ -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"
index 08d5d89e10c46d608be627a06c9ccc90f75016e1..bebc10160931edefab97cc39077167b68665472d 100644 (file)
@@ -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"
index 829607ee0ee667baa4f76a30f9cbed7171c1d75e..3a1108a45cf32fefdfef8fcedc0964a044fe04c0 100644 (file)
@@ -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"
 
index b445707b28d27677a46c65359e61fdcb7e81ab96..6c97edd208fd5bbd7cb6202fee19f611e588d7f4 100644 (file)
@@ -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
index 82b89bc24b64836a243c9271f19642d8e9fd3a7a..1d4734eb55eca4f3f47ccb7d71dac8cc5651bf3c 100644 (file)
@@ -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 97a27899272507589c19d42fda98065792645857..369ef99303e494123239cb0ebdb70d11277a7cc7 100644 (file)
--- 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"