Skip to content

Commit

Permalink
migrate to go modules from dep
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 committed May 15, 2019
1 parent 0be001f commit d55e71a
Show file tree
Hide file tree
Showing 22 changed files with 111 additions and 184 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -5,6 +5,7 @@ before_install:
- export PATH=~/bin:"$PATH"
language: go
go:
- 1.12.x
- 1.11.x
- 1.10.x
- 1.9.x
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -43,8 +43,8 @@ feature is a good idea for hub if it improves some workflow for a GitHub user.
8. Open a pull request describing your changes:
`bin/hub pull-request`

Vendored Go dependencies are managed with [`dep`](https://golang.github.io/dep/docs/daily-dep.html).
Check `dep help ensure` for information on how to add or update a vendored
Vendored Go dependencies are managed with [`go mod`](https://github.com/golang/go/wiki/Modules).
Check `go help mod` for information on how to add or update a vendored
dependency.

## How to write tests
Expand Down
96 changes: 0 additions & 96 deletions Gopkg.lock

This file was deleted.

43 changes: 0 additions & 43 deletions Gopkg.toml

This file was deleted.

20 changes: 20 additions & 0 deletions go.mod
@@ -0,0 +1,20 @@
module github.com/github/hub

go 1.12

require (
github.com/BurntSushi/toml v0.3.0
github.com/atotto/clipboard v0.0.0-20171229224153-bc5958e1c833
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869
github.com/kballard/go-shellquote v0.0.0-20170619183022-cd60e84ee657
github.com/kr/pretty v0.0.0-20160823170715-cfb55aafdaf3 // indirect
github.com/kr/text v0.0.0-20160504234017-7cafcd837844 // indirect
github.com/mattn/go-colorable v0.0.9
github.com/mattn/go-isatty v0.0.3
github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747
github.com/russross/blackfriday v0.0.0-20180526075726-670777b536d3
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 // indirect
golang.org/x/crypto v0.0.0-20180127211104-1875d0a70c90
golang.org/x/sys v0.0.0-20180126165840-ff2a66f350ce // indirect
gopkg.in/yaml.v2 v2.0.0-20190319135612-7b8349ac747c
)
30 changes: 30 additions & 0 deletions go.sum
@@ -0,0 +1,30 @@
github.com/BurntSushi/toml v0.3.0 h1:e1/Ivsx3Z0FVTV0NSOv/aVgbUWyQuzj7DDnFblkRvsY=
github.com/BurntSushi/toml v0.3.0/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/atotto/clipboard v0.0.0-20171229224153-bc5958e1c833 h1:h/E5ryZTJAtOY6T3K6u/JA1OURt0nk1C4fITywxOp4E=
github.com/atotto/clipboard v0.0.0-20171229224153-bc5958e1c833/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY=
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
github.com/kballard/go-shellquote v0.0.0-20170619183022-cd60e84ee657 h1:vE7J1m7cCpiRVEIr1B5ccDxRpbPsWT5JU3if2Di5nE4=
github.com/kballard/go-shellquote v0.0.0-20170619183022-cd60e84ee657/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
github.com/kr/pretty v0.0.0-20160823170715-cfb55aafdaf3 h1:dhwb1Ev84SKKVBfLuhR4bw/29yYHzwtTyTLUWWnvYxI=
github.com/kr/pretty v0.0.0-20160823170715-cfb55aafdaf3/go.mod h1:Bvhd+E3laJ0AVkG0c9rmtZcnhV0HQ3+c3YxxqTvc/gA=
github.com/kr/text v0.0.0-20160504234017-7cafcd837844 h1:kpzneEBeC0dMewP3gr/fADv1OlblH9r1goWVwpOt3TU=
github.com/kr/text v0.0.0-20160504234017-7cafcd837844/go.mod h1:sjUstKUATFIcff4qlB53Kml0wQPtJVc/3fWrmuUmcfA=
github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-isatty v0.0.3 h1:ns/ykhmWi7G9O+8a448SecJU3nSMBXJfqQkl0upE1jI=
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747 h1:eQox4Rh4ewJF+mqYPxCkmBAirRnPaHEB26UkNuPyjlk=
github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/russross/blackfriday v0.0.0-20180526075726-670777b536d3 h1:vZXiDtLzqEDYbeAt94qcQZ2H9SGHwbZiOFdsRT5rrng=
github.com/russross/blackfriday v0.0.0-20180526075726-670777b536d3/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95 h1:/vdW8Cb7EXrkqWGufVMES1OH2sU9gKVb2n9/1y5NMBY=
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
golang.org/x/crypto v0.0.0-20180127211104-1875d0a70c90 h1:DNyuYmiOz3AH2rGH1n4YsZUvxVhkeMvSs8s31jiWpm0=
golang.org/x/crypto v0.0.0-20180127211104-1875d0a70c90/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/sys v0.0.0-20180126165840-ff2a66f350ce h1:rL/NvE76zNX12KMlXYCdjlfOp+kjh5sYTnm5QjtNbrU=
golang.org/x/sys v0.0.0-20180126165840-ff2a66f350ce/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.0.0-20190319135612-7b8349ac747c h1:nsJYChHWxeFA6+48RmvBXEvQNanNyh933kZYWiu2HBE=
gopkg.in/yaml.v2 v2.0.0-20190319135612-7b8349ac747c/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
14 changes: 0 additions & 14 deletions vendor/github.com/BurntSushi/toml/cmd/toml-test-decoder/COPYING

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/BurntSushi/toml/cmd/toml-test-encoder/COPYING

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/BurntSushi/toml/cmd/tomlv/COPYING

This file was deleted.

Empty file modified vendor/golang.org/x/sys/unix/mkall.sh 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mkerrors.sh 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksyscall.pl 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksyscall_solaris.pl 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksysnum_darwin.pl 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl 100755 → 100644
Empty file.
Empty file modified vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl 100755 → 100644
Empty file.
28 changes: 28 additions & 0 deletions vendor/gopkg.in/yaml.v2/encode.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/gopkg.in/yaml.v2/resolve.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions vendor/modules.txt
@@ -0,0 +1,29 @@
# github.com/BurntSushi/toml v0.3.0
github.com/BurntSushi/toml
# github.com/atotto/clipboard v0.0.0-20171229224153-bc5958e1c833
github.com/atotto/clipboard
# github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869
github.com/bmizerany/assert
# github.com/kballard/go-shellquote v0.0.0-20170619183022-cd60e84ee657
github.com/kballard/go-shellquote
# github.com/kr/pretty v0.0.0-20160823170715-cfb55aafdaf3
github.com/kr/pretty
# github.com/kr/text v0.0.0-20160504234017-7cafcd837844
github.com/kr/text
# github.com/mattn/go-colorable v0.0.9
github.com/mattn/go-colorable
# github.com/mattn/go-isatty v0.0.3
github.com/mattn/go-isatty
# github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747
github.com/mitchellh/go-homedir
# github.com/russross/blackfriday v0.0.0-20180526075726-670777b536d3
github.com/russross/blackfriday
# github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95
github.com/shurcooL/sanitized_anchor_name
# golang.org/x/crypto v0.0.0-20180127211104-1875d0a70c90
golang.org/x/crypto/ssh/terminal
# golang.org/x/sys v0.0.0-20180126165840-ff2a66f350ce
golang.org/x/sys/unix
golang.org/x/sys/windows
# gopkg.in/yaml.v2 v2.0.0-20190319135612-7b8349ac747c
gopkg.in/yaml.v2

0 comments on commit d55e71a

Please sign in to comment.