-
Notifications
You must be signed in to change notification settings - Fork 288
Support Go Modules (add go.mod file) #382
Comments
Why not support go module? |
I'm just starting to look at Jaeger and use go mod in all my services. It would be great to see this.
IMHO anything that is controlled by the jaeger team should be updated to support go mod, it makes sense to me that the packages imported into other packages are done first ( |
For the time being, we need to keep Gopkg.toml, so if we add support for go mod, we need to manually keep it in sync w/ Gopkg.toml and add a new build to the Travis matrix. |
|
See golang/go#34165 (comment) for an authoritative comment:
|
@andig we've already established that we would need a major version, not because it's a "significant change", but because it also requires rewriting the paths of sub-packages to .../v2 |
so what the next ? |
Any update? |
hello? Any update? |
Still not making any progress? |
I have opened a PR, which adds go module functionality |
Requirement - what kind of business use case are you trying to solve?
Would like to be able to reliably build binaries that use release versions of
jaeger-client-go
when Go modules are enabled.Problem - what in Jaeger blocks you from solving the requirement?
The lack of a
go.mod
file results in fetching the latest version of dependencies. Because module-aware Go commands use the newest tagged versions,jaeger-client-go
v2.15.0
is chosen and in at least one case (jaeger-lib
; see #363 for details) the latest version (v2.0.0
) is incompatible and results in a broken build.Proposal - what do you suggest to solve the problem or improve the existing situation?
Add a
go.mod
file to thejaeger-client-go
repository that lists a working set of dependencies and release a new version.Note that
jaeger-lib v2.0.0
is in fact compatible with the latestmaster
ofjaeger-client-go
, so it wouldn't be necessary to pin an older version of anything.Any open questions to address
go.mod
, what needs to be considered/verified/implemented to support Go modules?jaeger-lib
become module-aware too? Shouldjaeger-lib
become module aware first?go.mod
file necessitate a major version bump, or would a minor version bump suffice?The text was updated successfully, but these errors were encountered: