From 67397a6acb16f34b48c7c96a9bda2455290e665b Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 8 Oct 2018 15:10:49 +0200 Subject: [PATCH] Switch to dep for vendoring Signed-off-by: Knut Ahlers --- Godeps/Godeps.json | 173 --------------------------------------------- Godeps/Readme | 5 -- Gopkg.lock | 114 +++++++++++++++++++++++++++++ Gopkg.toml | 34 +++++++++ 4 files changed, 148 insertions(+), 178 deletions(-) delete mode 100644 Godeps/Godeps.json delete mode 100644 Godeps/Readme create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json deleted file mode 100644 index f89ebc0..0000000 --- a/Godeps/Godeps.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "ImportPath": "github.com/Luzifer/duplicity-backup", - "GoVersion": "go1.6", - "GodepVersion": "v62", - "Deps": [ - { - "ImportPath": "github.com/Luzifer/go_helpers/str", - "Comment": "v1.3.0", - "Rev": "6abbbafaada02b63dd8f9e185921fd8b3c35b6c2" - }, - { - "ImportPath": "github.com/Luzifer/go_helpers/which", - "Comment": "v1.3.0", - "Rev": "6abbbafaada02b63dd8f9e185921fd8b3c35b6c2" - }, - { - "ImportPath": "github.com/Luzifer/rconfig", - "Comment": "v1.0.3-2-g2677653", - "Rev": "26776536e61487fdffbd3ce87f827177a5903f98" - }, - { - "ImportPath": "github.com/asaskevich/govalidator", - "Comment": "v4-6-gdf81827", - "Rev": "df81827fdd59d8b4fb93d8910b286ab7a3919520" - }, - { - "ImportPath": "github.com/mitchellh/go-homedir", - "Rev": "981ab348d865cf048eb7d17e78ac7192632d8415" - }, - { - "ImportPath": "github.com/nightlyone/lockfile", - "Rev": "b30dcbfa86e3a1eaa4e6622de2ce57be2c138c10" - }, - { - "ImportPath": "github.com/onsi/ginkgo", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/config", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/codelocation", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/containernode", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/failer", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/leafnodes", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/remote", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/spec", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/specrunner", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/suite", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/testingtproxy", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/internal/writer", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/reporters", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/reporters/stenographer", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/ginkgo/types", - "Comment": "v1.2.0-14-g1b59c57", - "Rev": "1b59c57df76ede42c08590546916e6a18685857d" - }, - { - "ImportPath": "github.com/onsi/gomega", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/format", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/internal/assertion", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/internal/asyncassertion", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/internal/testingtsupport", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/matchers", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/matchers/support/goraph/bipartitegraph", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/matchers/support/goraph/edge", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/matchers/support/goraph/node", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/matchers/support/goraph/util", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/onsi/gomega/types", - "Comment": "v1.0-55-g6331bf5", - "Rev": "6331bf5a5b5e7a832348789eb3cedff7a6917103" - }, - { - "ImportPath": "github.com/spf13/pflag", - "Rev": "b084184666e02084b8ccb9b704bf0d79c466eb1d" - }, - { - "ImportPath": "gopkg.in/yaml.v2", - "Rev": "53feefa2559fb8dfa8d81baad31be332c97d6c77" - } - ] -} diff --git a/Godeps/Readme b/Godeps/Readme deleted file mode 100644 index 4cdaa53..0000000 --- a/Godeps/Readme +++ /dev/null @@ -1,5 +0,0 @@ -This directory tree is generated automatically by godep. - -Please do not edit. - -See https://github.com/tools/godep for more information. diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..cae15f6 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,114 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + digest = "1:db2d1318c12a5e0df8a212bf3448f507075479fccad35dd14d4cfa50e2f4f599" + name = "github.com/Luzifer/go_helpers" + packages = [ + "str", + "which", + ] + pruneopts = "UT" + revision = "6abbbafaada02b63dd8f9e185921fd8b3c35b6c2" + version = "v1.3.0" + +[[projects]] + digest = "1:eb4501e44a0a8035e18fc922d237c7a1535f58c0a78ec2c9eb0a458a1a0379fa" + name = "github.com/Luzifer/rconfig" + packages = ["."] + pruneopts = "UT" + revision = "26776536e61487fdffbd3ce87f827177a5903f98" + +[[projects]] + digest = "1:edc30b45e5ffe48e6405aaad2542011346c541a598d48ba67a275f73692f15bf" + name = "github.com/asaskevich/govalidator" + packages = ["."] + pruneopts = "UT" + revision = "df81827fdd59d8b4fb93d8910b286ab7a3919520" + +[[projects]] + digest = "1:f048897d11e3e08c3ef8b257688e4dd44207ef16f10a9061bb39a5498b3d7d89" + name = "github.com/mitchellh/go-homedir" + packages = ["."] + pruneopts = "UT" + revision = "981ab348d865cf048eb7d17e78ac7192632d8415" + +[[projects]] + digest = "1:61115f0d16dc54abaaacce64409a63f1745bf07d099f5c9d79ebdf247b460847" + name = "github.com/nightlyone/lockfile" + packages = ["."] + pruneopts = "UT" + revision = "b30dcbfa86e3a1eaa4e6622de2ce57be2c138c10" + +[[projects]] + digest = "1:3725923e811d894e732664790100e0bdf58fc6bd67209103f685d2fc7a78b8df" + name = "github.com/onsi/ginkgo" + packages = [ + ".", + "config", + "internal/codelocation", + "internal/containernode", + "internal/failer", + "internal/leafnodes", + "internal/remote", + "internal/spec", + "internal/specrunner", + "internal/suite", + "internal/testingtproxy", + "internal/writer", + "reporters", + "reporters/stenographer", + "types", + ] + pruneopts = "UT" + revision = "1b59c57df76ede42c08590546916e6a18685857d" + +[[projects]] + digest = "1:4560887a9c590c4141776e84258f10b99094580f629de5437a619dea8a9ebd04" + name = "github.com/onsi/gomega" + packages = [ + ".", + "format", + "internal/assertion", + "internal/asyncassertion", + "internal/testingtsupport", + "matchers", + "matchers/support/goraph/bipartitegraph", + "matchers/support/goraph/edge", + "matchers/support/goraph/node", + "matchers/support/goraph/util", + "types", + ] + pruneopts = "UT" + revision = "6331bf5a5b5e7a832348789eb3cedff7a6917103" + +[[projects]] + digest = "1:3bfae3cafaa74e12f74f2d1c648a74fba3ca0764d566cef503072e68b927c642" + name = "github.com/spf13/pflag" + packages = ["."] + pruneopts = "UT" + revision = "b084184666e02084b8ccb9b704bf0d79c466eb1d" + +[[projects]] + digest = "1:c27797c5f42d349e2a604510822df7d037415aae58bf1e6fd35624eda757c0aa" + name = "gopkg.in/yaml.v2" + packages = ["."] + pruneopts = "UT" + revision = "53feefa2559fb8dfa8d81baad31be332c97d6c77" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + input-imports = [ + "github.com/Luzifer/go_helpers/str", + "github.com/Luzifer/go_helpers/which", + "github.com/Luzifer/rconfig", + "github.com/asaskevich/govalidator", + "github.com/mitchellh/go-homedir", + "github.com/nightlyone/lockfile", + "github.com/onsi/ginkgo", + "github.com/onsi/gomega", + "gopkg.in/yaml.v2", + ] + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..81613c6 --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,34 @@ +# Gopkg.toml example +# +# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html +# 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 + + +[[constraint]] + name = "github.com/Luzifer/go_helpers" + version = "1.3.0" + +[prune] + go-tests = true + unused-packages = true