Browse Source

codegangsta/cli => urfave/cli (#3546)

pull/3549/head
Kim "BKC" Carlbäcker 8 years ago committed by 无闻
parent
commit
4f40019130
  1. 3
      .gopmfile
  2. 2
      cmd/admin.go
  3. 2
      cmd/cert_stub.go
  4. 2
      cmd/cmd.go
  5. 2
      cmd/dump.go
  6. 2
      cmd/serve.go
  7. 2
      cmd/update.go
  8. 2
      cmd/web.go
  9. 2
      glide.lock
  10. 2
      glide.yaml
  11. 2
      gogs.go

3
.gopmfile

@ -3,7 +3,7 @@ path = github.com/gogits/gogs
[deps] [deps]
github.com/bradfitz/gomemcache = commit:fb1f79c 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/binding = commit:9440f33
github.com/go-macaron/cache = commit:5617353 github.com/go-macaron/cache = commit:5617353
github.com/go-macaron/captcha = commit:8aa5919 github.com/go-macaron/captcha = commit:8aa5919
@ -57,4 +57,3 @@ gopkg.in/redis.v2 = commit:e617904
[res] [res]
include = public|scripts|templates include = public|scripts|templates

2
cmd/admin.go

@ -7,7 +7,7 @@ package cmd
import ( import (
"fmt" "fmt"
"github.com/codegangsta/cli" "github.com/urfave/cli"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"

2
cmd/cert_stub.go

@ -10,7 +10,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/codegangsta/cli" "github.com/urfave/cli"
) )
var CmdCert = cli.Command{ var CmdCert = cli.Command{

2
cmd/cmd.go

@ -7,7 +7,7 @@ package cmd
import ( import (
"time" "time"
"github.com/codegangsta/cli" "github.com/urfave/cli"
) )
func stringFlag(name, value, usage string) cli.StringFlag { func stringFlag(name, value, usage string) cli.StringFlag {

2
cmd/dump.go

@ -14,7 +14,7 @@ import (
"io/ioutil" "io/ioutil"
"github.com/Unknwon/cae/zip" "github.com/Unknwon/cae/zip"
"github.com/codegangsta/cli" "github.com/urfave/cli"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"

2
cmd/serve.go

@ -14,9 +14,9 @@ import (
"time" "time"
"github.com/Unknwon/com" "github.com/Unknwon/com"
"github.com/codegangsta/cli"
git "github.com/gogits/git-module" git "github.com/gogits/git-module"
gouuid "github.com/satori/go.uuid" gouuid "github.com/satori/go.uuid"
"github.com/urfave/cli"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/base"

2
cmd/update.go

@ -7,7 +7,7 @@ package cmd
import ( import (
"os" "os"
"github.com/codegangsta/cli" "github.com/urfave/cli"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/log"

2
cmd/web.go

@ -15,7 +15,6 @@ import (
"path" "path"
"strings" "strings"
"github.com/codegangsta/cli"
"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"
@ -26,6 +25,7 @@ import (
"github.com/go-macaron/toolbox" "github.com/go-macaron/toolbox"
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
"github.com/mcuadros/go-version" "github.com/mcuadros/go-version"
"github.com/urfave/cli"
"gopkg.in/ini.v1" "gopkg.in/ini.v1"
"gopkg.in/macaron.v1" "gopkg.in/macaron.v1"

2
glide.lock generated

@ -5,7 +5,7 @@ imports:
version: fb1f79c6b65acda83063cbc69f6bba1522558bfc version: fb1f79c6b65acda83063cbc69f6bba1522558bfc
subpackages: subpackages:
- memcache - memcache
- name: github.com/codegangsta/cli - name: github.com/urfave/cli
version: 1efa31f08b9333f1bd4882d61f9d668a70cd902e version: 1efa31f08b9333f1bd4882d61f9d668a70cd902e
- name: github.com/go-macaron/binding - name: github.com/go-macaron/binding
version: 9440f336b443056c90d7d448a0a55ad8c7599880 version: 9440f336b443056c90d7d448a0a55ad8c7599880

2
glide.yaml

@ -6,7 +6,7 @@ import:
- package: github.com/Unknwon/com - package: github.com/Unknwon/com
- package: github.com/Unknwon/i18n - package: github.com/Unknwon/i18n
- package: github.com/Unknwon/paginater - 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/binding
- package: github.com/go-macaron/cache - package: github.com/go-macaron/cache
subpackages: subpackages:

2
gogs.go

@ -11,7 +11,7 @@ import (
"os" "os"
"runtime" "runtime"
"github.com/codegangsta/cli" "github.com/urfave/cli"
"github.com/gogits/gogs/cmd" "github.com/gogits/gogs/cmd"
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"

Loading…
Cancel
Save