1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 17:35:49 +00:00

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

This commit is contained in:
Kim "BKC" Carlbäcker 2016-08-30 13:57:58 +02:00 committed by 无闻
parent 780cc2d110
commit 4f40019130
11 changed files with 11 additions and 12 deletions

View File

@ -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

View File

@ -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"

View File

@ -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{

View File

@ -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 {

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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
View File

@ -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

View File

@ -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:

View File

@ -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"