fix problematic vendoring of github.com/onsi/ginkgo
change references to codegangsta/cli to urfave/cli. codegangsta changed his name :)
fix incorrect commit hash for codegangsta/cli in the manifest
update urfave/cli to latest master commit, since the version in Godeps.json doesn't build
delete a little bloat from vendor/, including...
README files
internal Perl scripts from golang.org/x/sys/unix
a vendored wercker.yml file
reduce number of entries in the manifest from 33 to 9
remove fetching of godep from the Makefile. now you can just clone and go build
remove make tools from wercker.yml since it's no longer necessary to fetch godep.
Sorry for the large PR ๐, but there's nothing optional here if we want to get gojsondiff in a buildable state. With the exception of urfave/cli, all the revendored code is identical to the godep vendored code, so I would consider this PR low-risk ๐.
How to update deps with gvt
go get -u github.com/FiloSottile/gvt
cd $GOPATH/src/github.com/yudai/gojsondiff
gvt delete github.com/foo/bar
# use --branch, --tag, or --revision flag if you want a specific version of bar
gvt fetch github.com/foo/bar
Why gvt is better than godep
While we wait for the official dep tool from the Go team, Glide and gvt are the best we've got. gvt is the simpler of the two and more appropriate for a small project like this IMHO. It works just like go get, but you can specify a --branch, --tag, or --revision. godep was the first popular vendoring tool for Go, but it has two fatal flaws:
It copies pkgs from the global pool of code in your $GOPATH, which is always changing
github.com/onsi/ginkgo
codegangsta/cli
tourfave/cli
. codegangsta changed his name :)codegangsta/cli
in the manifesturfave/cli
to latest master commit, since the version inGodeps.json
doesn't buildvendor/
, including...README
filesgolang.org/x/sys/unix
wercker.yml
filegodep
from theMakefile
. now you can just clone andgo build
make tools
fromwercker.yml
since it's no longer necessary to fetchgodep
.Sorry for the large PR ๐, but there's nothing optional here if we want to get
gojsondiff
in a buildable state. With the exception ofurfave/cli
, all the revendored code is identical to thegodep
vendored code, so I would consider this PR low-risk ๐.How to update deps with gvt
Why gvt is better than godep
While we wait for the official
dep
tool from the Go team, Glide and gvt are the best we've got. gvt is the simpler of the two and more appropriate for a small project like this IMHO. It works just likego get
, but you can specify a--branch
,--tag
, or--revision
.godep
was the first popular vendoring tool for Go, but it has two fatal flaws: