Skip to content
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

Move jaeger code base to go modules #1546

Closed
wants to merge 11 commits into from

Conversation

freeformz
Copy link

@freeformz freeformz commented May 16, 2019

Resolves #2019

Which problem is this PR solving?

Move the jaeger code base to use Go Modules for dependency management.

Short description of the changes

Replace glide with go modules. Record tooling versions in tools.go, adjust Makefile and other build tooling to use go modules.

freeformz added 10 commits May 16, 2019 10:57
Step 1 in moving to modules

Signed-off-by: Edward Muller <freeformz@gmail.com>
Adjust instructions for people/travis on how to use the code base now
that it's using modules.

Signed-off-by: Edward Muller <freeformz@gmail.com>
Replaces `dep ensure -vendor-only` with it's spiritual successor:
`go mod vendor`

Signed-off-by: Edward Muller <freeformz@gmail.com>
md-to-godoc relies on this version and newer versions of blackfriday
are incompatible.

Signed-off-by: Edward Muller <freeformz@gmail.com>
I don't see a reason to use vendor (in this case) with go modules.

Signed-off-by: Edward Muller <freeformz@gmail.com>
Signed-off-by: Edward Muller <freeformz@gmail.com>
Signed-off-by: Edward Muller <freeformz@gmail.com>
Signed-off-by: Edward Muller <freeformz@gmail.com>
Signed-off-by: Edward Muller <freeformz@gmail.com>
Downgrade github.com/hashicorp/go-hclog to v0.8.0 to match current
Gopkg.toml.

Slight upgrade to honnef.co/go/tools to match Gopkg.toml.
@yurishkuro
Copy link
Member

yurishkuro commented May 17, 2019

We're not ready to switch to go mod because there are users (including Uber) who import this repo as lib using dep, and dep won't be able to pick the correct versions of transitive dependencies.

We could go to dual mode, similar to how in the past we supported both glide and dep simultaneously, for a period of time. If we do that, we'd need the CI to do a build with both tools.

@freeformz
Copy link
Author

Do you know what time scale Uber has to move things that rely on jaeger to go modules? If they're all public I'd be happy to do the work to move them to go modules as well.

@yurishkuro
Copy link
Member

I know the work on supporting modules has started, but don't know the ETA. I'd guess closer to the end of the year. It's internal to Uber.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to go mod
2 participants