diff --git a/Gopkg.lock b/Gopkg.lock index 021b73e27..922c164f5 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -11,13 +11,13 @@ branch = "master" name = "github.com/golang/protobuf" packages = ["proto"] - revision = "2bba0603135d7d7f5cb73b2125beeda19c09f4ef" + revision = "5a0f697c9ed9d68fef0116532c6e05cfeae00e55" [[projects]] branch = "master" name = "github.com/google/go-github" packages = ["github"] - revision = "de33c46a823d3f723514fc5333b75ef2e937b7df" + revision = "ebfec748347a9af6793c723f8859afcd906860fb" [[projects]] branch = "master" @@ -34,7 +34,7 @@ [[projects]] name = "github.com/pmezard/go-difflib" packages = ["difflib"] - revision = "c0b812dadcf4498dede02bb7f0c5c478be997e34" + revision = "792786c7400a136282c1664665ae0a8db921c6c2" version = "v1.0.0" [[projects]] @@ -53,19 +53,19 @@ branch = "master" name = "golang.org/x/net" packages = ["context"] - revision = "ffcf1bedda3b04ebb15a168a59800a73d6dc0f4d" + revision = "3da985ce5951d99de868be4385f21ea6c2b22f24" [[projects]] branch = "master" name = "golang.org/x/oauth2" packages = [".","internal"] - revision = "a6bd8cefa1811bd24b86f8902872e4e8225f74c4" + revision = "f047394b6d14284165300fd82dad67edb3a4d7f6" [[projects]] branch = "master" name = "golang.org/x/sync" packages = ["errgroup"] - revision = "5a06fca2c336a4b2b2fcb45702e8c47621b2aa2c" + revision = "57af736625aaa69dfa099432bb67e0808eef3bcc" [[projects]] name = "google.golang.org/appengine" @@ -82,6 +82,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "1af1153c76a6d4ed58aa403235aebae50190a1b0495157072e6ba1daac077052" + inputs-digest = "612a8c73aafb0d235fb9758a889e7a2fee0e0155d4c70cec64d544b62f329cdd" solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index b0bb335d2..35df344ff 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -1,6 +1,13 @@ ## Gopkg.toml example (these lines may be deleted) +## "metadata" defines metadata about the project that could be used by other independent +## systems. The metadata defined here will be ignored by dep. +# [metadata] +# key1 = "value that convey data to other systems" +# system1-data = "value that is used by a system" +# system2-data = "value that is used by another system" + ## "required" lists a set of packages (not projects) that must be included in ## Gopkg.lock. This list is merged with the set of packages imported by the current ## project. Use it when your project needs a package it doesn't explicitly import - @@ -12,9 +19,10 @@ ## or in a dependency. # ignored = ["github.com/user/project/badpkg"] -## Dependencies define constraints on dependent projects. They are respected by +## Constraints are rules for how directly imported projects +## may be incorporated into the depgraph. They are respected by ## dep whether coming from the Gopkg.toml of the current project or a dependency. -# [[dependencies]] +# [[constraint]] ## Required: the root import path of the project being constrained. # name = "github.com/user/project" # @@ -26,18 +34,25 @@ # ## Optional: an alternate location (URL or import path) for the project's source. # source = "https://github.com/myfork/package.git" +# +## "metadata" defines metadata about the dependency or override that could be used +## by other independent systems. The metadata defined here will be ignored by dep. +# [metadata] +# key1 = "value that convey data to other systems" +# system1-data = "value that is used by a system" +# system2-data = "value that is used by another system" -## Overrides have the same structure as [[dependencies]], but supercede all -## [[dependencies]] declarations from all projects. Only the current project's -## [[overrides]] are applied. +## Overrides have the same structure as [[constraint]], but supersede all +## [[constraint]] declarations from all projects. Only [[override]] from +## the current project's are applied. ## ## Overrides are a sledgehammer. Use them only as a last resort. -# [[overrides]] +# [[override]] ## Required: the root import path of the project being constrained. # name = "github.com/user/project" # ## Optional: specifying a version constraint override will cause all other -## constraints on this project to be ignored; only the overriden constraint +## constraints on this project to be ignored; only the overridden constraint ## need be satisfied. ## Again, only one of "branch", "version" or "revision" can be specified. # version = "1.0.0" @@ -51,18 +66,34 @@ -[[dependencies]] +[[constraint]] + branch = "master" + name = "github.com/google/go-github" + +[[constraint]] + branch = "master" + name = "github.com/mattn/go-zglob" + +[[constraint]] name = "github.com/stretchr/testify" - version = "^1.1.4" + version = "1.1.4" -[[dependencies]] +[[constraint]] name = "github.com/urfave/cli" - version = "^1.19.1" + version = "1.19.1" -[[dependencies]] +[[constraint]] + branch = "master" + name = "golang.org/x/net" + +[[constraint]] + branch = "master" + name = "golang.org/x/oauth2" + +[[constraint]] branch = "master" name = "golang.org/x/sync" -[[dependencies]] +[[constraint]] branch = "v1" name = "gopkg.in/yaml.v1"