Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Publish explicit dependency version requirements #684

Closed
johanbrandhorst opened this issue Apr 6, 2018 · 1 comment
Closed

Publish explicit dependency version requirements #684

johanbrandhorst opened this issue Apr 6, 2018 · 1 comment

Comments

@johanbrandhorst
Copy link
Contributor

johanbrandhorst commented Apr 6, 2018

Using OpenCensus for Go with gRPC depends on recent versions of gRPC-Go. However, this dependency is never made explicit anywhere (such as a Gopkg.toml or go.mod file). I understand this is a bit in flux at the moment with the vgo proposal, but I think we should discuss how we make these version dependencies explicit, so I'm opening this issue for the purposes of that discussion.

Personally, I would welcome simply defining a Gopkg.toml and generate a Gopkg.lock and check those in right now. It would help users of golang/dep to get started with OpenCensus, and we could also include a fix for #675 in the dependency declaration.

Later on, as vgo is merged into the standard tool, we can move to defining a go.mod file.

@johanbrandhorst johanbrandhorst changed the title Explicit dependency version requirements Publish explicit dependency version requirements Apr 6, 2018
@rakyll
Copy link
Contributor

rakyll commented Apr 6, 2018

I am happy with this approach as long as we don't vendor library dependencies.

/cc @odeke-em @Ramonza for input.

johanbrandhorst added a commit to johanbrandhorst/opencensus-go that referenced this issue Apr 13, 2018
Adds Gopkg.toml and Gopkg.lock with initial dependency
versions. Includes workaround for Apache Thrift repo migration.

Fixes census-instrumentation#684.
johanbrandhorst added a commit to johanbrandhorst/opencensus-go that referenced this issue Apr 16, 2018
Adds Gopkg.toml and Gopkg.lock with initial dependency
versions. Includes workaround for Apache Thrift repo migration.
Ignores the vendor folder and adds a travis test to ensure dependency
version updates don't break the build.

Fixes census-instrumentation#684.
johanbrandhorst added a commit to johanbrandhorst/opencensus-go that referenced this issue Apr 16, 2018
Adds Gopkg.toml and Gopkg.lock with initial dependency
versions. Includes workaround for Apache Thrift repo migration.
Ignores the vendor folder and adds a travis test to ensure dependency
version updates don't break the build.

Fixes census-instrumentation#684.
johanbrandhorst added a commit to johanbrandhorst/opencensus-go that referenced this issue Apr 16, 2018
Adds Gopkg.toml and Gopkg.lock with initial dependency
versions. Includes workaround for Apache Thrift repo migration.
Ignores the vendor folder and adds a travis test to ensure dependency
version updates don't break the build.

Fixes census-instrumentation#684.
johanbrandhorst added a commit to johanbrandhorst/opencensus-go that referenced this issue Apr 16, 2018
Adds Gopkg.toml and Gopkg.lock with initial dependency
versions. Includes workaround for Apache Thrift repo migration.
Ignores the vendor folder and adds a travis test to ensure dependency
version updates don't break the build.

Fixes census-instrumentation#684.
rakyll pushed a commit that referenced this issue Apr 16, 2018
Adds Gopkg.toml and Gopkg.lock with initial dependency
versions. Includes workaround for Apache Thrift repo migration.
Ignores the vendor folder and adds a travis test to ensure dependency
version updates don't break the build.

Fixes #684.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants