]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commitdiff
dep: add dependancies to Gopkg.toml
authorJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 04:24:21 +0000 (20:24 -0800)
committerJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 04:24:21 +0000 (20:24 -0800)
fscrypt directly depends on 5 repositories (8 packages). This change
adds those dependancies to Gopkg.toml, so that they can be properly
versioned. Note that the golang.org/x repositories do not use semver.

Gopkg.toml

index bd585b38e786d70c657716ca193720bc3518ce68..136d7b49bb4cf4b58d1b978460f1ebf9a97966d9 100644 (file)
@@ -1,29 +1,24 @@
-# Gopkg.toml example
-#
-# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
-# for detailed Gopkg.toml documentation.
-#
-# required = ["github.com/user/thing/cmd/thing"]
-# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
-#
-# [[constraint]]
-#   name = "github.com/user/project"
-#   version = "1.0.0"
-#
-# [[constraint]]
-#   name = "github.com/user/project2"
-#   branch = "dev"
-#   source = "github.com/myfork/project2"
-#
-# [[override]]
-#   name = "github.com/x/y"
-#   version = "2.4.0"
-#
-# [prune]
-#   non-go = false
-#   go-tests = true
-#   unused-packages = true
+# Source dependancies
+[[constraint]]
+  name = "github.com/golang/protobuf"
+  version = "1.0.0"
 
+[[constraint]]
+  name = "github.com/pkg/errors"
+  version = "0.8.0"
+
+[[constraint]]
+  name = "github.com/urfave/cli"
+  version = "1.20.0"
+
+# golang.org/x/* packages are not versioned
+[[constraint]]
+  name = "golang.org/x/crypto"
+  branch = "master"
+
+[[constraint]]
+  name = "golang.org/x/sys"
+  branch = "master"
 
 [prune]
   non-go = true