-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from Glide to Dep #483
Comments
I haven't used Dep yet, but if the UX of Dep is better than glide I don't see a reason not to. |
I can work on this. I just finished migrating to |
I prefer not to rush to Once Jaeger dependencies start switching to |
I disagree, I find
Do you have evidence for this claim? The glide documentation does not say that all dependencies need to be using glide. (If they are, glide reads the project's
|
You said it yourself, "if it isn't, it just scans imports" - that means no semver versioning or even pinned dependencies like the gocql driver. |
Yuri - I started using Glide and have switched to Dep because it has momentum behind it. Both work well and I agree no need to rush. I think your view that you can't have pinned dependencies is incorrect. The # 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]]
name = "github.com/dstroot/utility"
version = "1.1.0"
[[constraint]]
name = "github.com/julienschmidt/httprouter"
version = "1.1.0"
[[constraint]]
branch = "master"
name = "github.com/oxtoacart/bpool"
[[constraint]]
name = "github.com/pkg/errors"
version = "0.8.0"
[[constraint]]
name = "github.com/prometheus/client_golang"
version = "0.8.0"
[[constraint]]
name = "github.com/urfave/negroni"
version = "0.3.0" |
I meant that you cannot have pinned transitive dependencies. For example, this depedency chain: Again, I am not saying that we should not switch to |
Is there any advice on how to use jaeger with a dep project. Get a bunch of these kinds of errors
|
I have switched the tutorial to |
This has been completed, right? |
Solved by #1240 |
Is there any plan to switch Go dependency management tool from Glide to Dep?
Dep announced that it is safe for production use. see https://github.com/golang/dep#current-status
And the Glide project is suggesting users consider trying to migrate from Glide to dep. see https://github.com/Masterminds/glide#golang-dep
The text was updated successfully, but these errors were encountered: