|
@@ -19,9 +19,10 @@
|
|
## or in a dependency.
|
|
## or in a dependency.
|
|
# ignored = ["github.com/user/project/badpkg"]
|
|
# 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.
|
|
## 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.
|
|
## Required: the root import path of the project being constrained.
|
|
# name = "github.com/user/project"
|
|
# name = "github.com/user/project"
|
|
#
|
|
#
|
|
@@ -41,12 +42,12 @@
|
|
# system1-data = "value that is used by a system"
|
|
# system1-data = "value that is used by a system"
|
|
# system2-data = "value that is used by another system"
|
|
# system2-data = "value that is used by another system"
|
|
|
|
|
|
-## Overrides have the same structure as [[dependencies]], but supersede 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 are a sledgehammer. Use them only as a last resort.
|
|
-# [[overrides]]
|
|
|
|
|
|
+# [[override]]
|
|
## Required: the root import path of the project being constrained.
|
|
## Required: the root import path of the project being constrained.
|
|
# name = "github.com/user/project"
|
|
# name = "github.com/user/project"
|
|
#
|
|
#
|
|
@@ -65,54 +66,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "github.com/golang/geo"
|
|
name = "github.com/golang/geo"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "github.com/hpcloud/tail"
|
|
name = "github.com/hpcloud/tail"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "github.com/influxdata/influxdb"
|
|
name = "github.com/influxdata/influxdb"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "github.com/kr/pretty"
|
|
name = "github.com/kr/pretty"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "github.com/miekg/dns"
|
|
name = "github.com/miekg/dns"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "github.com/oschwald/geoip2-golang"
|
|
name = "github.com/oschwald/geoip2-golang"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
name = "github.com/pmezard/go-difflib"
|
|
name = "github.com/pmezard/go-difflib"
|
|
- version = "^1.0.0"
|
|
|
|
|
|
+ version = "1.0.0"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "github.com/stretchr/testify"
|
|
name = "github.com/stretchr/testify"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "golang.org/x/net"
|
|
name = "golang.org/x/net"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "gopkg.in/fsnotify.v1"
|
|
name = "gopkg.in/fsnotify.v1"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "master"
|
|
branch = "master"
|
|
name = "gopkg.in/gcfg.v1"
|
|
name = "gopkg.in/gcfg.v1"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "v2.0"
|
|
branch = "v2.0"
|
|
name = "gopkg.in/natefinch/lumberjack.v2"
|
|
name = "gopkg.in/natefinch/lumberjack.v2"
|
|
|
|
|
|
-[[dependencies]]
|
|
|
|
|
|
+[[constraint]]
|
|
branch = "v1"
|
|
branch = "v1"
|
|
name = "gopkg.in/tomb.v1"
|
|
name = "gopkg.in/tomb.v1"
|