Skip to content

Commit

Permalink
Vendor golang dependencies w/ glide
Browse files Browse the repository at this point in the history
https://glide.sh/

Pins dependencies, so that the entire project doesn't mysteriously
break when built on a different machine. Glide was picked for having
a large community, and its claim that the official vendoring tool -
developed by the golang maintainers - resembles the ideals of glide.
Brief research backs this up: https://github.com/golang/dep

Glide does have an issue with caching, which can make updating
difficult.
Ref: Masterminds/glide#592

Basically, if you're looking to update dependencies to later
versions, first run `glide clear-cache`, then `glide update`.
  • Loading branch information
tbutts committed May 12, 2017
1 parent ffeb0ba commit 69ad36b
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 0 deletions.
82 changes: 82 additions & 0 deletions glide.lock

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

23 changes: 23 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package: github.com/pereztr5/cyboard
license: BSD-3
owners:
- name: Tony Perez
- name: Tyler Butters
import:
- package: github.com/Sirupsen/logrus
- package: github.com/fsnotify/fsnotify
- package: github.com/gorilla/mux
- package: github.com/gorilla/securecookie
- package: github.com/gorilla/sessions
- package: github.com/gorilla/websocket
- package: github.com/meatballhat/negroni-logrus
- package: github.com/spf13/cobra
- package: github.com/spf13/viper
- package: github.com/urfave/negroni
- package: golang.org/x/crypto
subpackages:
- bcrypt
- package: gopkg.in/mgo.v2
subpackages:
- bson
- package: gopkg.in/natefinch/lumberjack.v2

0 comments on commit 69ad36b

Please sign in to comment.