mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-22 11:29:06 -05:00
Replace github.com/tsuru/gnuflag with github.com/juju/gnuflag (#2340)
Replace vendor folder and where it is used.
This commit is contained in:
committed by
Erik Arvidsson
parent
58948d3433
commit
6697c2e6fc
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/julienschmidt/httprouter"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/attic-labs/noms/cmd/util"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var commands = []*util.Command{
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/spec"
|
||||
"github.com/attic-labs/noms/go/util/outputpager"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var summarize bool
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/spec"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var toDelete string
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/util/orderedparallel"
|
||||
"github.com/attic-labs/noms/go/util/outputpager"
|
||||
"github.com/mgutz/ansi"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/spec"
|
||||
"github.com/attic-labs/noms/go/util/profile"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/spec"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/outputpager"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var nomsShow = &util.Command{
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/util/profile"
|
||||
"github.com/attic-labs/noms/go/util/status"
|
||||
humanize "github.com/dustin/go-humanize"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
"github.com/attic-labs/noms/cmd/util"
|
||||
"github.com/attic-labs/noms/go/constants"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var nomsVersion = &util.Command{
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
type Command struct {
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/dynamodb"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"github.com/syndtr/goleveldb/leveldb/errors"
|
||||
"github.com/syndtr/goleveldb/leveldb/filter"
|
||||
"github.com/syndtr/goleveldb/leveldb/opt"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
type Exiter interface {
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/profile"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"time"
|
||||
|
||||
humanize "github.com/dustin/go-humanize"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
// used to ensure all of the big.Floats end up with the same precision
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"github.com/codahale/blake2"
|
||||
humanize "github.com/dustin/go-humanize"
|
||||
"github.com/kch42/buzhash"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/hash"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
type ClientTestSuite struct {
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
goisatty "github.com/mattn/go-isatty"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"runtime/pprof"
|
||||
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/util/progressreader"
|
||||
"github.com/attic-labs/noms/go/util/status"
|
||||
humanize "github.com/dustin/go-humanize"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
"github.com/attic-labs/noms/go/spec"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/profile"
|
||||
"github.com/attic-labs/noms/samples/go/csv"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/util/status"
|
||||
"github.com/attic-labs/noms/samples/go/csv"
|
||||
humanize "github.com/dustin/go-humanize"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"github.com/attic-labs/noms/go/chunks"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/spec"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/spec"
|
||||
"github.com/attic-labs/noms/go/util/jsontonoms"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/util/progressreader"
|
||||
"github.com/attic-labs/noms/go/util/status"
|
||||
human "github.com/dustin/go-humanize"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/attic-labs/noms/go/util/jsontonoms"
|
||||
"github.com/attic-labs/noms/go/util/profile"
|
||||
"github.com/clbanning/mxj"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/tools/runner"
|
||||
flag "github.com/tsuru/gnuflag"
|
||||
flag "github.com/juju/gnuflag"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
https://github.com/tsuru/gnuflag
|
||||
https://github.com/juju/gnuflag
|
||||
86b8c1b864aadcf9c94d67bc607ce3f19cbb9aa2
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
Gnuflag
|
||||
-----
|
||||
|
||||
The gnuflag package is a fork of the Go standard library
|
||||
package that supports GNU-compatible flag syntax.
|
||||
|
||||
In particular, it supports `--longflag` and `-l` single-character
|
||||
flag syntax.
|
||||
|
||||
Full documentation can be found here: https://godoc.org/github.com/juju/gnuflag.
|
||||
Generated
Vendored
Generated
Vendored
+1
-1
@@ -7,7 +7,7 @@ package gnuflag_test
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
. "github.com/tsuru/gnuflag"
|
||||
. "github.com/juju/gnuflag"
|
||||
"os"
|
||||
"reflect"
|
||||
"sort"
|
||||
Reference in New Issue
Block a user