You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
I have a project with github.com/google/openrtb as a dependency and I'm using go generate to generate go code from the protobuf files. I was wondering what's the best solution to handle these kind of dependencies with dep?
Here is the output I receive:
dep ensure github.com/google/openrtb
ensure Solve(): No versions of github.com/google/openrtb met constraints:
1.4.1: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.4.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.3.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.2.2: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.2.1: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.2.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.1.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.0.5: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.0.4: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.0.3: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.0.2: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.0.1: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
1.0.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.8: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.7: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.6: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.5: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.4: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.3: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.2: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.1: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.9.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.6: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.5: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.4: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.3: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.2: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.1: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.7.3: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.7.2: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.7.1: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.7.0: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.6.6: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.6.5: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.6.4: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.6.3: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.6.2: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.6.1: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.6: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.0-beta4: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.0-beta3: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.0-beta2: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
0.8.0-beta: Could not introduce github.com/google/[email protected], as its subpackage github.com/google/openrtb/openrtb-core/src/main/protobuf does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
master: Could not introduce github.com/google/openrtb@master, as it is not allowed by constraint * from project districtm.ca/go-data/testrand.
compat: Could not introduce github.com/google/openrtb@compat, as it is not allowed by constraint * from project districtm.ca/go-data/testrand.
1.0.4.compat: Could not introduce github.com/google/[email protected], as it is not allowed by constraint * from project districtm.ca/go-data/testrand.
1.0.5.compat: Could not introduce github.com/google/[email protected], as it is not allowed by constraint * from project districtm.ca/go-data/testrand.
1.1.0.compat: Could not introduce github.com/google/[email protected], as it is not allowed by constraint * from project districtm.ca/go-data/testrand.
Thank you.
The text was updated successfully, but these errors were encountered:
so, code generation is one of the stickier areas with dep. we don't support any kind of arbitrary code evaluation; the closest thing to a discussion of it has been in #269, pursuant to cgo. for code generation, at least, this is in keeping with how the Go team originally outlined the ideas behind e.g. go generate - that's something that the publisher is supposed to do, not the consumer.
for this particular case, i'd probably take the approach of creating a repository that's derived from github.com/google/openrtb by creating some automation that go generates the protobuf you need, commits and pushes the results.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have a project with github.com/google/openrtb as a dependency and I'm using
go generate
to generate go code from the protobuf files. I was wondering what's the best solution to handle these kind of dependencies with dep?Here is the output I receive:
Thank you.
The text was updated successfully, but these errors were encountered: