From ffa65b0c68f64a6f31c2183ebf193d9e8bd55a3f Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 2 Jul 2018 16:52:52 +0200 Subject: [PATCH] Switch to dep for vendoring Signed-off-by: Knut Ahlers --- Godeps/Godeps.json | 24 ------------------------ Godeps/Readme | 5 ----- Gopkg.lock | 30 ++++++++++++++++++++++++++++++ Gopkg.toml | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 64 insertions(+), 29 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 48b2672..0000000 --- a/Godeps/Godeps.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "ImportPath": "github.com/Luzifer/git-changerelease", - "GoVersion": "go1.6", - "GodepVersion": "v74", - "Deps": [ - { - "ImportPath": "github.com/Luzifer/rconfig", - "Comment": "v1.1.0", - "Rev": "c27bd3a64b5b19556914d9fec69922cf3852d585" - }, - { - "ImportPath": "github.com/mitchellh/go-homedir", - "Rev": "981ab348d865cf048eb7d17e78ac7192632d8415" - }, - { - "ImportPath": "github.com/spf13/pflag", - "Rev": "367864438f1b1a3c7db4da06a2f55b144e6784e0" - }, - { - "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..a814d27 --- /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/rconfig" + packages = ["."] + revision = "c27bd3a64b5b19556914d9fec69922cf3852d585" + version = "v1.1.0" + +[[projects]] + name = "github.com/mitchellh/go-homedir" + packages = ["."] + revision = "981ab348d865cf048eb7d17e78ac7192632d8415" + +[[projects]] + name = "github.com/spf13/pflag" + packages = ["."] + revision = "367864438f1b1a3c7db4da06a2f55b144e6784e0" + +[[projects]] + name = "gopkg.in/yaml.v2" + packages = ["."] + revision = "53feefa2559fb8dfa8d81baad31be332c97d6c77" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "e8701ef21ee7c5adc8bb62ed12a2337dcc6b9f9d9010b0a370d840f140cfc042" + 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