From bf511ae4dba83a0043463d26236e8d2673abc810 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 27 Aug 2017 15:52:55 +0200 Subject: [PATCH] Add dep dependency management This commit introduces dependency management using https://github.com/golang/dep to make builds reproducible. --- .gitignore | 1 + Gopkg.lock | 141 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Gopkg.toml | 54 ++++++++++++++++++++ 3 files changed, 196 insertions(+) create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml diff --git a/.gitignore b/.gitignore index 5f67428..88d5531 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ .idea/ cacert-boardvoting config.yaml +vendor/ diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..87cf405 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,141 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + branch = "master" + name = "bitbucket.org/liamstask/goose" + packages = ["lib/goose"] + revision = "8488cc47d90c8a502b1c41a462a6d9cc8ee0a895" + +[[projects]] + name = "github.com/Masterminds/semver" + packages = ["."] + revision = "517734cc7d6470c0d07130e40fd40bdeb9bcd3fd" + version = "v1.3.1" + +[[projects]] + name = "github.com/Masterminds/sprig" + packages = ["."] + revision = "9526be0327b26ad31aa70296a7b10704883976d5" + version = "2.12.0" + +[[projects]] + name = "github.com/aokoli/goutils" + packages = ["."] + revision = "3391d3790d23d03408670993e957e8f408993c34" + version = "v1.0.1" + +[[projects]] + name = "github.com/go-sql-driver/mysql" + packages = ["."] + revision = "a0583e0143b1624142adab07e0e97fe106d99561" + version = "v1.3" + +[[projects]] + name = "github.com/gorilla/context" + packages = ["."] + revision = "1ea25387ff6f684839d82767c1733ff4d4d15d0a" + version = "v1.1" + +[[projects]] + name = "github.com/gorilla/securecookie" + packages = ["."] + revision = "667fe4e3466a040b780561fe9b51a83a3753eefc" + version = "v1.1" + +[[projects]] + name = "github.com/gorilla/sessions" + packages = ["."] + revision = "ca9ada44574153444b00d3fd9c8559e4cc95f896" + version = "v1.1" + +[[projects]] + branch = "master" + name = "github.com/huandu/xstrings" + packages = ["."] + revision = "3959339b333561bf62a38b424fd41517c2c90f40" + +[[projects]] + name = "github.com/imdario/mergo" + packages = ["."] + revision = "3e95a51e0639b4cf372f2ccf74c86749d747fbdc" + version = "0.2.2" + +[[projects]] + branch = "master" + name = "github.com/jmoiron/sqlx" + packages = [".","reflectx"] + revision = "d9bd385d68c068f1fabb5057e3dedcbcbb039d0f" + +[[projects]] + branch = "master" + name = "github.com/kylelemons/go-gypsy" + packages = ["yaml"] + revision = "08cad365cd28a7fba23bb1e57aa43c5e18ad8bb8" + +[[projects]] + branch = "master" + name = "github.com/lib/pq" + packages = [".","oid"] + revision = "e42267488fe361b9dc034be7a6bffef5b195bceb" + +[[projects]] + name = "github.com/mattn/go-sqlite3" + packages = ["."] + revision = "ca5e3819723d8eeaf170ad510e7da1d6d2e94a08" + version = "v1.2.0" + +[[projects]] + name = "github.com/op/go-logging" + packages = ["."] + revision = "b2cb9fa56473e98db8caba80237377e83fe44db5" + version = "v1" + +[[projects]] + name = "github.com/satori/go.uuid" + packages = ["."] + revision = "879c5887cd475cd7864858769793b2ceb0d44feb" + version = "v1.1.0" + +[[projects]] + name = "github.com/ziutek/mymysql" + packages = ["godrv","mysql","native"] + revision = "e08c2f35356576b3c3690c252fe5dca728ae9292" + version = "v1.5.4" + +[[projects]] + branch = "master" + name = "golang.org/x/crypto" + packages = ["pbkdf2","scrypt"] + revision = "81e90905daefcd6fd217b62423c0908922eadb30" + +[[projects]] + branch = "master" + name = "golang.org/x/net" + packages = ["context"] + revision = "57efc9c3d9f91fb3277f8da1cff370539c4d3dc5" + +[[projects]] + branch = "v3" + name = "gopkg.in/alexcesaro/quotedprintable.v3" + packages = ["."] + revision = "2caba252f4dc53eaf6b553000885530023f54623" + +[[projects]] + name = "gopkg.in/gomail.v2" + packages = ["."] + revision = "41f3572897373c5538c50a2402db15db079fa4fd" + version = "2.0.0" + +[[projects]] + branch = "v2" + name = "gopkg.in/yaml.v2" + packages = ["."] + revision = "eb3733d160e74a9c7e442f435eb3bea458e1d19f" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "9d2b82c5d23650eb62410786c7b529264a0d15172734bbef3ffb1c8a4ac4880f" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..e5808d5 --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,54 @@ + +# 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" + + +[[constraint]] + branch = "master" + name = "bitbucket.org/liamstask/goose" + +[[constraint]] + name = "github.com/Masterminds/sprig" + version = "2.12.0" + +[[constraint]] + name = "github.com/gorilla/sessions" + version = "1.1.0" + +[[constraint]] + branch = "master" + name = "github.com/jmoiron/sqlx" + +[[constraint]] + name = "github.com/mattn/go-sqlite3" + version = "1.2.0" + +[[constraint]] + name = "github.com/op/go-logging" + version = "1.0.0" + +[[constraint]] + name = "gopkg.in/gomail.v2" + version = "2.0.0" + +[[constraint]] + branch = "v2" + name = "gopkg.in/yaml.v2"