summaryrefslogtreecommitdiff
path: root/Gopkg.toml
diff options
context:
space:
mode:
authorDan Duvall <dduvall@wikimedia.org>2017-11-15 10:54:55 -0800
committerDan Duvall <dduvall@wikimedia.org>2017-11-16 13:02:18 -0800
commit00820cbd6bbcc98321c5a0d279394673425d0783 (patch)
treecc7915d20f368c44823e1ab56b03c2f0cb5ca043 /Gopkg.toml
parent3e2708071d7ea71e65792709b798c734415b3a3c (diff)
downloadblubber-00820cbd6bbcc98321c5a0d279394673425d0783.tar.gz
Use dep for dependency management and commit vendor
Summary: Our current lack of dependency management is leading to issues with Debian packaging and risks inconsistent builds. Let's use `dep`, the "official experiment" for go dependency management, and commit the vendor directory which is small enough following a `dep prune`. Fixes T180530 Depends on D881 Test Plan: Run `make` or `go build -v` and examine output to ensure use of `vendor/` packages. Reviewers: thcipriani, Joe, #release-engineering-team Reviewed By: thcipriani, #release-engineering-team Tags: #release-engineering-team Maniphest Tasks: T180530 Differential Revision: https://phabricator.wikimedia.org/D882
Diffstat (limited to 'Gopkg.toml')
-rw-r--r--Gopkg.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Gopkg.toml b/Gopkg.toml
new file mode 100644
index 0000000..467ae19
--- /dev/null
+++ b/Gopkg.toml
@@ -0,0 +1,18 @@
+# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
+# for detailed Gopkg.toml documentation.
+
+[[constraint]]
+ name = "github.com/docker/distribution"
+ version = "2.6.2"
+
+[[constraint]]
+ name = "github.com/stretchr/testify"
+ version = "1.1.4"
+
+[[constraint]]
+ name = "gopkg.in/go-playground/validator.v9"
+ version = "9.9.0"
+
+[[constraint]]
+ branch = "v2"
+ name = "gopkg.in/yaml.v2"