From 97ec1824e9c0f664e7fd6f5b99799b2d6ad51b3b Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 1 Jun 2018 17:26:23 +0200 Subject: [PATCH] Migrate to `dep` for vendoring Signed-off-by: Knut Ahlers --- Godeps/Godeps.json | 24 ------------- Godeps/Readme | 5 --- Gopkg.lock | 30 ++++++++++++++++ Gopkg.toml | 34 +++++++++++++++++++ .../github.com/Luzifer/go-openssl/openssl.go | 2 +- 5 files changed, 65 insertions(+), 30 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 b4f9bbf..0000000 --- a/Godeps/Godeps.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "ImportPath": "github.com/Luzifer/envrun", - "GoVersion": "go1.8", - "GodepVersion": "v79", - "Deps": [ - { - "ImportPath": "github.com/Luzifer/go-openssl", - "Rev": "52f8120aba0f1e3a9685a17d916f4b4c917654a2" - }, - { - "ImportPath": "github.com/Luzifer/rconfig", - "Comment": "v1.1.0", - "Rev": "c27bd3a64b5b19556914d9fec69922cf3852d585" - }, - { - "ImportPath": "github.com/spf13/pflag", - "Rev": "c7e63cf4530bcd3ba943729cee0efeff2ebea63f" - }, - { - "ImportPath": "gopkg.in/yaml.v2", - "Rev": "31c299268d302dd0aa9a0dcf765a3d58971ac83f" - } - ] -} 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..581e428 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,30 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + name = "github.com/Luzifer/go-openssl" + packages = ["."] + revision = "52f8120aba0f1e3a9685a17d916f4b4c917654a2" + +[[projects]] + name = "github.com/Luzifer/rconfig" + packages = ["."] + revision = "c27bd3a64b5b19556914d9fec69922cf3852d585" + version = "v1.1.0" + +[[projects]] + name = "github.com/spf13/pflag" + packages = ["."] + revision = "c7e63cf4530bcd3ba943729cee0efeff2ebea63f" + +[[projects]] + name = "gopkg.in/yaml.v2" + packages = ["."] + revision = "31c299268d302dd0aa9a0dcf765a3d58971ac83f" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "5234b38d31bcdd21e886f82208917923e1817c874e6928cdce2ce2f383722c5f" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..ec20120 --- /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/rconfig" + version = "1.1.0" + +[prune] + go-tests = true + unused-packages = true diff --git a/vendor/github.com/Luzifer/go-openssl/openssl.go b/vendor/github.com/Luzifer/go-openssl/openssl.go index 0a3d0e3..bdacae6 100644 --- a/vendor/github.com/Luzifer/go-openssl/openssl.go +++ b/vendor/github.com/Luzifer/go-openssl/openssl.go @@ -1,4 +1,4 @@ -package openssl +package openssl // import "github.com/Luzifer/go-openssl" import ( "bytes"